svn commit: r505097 - head/math/py-bitvector
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Jun 25 16:16:33 UTC 2019
Author: amdmi3
Date: Tue Jun 25 16:16:31 2019
New Revision: 505097
URL: https://svnweb.freebsd.org/changeset/ports/505097
Log:
- Add NO_ARCH
- Switch to options helpers
- Switch to new test framework
Approved by: portmgr blanket
Modified:
head/math/py-bitvector/Makefile
Modified: head/math/py-bitvector/Makefile
==============================================================================
--- head/math/py-bitvector/Makefile Tue Jun 25 16:10:03 2019 (r505096)
+++ head/math/py-bitvector/Makefile Tue Jun 25 16:16:31 2019 (r505097)
@@ -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>
More information about the svn-ports-all
mailing list