aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/ipsec-tools/Makefile3
-rw-r--r--security/ipsec-tools/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile
index c5ff3852ecf3..62b24dc021f6 100644
--- a/security/ipsec-tools/Makefile
+++ b/security/ipsec-tools/Makefile
@@ -174,6 +174,7 @@ pre-configure:
.endif
post-install:
+ @${MKDIR} ${PREFIX}/etc/racoon
@if [ -z `/sbin/sysctl -a | ${GREP} -q ipsec && ${ECHO_CMD} ipsec` ]; then \
${ECHO_MSG} "WARNING: IPsec feature is disabled on this host"; \
${ECHO_MSG} " You must build the kernel if you want to run racoon on the host"; \
@@ -181,7 +182,7 @@ post-install:
@${MKDIR} ${EXAMPLESDIR}
@${RM} -f ${WRKSRC}/src/racoon/samples/*.in
@${CP} -r ${WRKSRC}/src/racoon/samples/* ${EXAMPLESDIR}
-.if ${PORT_OPTIONS:MOCS}
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/src/racoon/doc/* ${DOCSDIR}
.endif
diff --git a/security/ipsec-tools/pkg-plist b/security/ipsec-tools/pkg-plist
index 30a492b8a3ce..f21af7189586 100644
--- a/security/ipsec-tools/pkg-plist
+++ b/security/ipsec-tools/pkg-plist
@@ -40,6 +40,7 @@ lib/libracoon.so.0
%%EXAMPLESDIR%%/roadwarrior/client/racoon.conf
%%EXAMPLESDIR%%/roadwarrior/server/racoon.conf
%%EXAMPLESDIR%%/roadwarrior/server/racoon.conf-radius
+@exec mkdir -p %D/etc/racoon
@dirrmtry etc/racoon
@dirrm include/racoon
@dirrm include/libipsec