ab4f0b9716
lists in PYDISTUTILS_SETUP PR: 191317 Phabric: D270 With hat: python@
39 lines
902 B
Makefile
39 lines
902 B
Makefile
# Created by: Li-Wen Hsu <lwhsu@lwhsu.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bitvector
|
|
PORTVERSION= 3.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= math python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= BitVector-${PORTVERSION}
|
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
|
COMMENT= Pure-Python memory-efficient packed representation for bit arrays
|
|
|
|
LICENSE= PSFL
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= BitVector
|
|
|
|
PORTDOCS= README BitVector-${PORTVERSION}.html
|
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/BitVector.py \
|
|
%%PYTHON_SITELIBDIR%%/BitVector.pyc \
|
|
%%PYTHON_SITELIBDIR%%/BitVector.pyo
|
|
|
|
post-extract:
|
|
@${RM} -f ${WRKSRC}/test.py
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
regression-test:
|
|
@(cd ${WRKSRC}/TestBitVector && ${PYTHON_CMD} Test.py)
|
|
|
|
.include <bsd.port.mk>
|