diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2019-06-25 16:16:31 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2019-06-25 16:16:31 +0000 |
commit | 2c42108bde6e4358bdeb190f40810d56e2c9ebc2 (patch) | |
tree | 21d8aadb35edad75e1302b3e933bc5360246defa /math/py-bitvector | |
parent | 133a586bb1b3666556bf4f5a94319af6a3c944ec (diff) | |
download | ports-2c42108bde6e4358bdeb190f40810d56e2c9ebc2.tar.gz ports-2c42108bde6e4358bdeb190f40810d56e2c9ebc2.zip |
- Add NO_ARCH
- Switch to options helpers
- Switch to new test framework
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=505097
Diffstat (limited to 'math/py-bitvector')
-rw-r--r-- | math/py-bitvector/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/math/py-bitvector/Makefile b/math/py-bitvector/Makefile index 399f251f7f1e..9ec2d9338082 100644 --- a/math/py-bitvector/Makefile +++ b/math/py-bitvector/Makefile @@ -18,20 +18,21 @@ USES= python USE_PYTHON= autoplist distutils PYDISTUTILS_PKGNAME= BitVector +NO_ARCH= yes + PORTDOCS= README BitVector-${PORTVERSION}.html +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} OPTIONS_DEFINE= DOCS post-extract: @${RM} ${WRKSRC}/test.py -DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} - -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -regression-test: +do-test: @(cd ${WRKSRC}/TestBitVector && ${PYTHON_CMD} Test.py) .include <bsd.port.mk> |