pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/py-asciinema py-asciinema: Fix installation and A...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f55d497227d2
branches:  trunk
changeset: 318617:f55d497227d2
user:      leot <leot%pkgsrc.org@localhost>
date:      Sun Jan 27 10:37:33 2019 +0000

description:
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

diffstat:

 misc/py-asciinema/ALTERNATIVES |  1 -
 misc/py-asciinema/Makefile     |  6 ++++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 6d411c69eab4 -r f55d497227d2 misc/py-asciinema/ALTERNATIVES
--- a/misc/py-asciinema/ALTERNATIVES    Sun Jan 27 10:08:02 2019 +0000
+++ b/misc/py-asciinema/ALTERNATIVES    Sun Jan 27 10:37:33 2019 +0000
@@ -1,2 +1,1 @@
 bin/asciinema @PREFIX@/bin/asciinema-@PYVERSSUFFIX@
-man/man1/asciinema.1 @PREFIX@/@PKGMANDIR@/man/asciinema-@PYVERSSUFFIX@.1
diff -r 6d411c69eab4 -r f55d497227d2 misc/py-asciinema/Makefile
--- a/misc/py-asciinema/Makefile        Sun Jan 27 10:08:02 2019 +0000
+++ b/misc/py-asciinema/Makefile        Sun Jan 27 10:37:33 2019 +0000
@@ -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 @@
 
 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