1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/net-mgmt/circe/Makefile
Andrej Zverev c9b4f372f4 - Remove SITE_PERL from *_DEPENDS
Approved by: portmgr@ (bapt@)
2012-06-30 12:42:52 +00:00

52 lines
1.6 KiB
Makefile

# New ports collection makefile for: circe
# Date created: 23 July 2010
# Whom: Berkeley NAC-Team
#
# $FreeBSD$
#
PORTNAME= circe
PORTVERSION= 0.2.3
CATEGORIES= net-mgmt
MASTER_SITES= http://bws.berkeley.edu/ports/
MAINTAINER= circe-port-maintainers@bws.net.berkeley.edu
COMMENT= A captive portal-based network access control solution in perl
LICENSE= BSD
RUN_DEPENDS= p5-Net-IP-Match-XS>=0:${PORTSDIR}/net-mgmt/p5-Net-IP-Match-XS \
p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL \
p5-IO>=0:${PORTSDIR}/devel/p5-IO \
p5-Error>=0:${PORTSDIR}/lang/p5-Error \
p5-Sys-Syslog>=0:${PORTSDIR}/sysutils/p5-Sys-Syslog \
p5-TryCatch>=0:${PORTSDIR}/lang/p5-TryCatch \
p5-Data-Validate-IP>=0:${PORTSDIR}/net-mgmt/p5-Data-Validate-IP \
p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common \
p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \
p5-BerkeleyDB>=0:${PORTSDIR}/databases/p5-BerkeleyDB \
p5-Crypt-CBC>=0:${PORTSDIR}/security/p5-Crypt-CBC \
p5-Proc-PID-File>=0:${PORTSDIR}/devel/p5-Proc-PID-File
USE_PERL5= yes
DIST_SUBDIR= ${PORTNAME}
WRKSRC= ${WRKDIR}
OPTIONS= ENCRYPT "Encrypt the destination URL in redirection" Off
.include <bsd.port.options.mk>
.if defined(WITH_ENCRYPT)
RUN_DEPENDS+= p5-Crypt-DES>=0:${PORTSDIR}/security/p5-Crypt-DES \
p5-Crypt-OpenSSL-AES>=0:${PORTSDIR}/security/p5-Crypt-OpenSSL-AES
.endif
MANCOMPRESSED= no
post-patch:
@${REINPLACE_CMD} -e 's|$$(SITE_PERL)|${PREFIX}/${SITE_PERL_REL}|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|$$(SITE_PERL_REL)|${SITE_PERL_REL}|g' ${WRKSRC}/Makefile
.include <bsd.port.mk>