aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/ldap-account-manager/Makefile13
-rw-r--r--sysutils/ldap-account-manager/distinfo4
2 files changed, 7 insertions, 10 deletions
diff --git a/sysutils/ldap-account-manager/Makefile b/sysutils/ldap-account-manager/Makefile
index 6238e5532aff..74e89a30c233 100644
--- a/sysutils/ldap-account-manager/Makefile
+++ b/sysutils/ldap-account-manager/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= ldap-account-manager
-PORTVERSION= 4.6
+PORTVERSION= 4.7
CATEGORIES= sysutils www
MASTER_SITES= SF/${SHORTNAME}/LAM/${PORTVERSION}
@@ -31,20 +31,17 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
-post-extract:
-.for CONFIG in ${CONFIGS}
- @${MV} ${WRKSRC}/config/${CONFIG}_sample ${WRKSRC}/config/${CONFIG}.sample
-.endfor
do-install:
- @${ECHO_CMD} '@unexec if [ -f %D/${WWWDIR_REL}/config/shells ]; then ${RM} -f %D/${WWWDIR_REL}/config/shells; fi' >> ${TMPPLIST}
+ @${ECHO_CMD} '@exec if [ -f %D/${WWWDIR_REL}/config/shells ]; then ${RM} -f %D/${WWWDIR_REL}/config/shells; fi' >> ${TMPPLIST}
.for CONFIG in ${CONFIGS}
@${ECHO_CMD} '@sample ${WWWDIR_REL}/config/${CONFIG}.sample' >> ${TMPPLIST}
+ @${ECHO_CMD} '@exec if [ -f %D/${WWWDIR_REL}/config/${CONFIG}_sample ]; then ${RM} -f %D/${WWWDIR_REL}/config/${CONFIG}_sample; fi' >> ${TMPPLIST}
.endfor
.for I in ${LAMDATA}
@${FIND} -s ${WRKSRC}/${I} -type f -not -name '*.sample' | ${SED} -e 's,^${WRKSRC},${WWWDIR_REL},' >> ${TMPPLIST}
- @${FIND} -ds ${WRKSRC}/${I} -type d | ${SED} -e 's,^${WRKSRC},@dirrmtry ${WWWDIR_REL},' >> ${TMPPLIST}
+ @${FIND} -ds ${WRKSRC}/${I} -type d | ${SED} -e 's,^${WRKSRC},@dir ${WWWDIR_REL},' >> ${TMPPLIST}
.endfor
- @${ECHO_CMD} '@dirrmtry ${WWWDIR_REL}' >> ${TMPPLIST}
+ @${ECHO_CMD} '@dir ${WWWDIR_REL}' >> ${TMPPLIST}
@cd ${WRKSRC} && ${COPYTREE_SHARE} "${LAMDATA}" ${STAGEDIR}${WWWDIR}
.for DIR in ${WRITEABLES}
@${CHMOD} -R u+w ${STAGEDIR}${WWWDIR}/${DIR}
diff --git a/sysutils/ldap-account-manager/distinfo b/sysutils/ldap-account-manager/distinfo
index 88573e9ad58f..7d58d79c9bfd 100644
--- a/sysutils/ldap-account-manager/distinfo
+++ b/sysutils/ldap-account-manager/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ldap-account-manager-4.6.tar.bz2) = df9f267c33ddce52e598ac540fecce0f3dc2546a0cc339f8200f39a1baa411f1
-SIZE (ldap-account-manager-4.6.tar.bz2) = 12358788
+SHA256 (ldap-account-manager-4.7.tar.bz2) = 207b424ca27743095509bc093983978481e9372a285ca6fd8bd3dd2f4dcf924f
+SIZE (ldap-account-manager-4.7.tar.bz2) = 12491347