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