aboutsummaryrefslogtreecommitdiff
path: root/security/vpnc/Makefile
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-02-26 18:57:31 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-02-26 18:57:31 +0000
commit1f33792bee3e471cfc6cd140b6b83514adac1b45 (patch)
treed36bb5ac6351b5c713e6de9928920bd8a57ebb72 /security/vpnc/Makefile
parent0791e78a3641b8973ed5184132d1e5a53cad0080 (diff)
downloadports-1f33792bee3e471cfc6cd140b6b83514adac1b45.tar.gz
ports-1f33792bee3e471cfc6cd140b6b83514adac1b45.zip
Notes
Diffstat (limited to 'security/vpnc/Makefile')
-rw-r--r--security/vpnc/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/security/vpnc/Makefile b/security/vpnc/Makefile
index 5dda87bbd806..ad67b9d7c003 100644
--- a/security/vpnc/Makefile
+++ b/security/vpnc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vpnc
PORTVERSION= 0.3.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/
@@ -19,11 +19,12 @@ LIB_DEPENDS= gcrypt.13:${PORTSDIR}/security/libgcrypt
USE_GMAKE= yes
ALL_TARGET= vpnc
+USE_RC_SUBR= vpnc
+
PLIST_FILES= sbin/vpnc \
sbin/vpnc-script \
sbin/vpnc-disconnect \
- etc/vpnc.conf.sample \
- etc/rc.d/vpnc.sh.sample
+ etc/vpnc.conf.sample
PORTDOCS= README ChangeLog TODO
MAN8= vpnc.8
@@ -41,9 +42,6 @@ do-install:
@${INSTALL_PROGRAM} -m 751 ${WRKSRC}/vpnc ${PREFIX}/sbin/vpnc
@${INSTALL_SCRIPT} -m 751 ${WRKSRC}/vpnc-script ${PREFIX}/sbin/vpnc-script
@${INSTALL_SCRIPT} -m 751 ${WRKSRC}/vpnc-disconnect ${PREFIX}/sbin/vpnc-disconnect
- @${INSTALL_SCRIPT} ${FILESDIR}/vpnc.sh ${WRKDIR}
- @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKDIR}/vpnc.sh
- @${INSTALL_SCRIPT} -m 755 ${WRKDIR}/vpnc.sh ${PREFIX}/etc/rc.d/vpnc.sh.sample
@${INSTALL_DATA} -m 600 ${WRKSRC}/vpnc.conf ${PREFIX}/etc/vpnc.conf.sample
.if !defined(NO_INSTALL_MANPAGES)
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/vpnc.8