summaryrefslogtreecommitdiff
path: root/devel/py-py2app
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-02-10 00:20:27 +0000
committerrodent <rodent@pkgsrc.org>2014-02-10 00:20:27 +0000
commit11a57757a8e3779211d98c3c2e7b0842efb8e499 (patch)
treed2d9af82bdfc03f699d490a035c2c5494a5939b1 /devel/py-py2app
parentd356e4a7b9949b405713795ed90a052a554f0072 (diff)
downloadpkgsrc-11a57757a8e3779211d98c3c2e7b0842efb8e499.tar.gz
Move bin/* to bin/*${PYVERSSUFFIX} in post-install, to allow parallel
installation of this package for different python versions. Bump PKGREVISION.
Diffstat (limited to 'devel/py-py2app')
-rw-r--r--devel/py-py2app/Makefile9
-rw-r--r--devel/py-py2app/PLIST4
2 files changed, 10 insertions, 3 deletions
diff --git a/devel/py-py2app/Makefile b/devel/py-py2app/Makefile
index 5da14e4cdbb..1b604a55a9e 100644
--- a/devel/py-py2app/Makefile
+++ b/devel/py-py2app/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2014/02/09 15:25:46 rodent Exp $
+# $NetBSD: Makefile,v 1.2 2014/02/10 00:20:27 rodent Exp $
DISTNAME= py2app-0.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://pypi.python.org/packages/source/p/py2app/
@@ -16,5 +17,11 @@ DEPENDS+= ${PYPKGPREFIX}-macholib>=1.5:../../devel/py-macholib
ONLY_FOR_PLATFORM= Darwin-*-*
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/py2applet \
+ ${DESTDIR}${PREFIX}/bin/py2applet${PYVERSSUFFIX}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-py2app/PLIST b/devel/py-py2app/PLIST
index 866e789daac..66c6acb2f5c 100644
--- a/devel/py-py2app/PLIST
+++ b/devel/py-py2app/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2014/02/09 15:25:46 rodent Exp $
-bin/py2applet
+@comment $NetBSD: PLIST,v 1.2 2014/02/10 00:20:27 rodent Exp $
+bin/py2applet${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt