freebsd-ports/devel/py-bitarray/Makefile
Sofian Brabez d7c5457ddf Update my MAINTAINER address to sbz at FreeBSD.org.
Approved by:	jadawin@ (mentor)
2011-03-18 10:04:54 +00:00

41 lines
940 B
Makefile

# New ports collection makefile for: py-bitarray
# Date created: 2010-12-16
# Whom: Sofian Brabez <sbrabez@gmail.com>
#
# $FreeBSD$
#
PORTNAME= bitarray
PORTVERSION= 0.3.5
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sbz@FreeBSD.org
COMMENT= Efficient arrays of booleans
LICENSE= PSFL
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_PYTHON= 2.6+
USE_PYDISTUTILS= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
PORTDOCS= PKG-INFO README LICENSE AUTHORS CHANGE_LOG
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
regression-test:
@(cd ${WRKSRC}/${PORTNAME}; ${PYTHON_CMD} -c "import ${PORTNAME}; ${PORTNAME}.test()")
.include <bsd.port.mk>