Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/security/py-openssl/Makefile 342862 2014-02-05 21:30:03Z antoine $ |
2 |
# $FreeBSD: head/security/py-openssl/Makefile 342862 2014-02-05 21:30:03Z antoine $ |
3 |
|
3 |
|
4 |
PORTNAME= openssl |
4 |
PORTNAME= openssl |
5 |
PORTVERSION= 0.13 |
5 |
PORTVERSION= 0.14 |
6 |
CATEGORIES= security python |
6 |
CATEGORIES= security python |
7 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 12-30
Link Here
|
12 |
COMMENT= Python interface to the OpenSSL library |
12 |
COMMENT= Python interface to the OpenSSL library |
13 |
|
13 |
|
14 |
LICENSE= APACHE20 |
14 |
LICENSE= APACHE20 |
15 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
|
|
16 |
|
15 |
|
17 |
USE_PYTHON= yes |
16 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0.2.1:${PORTSDIR}/security/py-cryptography \ |
18 |
USE_PYTHON_PREFIX= yes |
17 |
${PYTHON_PKGNAMEPREFIX}six>=1.5.2:${PORTSDIR}/devel/py-six |
|
|
18 |
|
19 |
OPTIONS_DEFINE= EXAMPLES |
20 |
|
21 |
USE_OPENSSL= yes |
22 |
USE_PYTHON= yes |
19 |
USE_PYDISTUTILS= yes |
23 |
USE_PYDISTUTILS= yes |
20 |
PYDISTUTILS_AUTOPLIST= yes |
24 |
PYDISTUTILS_AUTOPLIST= yes |
21 |
USE_OPENSSL= yes |
|
|
22 |
|
25 |
|
23 |
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} |
26 |
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} |
24 |
PORTEXAMPLES= * |
27 |
PORTEXAMPLES= * |
25 |
|
28 |
|
26 |
OPTIONS_DEFINE= EXAMPLES |
|
|
27 |
|
28 |
pre-configure: |
29 |
pre-configure: |
29 |
@${ECHO_CMD} "[build_ext]" >> ${WRKSRC}/setup.cfg |
30 |
@${ECHO_CMD} "[build_ext]" >> ${WRKSRC}/setup.cfg |
30 |
@${ECHO_CMD} "include-dirs = ${OPENSSLINC}" >> ${WRKSRC}/setup.cfg |
31 |
@${ECHO_CMD} "include-dirs = ${OPENSSLINC}" >> ${WRKSRC}/setup.cfg |
Lines 34-37
Link Here
|
34 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
35 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
35 |
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) |
36 |
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) |
36 |
|
37 |
|
|
|
38 |
regression-test: build |
39 |
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test |
40 |
|
37 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |