blob: 962430b549c2f4bfbbf6663fe1635817a0b315c1 (
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
37
38
|
# Created by: nectar@FreeBSD.org
# $FreeBSD$
PORTNAME= kjbuckets
PORTVERSION= 1.0.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel python
MASTER_SITES= SF/gadfly/gadfly/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= gadfly-${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Graph and set datatypes for Python (C extension)
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/../COPYRIGHT.txt
OPTIONS_DEFINE= DOCS EXAMPLES
USES= python
USE_PYTHON= distutils autoplist
WRKSRC= ${WRKDIR}/${DISTNAME}/kjbuckets
PORTDOCS= *
PORTEXAMPLES= *
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/kjbuckets.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../COPYRIGHT.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../doc/kjbuckets.txt ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/../doc/demo/kjbuckets/*.py ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|