svn commit: r342858 - head/devel/py-bitstring
Antoine Brodin
antoine at FreeBSD.org
Wed Feb 5 21:18:20 UTC 2014
Author: antoine
Date: Wed Feb 5 21:18:20 2014
New Revision: 342858
URL: http://svnweb.freebsd.org/changeset/ports/342858
QAT: https://qat.redports.org/buildarchive/r342858/
Log:
- Stage support
- Use PYDISTUTILS_AUTOPLIST
- Remove infozip dependency
Deleted:
head/devel/py-bitstring/pkg-plist
Modified:
head/devel/py-bitstring/Makefile
Modified: head/devel/py-bitstring/Makefile
==============================================================================
--- head/devel/py-bitstring/Makefile Wed Feb 5 21:16:37 2014 (r342857)
+++ head/devel/py-bitstring/Makefile Wed Feb 5 21:18:20 2014 (r342858)
@@ -6,6 +6,7 @@ PORTVERSION= 3.1.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+EXTRACT_SUFX= .zip
MAINTAINER= sbz at FreeBSD.org
COMMENT= Simple construction, analysis, and modification of binary data
@@ -14,20 +15,16 @@ LICENSE= MIT
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-USE_ZIP= yes
+PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
-
PORTDOCS= PKG-INFO README.txt release_notes.txt
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
regression-test: extract
@(cd ${WRKSRC}/test && ${PYTHON_CMD} -c 'import unittest, test_${PORTNAME}; unittest.main(test_${PORTNAME})')
More information about the svn-ports-all
mailing list