aboutsummaryrefslogtreecommitdiffstats
path: root/security/openvpn
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-07-18 18:49:40 +0800
committermiwi <miwi@FreeBSD.org>2008-07-18 18:49:40 +0800
commit049933cc14e82b27052f78fd56dde25c6949e9c5 (patch)
tree2d463800ac4e6e758b2a958dee9b94b27eba7b25 /security/openvpn
parent060446895f59c3329c5aea838a855c7a4e860b84 (diff)
downloadfreebsd-ports-gnome-049933cc14e82b27052f78fd56dde25c6949e9c5.tar.gz
freebsd-ports-gnome-049933cc14e82b27052f78fd56dde25c6949e9c5.tar.zst
freebsd-ports-gnome-049933cc14e82b27052f78fd56dde25c6949e9c5.zip
- Respect NOPORTDOCS
PR: 125726 Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
Diffstat (limited to 'security/openvpn')
-rw-r--r--security/openvpn/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile
index 9e44cb1c8ea4..a6526ca62a33 100644
--- a/security/openvpn/Makefile
+++ b/security/openvpn/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}