Lines 1-8
Link Here
|
1 |
# Created by: Blaz Zupan <blaz@si.FreeBSD.org> |
1 |
# Created by: Blaz Zupan <blaz@si.FreeBSD.org> |
2 |
|
2 |
|
3 |
PORTNAME= pyrad |
3 |
PORTNAME= pyrad |
4 |
PORTVERSION= 2.0 |
4 |
PORTVERSION= 2.4 |
5 |
PORTREVISION= 1 |
|
|
6 |
CATEGORIES= net python |
5 |
CATEGORIES= net python |
7 |
MASTER_SITES= CHEESESHOP |
6 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 15-34
USE_PYTHON= distutils autoplist
Link Here
|
15 |
|
14 |
|
16 |
CPE_VENDOR= pyrad_project |
15 |
CPE_VENDOR= pyrad_project |
17 |
|
16 |
|
18 |
PORTEXAMPLES= * |
|
|
19 |
|
20 |
OPTIONS_DEFINE= EXAMPLES |
21 |
|
22 |
.include <bsd.port.options.mk> |
17 |
.include <bsd.port.options.mk> |
23 |
|
18 |
|
24 |
post-patch: |
19 |
post-patch: |
25 |
@${REINPLACE_CMD} -e 's|zip_safe=True|zip_safe=False|' \ |
20 |
@${REINPLACE_CMD} -e 's|zip_safe=True|zip_safe=False|' \ |
26 |
${WRKSRC}/setup.py |
21 |
${WRKSRC}/setup.py |
27 |
|
22 |
|
28 |
.if ${PORT_OPTIONS:MEXAMPLES} |
|
|
29 |
post-install: |
30 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
31 |
(cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) |
32 |
.endif |
33 |
|
34 |
.include <bsd.port.mk> |
23 |
.include <bsd.port.mk> |