svn commit: r501571 - head/devel/py-bitstring
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon May 13 14:28:41 UTC 2019
Author: amdmi3
Date: Mon May 13 14:28:39 2019
New Revision: 501571
URL: https://svnweb.freebsd.org/changeset/ports/501571
Log:
- Add LICENSE_FILE
- Switch to options helpers
- Switch to new test framework
Approved by: portmgr blanket
Modified:
head/devel/py-bitstring/Makefile
Modified: head/devel/py-bitstring/Makefile
==============================================================================
--- head/devel/py-bitstring/Makefile Mon May 13 14:28:20 2019 (r501570)
+++ head/devel/py-bitstring/Makefile Mon May 13 14:28:39 2019 (r501571)
@@ -11,6 +11,7 @@ MAINTAINER= sbz at FreeBSD.org
COMMENT= Simple construction, analysis, and modification of binary data
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python zip
USE_PYTHON= autoplist concurrent distutils
@@ -20,11 +21,11 @@ PORTDOCS= PKG-INFO README.rst release_notes.txt
OPTIONS_DEFINE= DOCS
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-regression-test: extract
+do-test:
@(cd ${WRKSRC}/test && ${PYTHON_CMD} -c 'import unittest, test_${PORTNAME}; unittest.main(test_${PORTNAME})')
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list