diff --git a/devel/py-py2app/Makefile b/devel/py-py2app/Makefile index 5da14e4cdbbc..1b604a55a9e5 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 866e789daac3..66c6acb2f5cd 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