pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-livereload py-livereload: fix binary name, use ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d3640b855e63
branches: trunk
changeset: 312296:d3640b855e63
user: adam <adam%pkgsrc.org@localhost>
date: Fri Aug 31 10:02:00 2018 +0000
description:
py-livereload: fix binary name, use ALTERNATIVES
diffstat:
www/py-livereload/ALTERNATIVES | 1 +
www/py-livereload/Makefile | 6 +++++-
www/py-livereload/PLIST | 4 ++--
3 files changed, 8 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r ba00084aa6f0 -r d3640b855e63 www/py-livereload/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-livereload/ALTERNATIVES Fri Aug 31 10:02:00 2018 +0000
@@ -0,0 +1,1 @@
+bin/livereload @PREFIX@/bin/livereload-@PYVERSSUFFIX@
diff -r ba00084aa6f0 -r d3640b855e63 www/py-livereload/Makefile
--- a/www/py-livereload/Makefile Fri Aug 31 09:51:06 2018 +0000
+++ b/www/py-livereload/Makefile Fri Aug 31 10:02:00 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/08/31 09:20:31 adam Exp $
+# $NetBSD: Makefile,v 1.4 2018/08/31 10:02:00 adam Exp $
DISTNAME= livereload-2.5.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -15,5 +15,9 @@
USE_LANGUAGES= # none
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} livereload livereload-${PYVERSSUFFIX} || ${TRUE}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r ba00084aa6f0 -r d3640b855e63 www/py-livereload/PLIST
--- a/www/py-livereload/PLIST Fri Aug 31 09:51:06 2018 +0000
+++ b/www/py-livereload/PLIST Fri Aug 31 10:02:00 2018 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2018/08/31 09:20:31 adam Exp $
-bin/livereload
+@comment $NetBSD: PLIST,v 1.3 2018/08/31 10:02:00 adam Exp $
+bin/livereload-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
Home |
Main Index |
Thread Index |
Old Index