summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/py-unittest2/Makefile5
-rw-r--r--devel/py-unittest2/PLIST4
2 files changed, 5 insertions, 4 deletions
diff --git a/devel/py-unittest2/Makefile b/devel/py-unittest2/Makefile
index 0aaa263b201..c3aaac0c02e 100644
--- a/devel/py-unittest2/Makefile
+++ b/devel/py-unittest2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2013/07/08 04:52:48 richard Exp $
+# $NetBSD: Makefile,v 1.2 2013/07/08 16:17:20 wiz Exp $
DISTNAME= unittest2-0.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -14,7 +14,8 @@ PYTHON_VERSIONS_INCLUDE_3X = no
DOCDIR= share/doc/${PKGBASE}
INSTALLATION_DIRS+= ${DOCDIR}
-PLIST_SUBST+= DOCDIR=${DOCDIR}
+PLIST_SUBST+= DOCDIR=${DOCDIR}
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
post-install:
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/${DOCDIR}
diff --git a/devel/py-unittest2/PLIST b/devel/py-unittest2/PLIST
index 3254b103d37..dfc8c1378c9 100644
--- a/devel/py-unittest2/PLIST
+++ b/devel/py-unittest2/PLIST
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2013/07/08 04:52:48 richard Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/07/08 16:17:20 wiz Exp $
bin/unit2
-bin/unit2-2.7
+bin/unit2-${PYVERSSUFFIX}
bin/unit2.py
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt