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 10-34
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Link Here
|
10 |
MAINTAINER= steve@energistic.com |
9 |
MAINTAINER= steve@energistic.com |
11 |
COMMENT= Python implementation of RADIUS client |
10 |
COMMENT= Python implementation of RADIUS client |
12 |
|
11 |
|
|
|
12 |
LICENSE= BSD3CLAUSE |
13 |
|
13 |
USES= cpe python:3.6+ |
14 |
USES= cpe python:3.6+ |
14 |
USE_PYTHON= distutils autoplist |
15 |
USE_PYTHON= distutils autoplist |
15 |
|
16 |
|
16 |
CPE_VENDOR= pyrad_project |
17 |
CPE_VENDOR= pyrad_project |
17 |
|
18 |
|
18 |
PORTEXAMPLES= * |
|
|
19 |
|
20 |
OPTIONS_DEFINE= EXAMPLES |
21 |
|
22 |
.include <bsd.port.options.mk> |
19 |
.include <bsd.port.options.mk> |
23 |
|
20 |
|
24 |
post-patch: |
21 |
post-patch: |
25 |
@${REINPLACE_CMD} -e 's|zip_safe=True|zip_safe=False|' \ |
22 |
@${REINPLACE_CMD} -e 's|zip_safe=True|zip_safe=False|' \ |
26 |
${WRKSRC}/setup.py |
23 |
${WRKSRC}/setup.py |
27 |
|
24 |
|
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> |
25 |
.include <bsd.port.mk> |