mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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)
This commit is contained in:
parent
8327def0e3
commit
ec814a09bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259215
1 changed files with 6 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
PORTNAME= openvpn-auth-ldap
|
PORTNAME= openvpn-auth-ldap
|
||||||
PORTVERSION= 2.0.3
|
PORTVERSION= 2.0.3
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= security
|
CATEGORIES= security
|
||||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||||
DISTNAME= auth-ldap-${PORTVERSION}
|
DISTNAME= auth-ldap-${PORTVERSION}
|
||||||
|
@ -24,6 +24,7 @@ CONFIGURE_ARGS+= --with-openldap=${LOCALBASE} \
|
||||||
--with-openvpn=${OPENVPN_WRKSRC}
|
--with-openvpn=${OPENVPN_WRKSRC}
|
||||||
|
|
||||||
PORTDOCS= README
|
PORTDOCS= README
|
||||||
|
PORTEXAMPLES= auth-ldap.conf
|
||||||
PLIST_FILES= lib/openvpn-auth-ldap.so
|
PLIST_FILES= lib/openvpn-auth-ldap.so
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
@ -31,5 +32,9 @@ post-install:
|
||||||
${MKDIR} ${DOCSDIR}
|
${MKDIR} ${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||||
.endif
|
.endif
|
||||||
|
.if !defined(NOPORTEXAMPLES)
|
||||||
|
${MKDIR} ${EXAMPLESDIR}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/auth-ldap.conf ${EXAMPLESDIR}
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue