aboutsummaryrefslogtreecommitdiff
path: root/math/py-bitvector/Makefile
blob: b26dd5401ecf3df3d177643d56bdc59271b5548b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
PORTNAME=	bitvector
PORTVERSION=	3.5.0
CATEGORIES=	math python
MASTER_SITES=	CHEESESHOP \
		https://engineering.purdue.edu/kak/dist/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	BitVector-${PORTVERSION}

MAINTAINER=	lwhsu@FreeBSD.org
COMMENT=	Pure-Python memory-efficient packed representation for bit arrays

LICENSE=	PSFL

USES=		python

USE_PYTHON=	autoplist distutils
PYDISTUTILS_PKGNAME=	BitVector

NO_ARCH=	yes

PORTDOCS=	README BitVector-${PORTVERSION}.html
DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}

OPTIONS_DEFINE=	DOCS

post-extract:
	@${RM} ${WRKSRC}/test.py

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

do-test:
	@(cd ${WRKSRC}/TestBitVector && ${PYTHON_CMD} Test.py)

.include <bsd.port.mk>