Lines 1-31
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= libfte |
3 |
PORTNAME= libfte |
4 |
DISTVERSION= 0.1.0 |
4 |
PORTVERSION= 0.1.3 |
5 |
CATEGORIES= net security python |
5 |
CATEGORIES= net security python |
|
|
6 |
MASTER_SITES= CHEESESHOP |
6 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
|
|
8 |
DISTNAME= fte-${PORTVERSION} |
7 |
|
9 |
|
8 |
MAINTAINER= egypcio@googlemail.com |
10 |
MAINTAINER= egypcio@googlemail.com |
9 |
COMMENT= Format-Transforming Encryption Library/Toolkit |
11 |
COMMENT= Format-Transforming Encryption Library/Toolkit |
10 |
|
12 |
|
11 |
LICENSE= APACHE20 |
13 |
LICENSE= APACHE20 |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
|
|
13 |
|
14 |
|
14 |
BUILD_DEPENDS= regex2dfa:textproc/regex2dfa \ |
15 |
BUILD_DEPENDS= regex2dfa:textproc/regex2dfa \ |
15 |
${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6.1:security/py-pycrypto@${PY_FLAVOR} |
16 |
${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6.1:security/py-pycrypto@${PY_FLAVOR} |
16 |
LIB_DEPENDS= libgmp.so:math/gmp |
17 |
LIB_DEPENDS= libgmp.so:math/gmp |
17 |
|
18 |
|
18 |
USES= localbase python:2.7 |
19 |
USES= localbase python:2.7 |
19 |
USE_PYTHON= autoplist distutils |
20 |
USE_PYTHON= autoplist distutils |
20 |
USE_GITHUB= yes |
|
|
21 |
GH_ACCOUNT= kpdyer |
22 |
|
21 |
|
23 |
# setup.cfg enables inplace, copying extension to final place and breaking |
22 |
# setup.cfg enables inplace, copying extension to final place and breaking |
24 |
# autoplist |
23 |
# autoplist |
25 |
post-extract: |
24 |
post-extract: |
26 |
${RM} ${WRKSRC}/setup.cfg |
25 |
${RM} ${WRKSRC}/setup.cfg |
27 |
|
26 |
|
28 |
post-install: |
27 |
post-install: |
29 |
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fte/cDFA.so |
28 |
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fte/cDFA.so |
30 |
|
29 |
|
31 |
.include <bsd.port.mk> |
30 |
.include <bsd.port.mk> |