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:
parent
133a586bb1
commit
2c42108bde
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505097
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user