freebsd-ports/devel/py-bitstring/Makefile
Sofian Brabez 4752db3ce9 - Update to 3.0.2
Approved by:	jadawin@, miwi@ (mentors, implicit)
Feature safe:	yes
2012-03-27 11:25:49 +00:00

36 lines
805 B
Makefile

# New ports collection makefile for: py-bitstring
# Date created: 2010-11-29
# Whom: Sofian Brabez <sbrabez@gmail.com>
#
# $FreeBSD$
#
PORTNAME= bitstring
PORTVERSION= 3.0.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sbz@FreeBSD.org
COMMENT= Simple construction, analysis and modification of binary data
LICENSE= MIT
USE_PYTHON= 2.6+
USE_PYDISTUTILS= yes
USE_ZIP= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= PKG-INFO README.txt release_notes.txt
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
regression-test:
@(cd ${WRKSRC}/test && ${PYTHON_CMD} -c 'import unittest, test_${PORTNAME}; unittest.main(test_${PORTNAME})')
.include <bsd.port.mk>