aboutsummaryrefslogtreecommitdiff
path: root/security/openvpn-auth-ldap
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2010-08-14 13:24:23 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2010-08-14 13:24:23 +0000
commitec814a09bd0d41971650d04ffa64dd9eb6ea933a (patch)
tree8d28ba245ea2e2cd81a56744a13934ffd42a3835 /security/openvpn-auth-ldap
parent8327def0e3d3d69cb9a486684d43aded258f4ced (diff)
downloadports-ec814a09bd0d41971650d04ffa64dd9eb6ea933a.tar.gz
ports-ec814a09bd0d41971650d04ffa64dd9eb6ea933a.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)
Notes
Notes: svn path=/head/; revision=259215
Diffstat (limited to 'security/openvpn-auth-ldap')
-rw-r--r--security/openvpn-auth-ldap/Makefile7
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>