89e07f4a18
Approved by: portmgr (implicit)
36 lines
881 B
Makefile
36 lines
881 B
Makefile
# Created by: Sofian Brabez <sbrabez@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bitarray
|
|
PORTVERSION= 0.8.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sbz@FreeBSD.org
|
|
COMMENT= Efficient arrays of booleans
|
|
|
|
LICENSE= PSFL
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
|
|
PORTDOCS= AUTHORS CHANGE_LOG LICENSE README.rst
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
regression-test: extract
|
|
@(cd ${WRKSRC}/${PORTNAME}; ${PYTHON_CMD} -c "import ${PORTNAME}; ${PORTNAME}.test()")
|
|
|
|
.include <bsd.port.mk>
|