svn commit: r328075 - head/sysutils/vpnc-scripts
Ryan Steinmetz
zi at FreeBSD.org
Mon Sep 23 23:46:56 UTC 2013
Author: zi
Date: Mon Sep 23 23:46:55 2013
New Revision: 328075
URL: http://svnweb.freebsd.org/changeset/ports/328075
Log:
- Fix path for hooks dir
PR: ports/182330
Submitted by: Steve Wills <swills at FreeBSD.org>
Modified:
head/sysutils/vpnc-scripts/Makefile
Modified: head/sysutils/vpnc-scripts/Makefile
==============================================================================
--- head/sysutils/vpnc-scripts/Makefile Mon Sep 23 22:14:30 2013 (r328074)
+++ head/sysutils/vpnc-scripts/Makefile Mon Sep 23 23:46:55 2013 (r328075)
@@ -3,6 +3,7 @@
PORTNAME= vpnc-scripts
PORTVERSION= 20130311
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.infradead.org/pub/${PORTNAME}/ \
http://mirrors.rit.edu/zi/
@@ -18,6 +19,11 @@ NO_BUILD= yes
PLIST_FILES= sbin/vpnc-script sbin/vpnc-script-sshd sbin/vpnc-script-ptrtd
NO_STAGE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|\(/etc/vpnc\)|${PREFIX}\1|' \
+ ${WRKSRC}/vpnc-script
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script-sshd ${PREFIX}/sbin
More information about the svn-ports-head
mailing list