aboutsummaryrefslogtreecommitdiff
path: root/security/isakmpd
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2012-08-21 21:00:33 +0000
committerDoug Barton <dougb@FreeBSD.org>2012-08-21 21:00:33 +0000
commit235e0c0890fd94b338317dbae99ef8fce75129d2 (patch)
tree687cc3167fd1d7bdcfa54b68496dfda41bdf40fa /security/isakmpd
parent2718265a6b05c0010b8eedcb126649368e3f642b (diff)
downloadports-235e0c0890fd94b338317dbae99ef8fce75129d2.tar.gz
ports-235e0c0890fd94b338317dbae99ef8fce75129d2.zip
Notes
Diffstat (limited to 'security/isakmpd')
-rw-r--r--security/isakmpd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile
index d039ca6bcb6e..3bf44d1f2db1 100644
--- a/security/isakmpd/Makefile
+++ b/security/isakmpd/Makefile
@@ -26,7 +26,6 @@ BUILD_DEPENDS+= keynote:${PORTSDIR}/security/keynote
.endif
USE_RC_SUBR= isakmpd
-WRKSRC= ${WRKDIR}/isakmpd
MAKE_ENV+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man LC_ALL=C
MAN5= isakmpd.conf.5 isakmpd.policy.5
@@ -41,6 +40,9 @@ OPENSSLINC?= /usr/include
OPENSSLLIB?= /usr/lib
MAKE_ENV+= OPENSSLINC="${OPENSSLINC}" OPENSSLLIB="${OPENSSLLIB}"
+post-extract:
+ @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
+
post-patch:
.for f in conf.h ike_auth.c isakmpd.8 isakmpd.conf.5 isakmpd.policy.5 policy.h
${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/${f}