- update to 4.0.1

- convert to optionsng (NOPORTDOCS case), while here

PR:		175075
Submitted by:	Vasiliy P. Melnik <basil@vpm.net.ua> (maintainer)
This commit is contained in:
Ruslan Makhmatkhanov 2013-01-07 09:18:08 +00:00
parent 12daf55f6b
commit b6324c80c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310027
3 changed files with 8 additions and 6 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= ldap-account-manager
PORTVERSION= 4.0
PORTVERSION= 4.0.1
CATEGORIES= sysutils www
MASTER_SITES= SF/${SHORTNAME}/LAM/${PORTVERSION}
@ -27,12 +27,12 @@ WWWDIR?= ${PREFIX}/www/${SHORTNAME}
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
do-install:
-@${MKDIR} ${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} "${LAMDATA}" ${WWWDIR}
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
-@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${DOCSDIR}
.endif
@ -53,4 +53,4 @@ post-install:
@${LN} -sf /etc/shells ${WWWDIR}/config/shells
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (ldap-account-manager-4.0.tar.gz) = 88e70145313d7c0410ef0e8211766d6d6c24175c8bd9ff29a5079acb76705a4a
SIZE (ldap-account-manager-4.0.tar.gz) = 11650400
SHA256 (ldap-account-manager-4.0.1.tar.gz) = 479078a19a7d026349f5e7799d337457acf0b2a697e2b1a3252faa0df9c4fcde
SIZE (ldap-account-manager-4.0.1.tar.gz) = 11665945

View file

@ -967,6 +967,8 @@
%%WWWDIR%%/config/templates/pdf/default.gon.xml
%%WWWDIR%%/config/templates/pdf/default.host.xml
%%WWWDIR%%/config/selfService/.htaccess
%%WWWDIR%%/config/profiles/.htaccess
%%WWWDIR%%/config/pdf/.htaccess
@exec if [ ! -f %D/%%WWWDIR%%/config/lam.conf ] ; then cp %D/%%WWWDIR%%/config/lam.conf_sample %D/%%WWWDIR%%/config/lam.conf; fi
@exec if [ ! -f %D/%%WWWDIR%%/config/config.cfg ] ; then cp %D/%%WWWDIR%%/config/config.cfg_sample %D/%%WWWDIR%%/config/config.cfg; fi
@exec mkdir -p %D/%%WWWDIR%%/config/pdf %D/%%WWWDIR%%/config/profiles