Fix PLIST for python != 2.7.
This commit is contained in:
parent
6f4010ea56
commit
7f88d19146
2 changed files with 5 additions and 4 deletions
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue