pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/py-asciinema



Module Name:    pkgsrc
Committed By:   leot
Date:           Sun Jan 27 10:37:33 UTC 2019

Modified Files:
        pkgsrc/misc/py-asciinema: ALTERNATIVES Makefile

Log Message:
py-asciinema: Fix installation and ALTERNATIVES

- Add to the man page the versioned suffix (previously it was not added leading
  to an accidental PLIST mismatch and installation failure)
- ALTERNATIVES/pkg_alternatives(8) generate wrappers for executables/scripts,
  remove the man page entry in it


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/py-asciinema/ALTERNATIVES \
    pkgsrc/misc/py-asciinema/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/py-asciinema/ALTERNATIVES
diff -u pkgsrc/misc/py-asciinema/ALTERNATIVES:1.2 pkgsrc/misc/py-asciinema/ALTERNATIVES:1.3
--- pkgsrc/misc/py-asciinema/ALTERNATIVES:1.2   Fri Jan 18 08:56:41 2019
+++ pkgsrc/misc/py-asciinema/ALTERNATIVES       Sun Jan 27 10:37:33 2019
@@ -1,2 +1 @@
 bin/asciinema @PREFIX@/bin/asciinema-@PYVERSSUFFIX@
-man/man1/asciinema.1 @PREFIX@/@PKGMANDIR@/man/asciinema-@PYVERSSUFFIX@.1
Index: pkgsrc/misc/py-asciinema/Makefile
diff -u pkgsrc/misc/py-asciinema/Makefile:1.2 pkgsrc/misc/py-asciinema/Makefile:1.3
--- pkgsrc/misc/py-asciinema/Makefile:1.2       Fri Jan 18 08:56:41 2019
+++ pkgsrc/misc/py-asciinema/Makefile   Sun Jan 27 10:37:33 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/01/18 08:56:41 adam Exp $
+# $NetBSD: Makefile,v 1.3 2019/01/27 10:37:33 leot Exp $
 
 DISTNAME=      asciinema-2.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -23,7 +23,9 @@ SUBST_SED.fix-path+=  -e 's,share/man/man
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} asciinema asciinema-${PYVERSSUFFIX} || ${TRUE}
+          ${MV} asciinema asciinema-${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
+          ${MV} asciinema.1 asciinema-${PYVERSSUFFIX}.1 || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index