mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
42 lines
912 B
Makefile
42 lines
912 B
Makefile
# Created by: Li-Wen Hsu <lwhsu@lwhsu.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bitvector
|
|
PORTVERSION= 3.1
|
|
CATEGORIES= math python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= BitVector-${PORTVERSION}
|
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
|
COMMENT= A 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
|
|
|
|
NO_STAGE= yes
|
|
post-extract:
|
|
@${RM} -f ${WRKSRC}/test.py
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
|
.endif
|
|
|
|
regression-test:
|
|
@(cd ${WRKSRC}/TestBitVector && ${PYTHON_CMD} Test.py)
|
|
|
|
.include <bsd.port.mk>
|