Lines 6-37
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= circe |
8 |
PORTNAME= circe |
9 |
PORTVERSION= 0.2.2 |
9 |
PORTVERSION= 0.2.3 |
10 |
CATEGORIES= net-mgmt |
10 |
CATEGORIES= net-mgmt |
11 |
MASTER_SITES= http://bws.berkeley.edu/ports/ |
11 |
MASTER_SITES= http://bws.berkeley.edu/ports/ |
12 |
|
12 |
|
13 |
MAINTAINER= circe-port-maintainers@bws.berkeley.edu |
13 |
MAINTAINER= circe-port-maintainers@bws.net.berkeley.edu |
14 |
COMMENT= A captive portal-based network access control solution in perl |
14 |
COMMENT= A captive portal-based network access control solution in perl |
15 |
|
15 |
|
|
|
16 |
USE_PERL5= yes |
17 |
|
16 |
DIST_SUBDIR= ${PORTNAME} |
18 |
DIST_SUBDIR= ${PORTNAME} |
17 |
|
19 |
|
18 |
BUILD_DEPENDS= ${SITE_PERL}/mach/Net/IP/Match/XS.pm:${PORTSDIR}/net-mgmt/p5-Net-IP-Match-XS \ |
20 |
LICENSE= BSD |
|
|
21 |
|
22 |
RUN_DEPENDS= ${SITE_PERL}/mach/Net/IP/Match/XS.pm:${PORTSDIR}/net-mgmt/p5-Net-IP-Match-XS \ |
19 |
${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \ |
23 |
${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \ |
20 |
${SITE_PERL}/mach/IO.pm:${PORTSDIR}/devel/p5-IO \ |
24 |
${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO \ |
21 |
${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \ |
25 |
${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \ |
22 |
${SITE_PERL}/mach/Sys/Syslog.pm:${PORTSDIR}/sysutils/p5-Sys-Syslog \ |
26 |
${SITE_PERL}/${PERL_ARCH}/Sys/Syslog.pm:${PORTSDIR}/sysutils/p5-Sys-Syslog \ |
23 |
${SITE_PERL}/mach/TryCatch.pm:${PORTSDIR}/lang/p5-TryCatch \ |
27 |
${SITE_PERL}/${PERL_ARCH}/TryCatch.pm:${PORTSDIR}/lang/p5-TryCatch \ |
24 |
${SITE_PERL}/Data/Validate/IP.pm:${PORTSDIR}/net-mgmt/p5-Data-Validate-IP \ |
28 |
${SITE_PERL}/Data/Validate/IP.pm:${PORTSDIR}/net-mgmt/p5-Data-Validate-IP \ |
25 |
${SITE_PERL}/Regexp/Common.pm:${PORTSDIR}/textproc/p5-Regexp-Common \ |
29 |
${SITE_PERL}/Regexp/Common.pm:${PORTSDIR}/textproc/p5-Regexp-Common \ |
26 |
${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \ |
30 |
${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \ |
27 |
${SITE_PERL}/mach/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB \ |
31 |
${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB \ |
28 |
${SITE_PERL}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC \ |
32 |
${SITE_PERL}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC \ |
29 |
${SITE_PERL}/Proc/PID/File.pm:${PORTSDIR}/devel/p5-Proc-PID-File |
33 |
${SITE_PERL}/Proc/PID/File.pm:${PORTSDIR}/devel/p5-Proc-PID-File |
30 |
|
34 |
|
|
|
35 |
OPTIONS= ENCRYPT "Encrypt the destination URL in redirection" Off |
36 |
|
37 |
.include <bsd.port.options.mk> |
38 |
|
39 |
.if defined(WITH_ENCRYPT) |
40 |
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \ |
41 |
${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/AES.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-AES |
42 |
.endif |
43 |
|
31 |
MANCOMPRESSED= no |
44 |
MANCOMPRESSED= no |
32 |
|
45 |
|
33 |
post-patch: |
46 |
post-patch: |
34 |
@${REINPLACE_CMD} -e 's|$$(SITE_PERL)|${SITE_PERL}|g' ${WRKSRC}/Makefile |
47 |
@${REINPLACE_CMD} -e 's|$$(SITE_PERL)|${PREFIX}/${SITE_PERL_REL}|g' ${WRKSRC}/Makefile |
|
|
48 |
@${REINPLACE_CMD} -e 's|$$(SITE_PERL_REL)|${SITE_PERL_REL}|g' ${WRKSRC}/Makefile |
35 |
|
49 |
|
36 |
WRKSRC= ${WRKDIR} |
50 |
WRKSRC= ${WRKDIR} |
37 |
|
51 |
|