Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2013 23:46:56 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328075 - head/sysutils/vpnc-scripts
Message-ID:  <201309232346.r8NNkudQ054667@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309232346.r8NNkudQ054667>