diff options
author | miwi <miwi@FreeBSD.org> | 2008-07-18 18:48:06 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-07-18 18:48:06 +0800 |
commit | 060446895f59c3329c5aea838a855c7a4e860b84 (patch) | |
tree | 91a7c5441391babcace55931b9e992728e34b1f1 | |
parent | f768c732d52139a94cdedfcaec579de3ca3fbb0e (diff) | |
download | freebsd-ports-gnome-060446895f59c3329c5aea838a855c7a4e860b84.tar.gz freebsd-ports-gnome-060446895f59c3329c5aea838a855c7a4e860b84.tar.zst freebsd-ports-gnome-060446895f59c3329c5aea838a855c7a4e860b84.zip |
- Respect NOPORTDOCS
PR: 125727
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
-rw-r--r-- | security/openvpn-devel/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/security/openvpn-devel/Makefile b/security/openvpn-devel/Makefile index 6e5f02e3b05c..1d318a197693 100644 --- a/security/openvpn-devel/Makefile +++ b/security/openvpn-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= openvpn DISTVERSION= 2.1_rc8 +PORTREVISION= 1 CATEGORIES= security net MASTER_SITES= https://secure.openvpn.net/beta/ PKGNAMESUFFIX= -devel @@ -77,10 +78,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/1.0 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 .else -@${RMDIR} ${DOCSDIR} .endif |