diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2010-08-14 21:24:23 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2010-08-14 21:24:23 +0800 |
commit | aba6b2225cde939f0290dde598089e3e9c2039aa (patch) | |
tree | d00a05d2e4800e6425c163efcffa39c5e5e5ad65 /security | |
parent | 26569ab83dac7f3f1d2df6fe9aae2c7e5c7e819c (diff) | |
download | freebsd-ports-gnome-aba6b2225cde939f0290dde598089e3e9c2039aa.tar.gz freebsd-ports-gnome-aba6b2225cde939f0290dde598089e3e9c2039aa.tar.zst freebsd-ports-gnome-aba6b2225cde939f0290dde598089e3e9c2039aa.zip |
Conditionally install configuration example (auth-ldap.conf) to EXAMPLESDIR.
PR: 149229 (based on)
Submitted by: Alexey V.Degtyarev <alexey@renatasystems.org>
Approved by: snb (via mail)
Diffstat (limited to 'security')
-rw-r--r-- | security/openvpn-auth-ldap/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/security/openvpn-auth-ldap/Makefile b/security/openvpn-auth-ldap/Makefile index 5389578453fa..0e0b6ba78abe 100644 --- a/security/openvpn-auth-ldap/Makefile +++ b/security/openvpn-auth-ldap/Makefile @@ -6,7 +6,7 @@ PORTNAME= openvpn-auth-ldap PORTVERSION= 2.0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DISTNAME= auth-ldap-${PORTVERSION} @@ -24,6 +24,7 @@ CONFIGURE_ARGS+= --with-openldap=${LOCALBASE} \ --with-openvpn=${OPENVPN_WRKSRC} PORTDOCS= README +PORTEXAMPLES= auth-ldap.conf PLIST_FILES= lib/openvpn-auth-ldap.so post-install: @@ -31,5 +32,9 @@ post-install: ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/auth-ldap.conf ${EXAMPLESDIR} +.endif .include <bsd.port.mk> |