Move bin/* to bin/*${PYVERSSUFFIX} in post-install, to allow parallel
installation of this package for different python versions. Bump PKGREVISION.
This commit is contained in:
parent
449a88b4ca
commit
d0f0d6d521
2 changed files with 10 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue