1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

- Add NO_ARCH

- Switch to options helpers
- Switch to new test framework

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2019-06-25 16:16:31 +00:00
parent 133a586bb1
commit 2c42108bde
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505097

View File

@ -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>