summaryrefslogtreecommitdiff
path: root/security/openvpn20
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-07-18 10:49:40 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-07-18 10:49:40 +0000
commitfd01995a21bbc229b580dcd3db2ccd7b2e145df5 (patch)
tree3b9a240adb038122bc147c157e54858977b5555f /security/openvpn20
parent- Respect NOPORTDOCS (diff)
- Respect NOPORTDOCS
PR: 125726 Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
Notes
Notes: svn path=/head/; revision=217016
Diffstat (limited to 'security/openvpn20')
-rw-r--r--security/openvpn20/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/security/openvpn20/Makefile b/security/openvpn20/Makefile
index 9e44cb1c8ea4..a6526ca62a33 100644
--- a/security/openvpn20/Makefile
+++ b/security/openvpn20/Makefile
@@ -13,7 +13,7 @@ PORTNAME= openvpn
# UPGRADE REQUESTS WILL BE DROPPED UNLESS BSD-RELATED.
# -----------------------------------------------------
PORTVERSION= 2.0.6
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= security net
# MASTER_SITES points to hosts in distinct data centers,
# so just one MASTER_SITES entry should be OK.
@@ -81,10 +81,14 @@ post-install:
PORTS README
${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
- ( cd ${WRKSRC} \
- && ${FIND} easy-rsa sample-config-files sample-scripts -depth \
- | ${GREP} -v easy-rsa/Windows \
- | ${CPIO} -pdmu ${DOCSDIR} )
+.for dir in easy-rsa easy-rsa/2.0 sample-config-files
+ ${MKDIR} ${DOCSDIR}/${dir}
+ ${FIND} ${WRKSRC}/${dir}/ -maxdepth 1 -type f -exec ${INSTALL_DATA} \{\} ${DOCSDIR}/${dir} \;
+.endfor
+.for dir in sample-scripts
+ ${MKDIR} ${DOCSDIR}/${dir}
+ ${FIND} ${WRKSRC}/${dir}/ -maxdepth 1 -type f -exec ${INSTALL_SCRIPT} \{\} ${DOCSDIR}/${dir} \;
+.endfor
.endif
@${CAT} ${PKGMESSAGE}