diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-10-12 15:59:52 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-10-12 15:59:52 +0000 |
commit | 65e62699c9f918bade24c4d428975335ec0f6f0e (patch) | |
tree | d80ea3396d6bf2fbc5be8ba4a3e83519037d73b3 /www | |
parent | 88cf21ffe34356a2d6687c355a674d8a4e162f3b (diff) | |
download | ports-65e62699c9f918bade24c4d428975335ec0f6f0e.tar.gz ports-65e62699c9f918bade24c4d428975335ec0f6f0e.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/limesurvey/Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/www/limesurvey/Makefile b/www/limesurvey/Makefile index dfe82ab02055..66c6bbf0f48d 100644 --- a/www/limesurvey/Makefile +++ b/www/limesurvey/Makefile @@ -3,6 +3,7 @@ PORTNAME= limesurvey PORTVERSION= 1.91 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/1._LimeSurvey_stable/${PORTVERSION}+/ DISTNAME= ${PORTNAME}${PORTVERSION:S^.^^}plus-build10232-20110608 @@ -70,20 +71,23 @@ do-install: .endif @cd "${WRKSRC}" && ${COPYTREE_SHARE} . "${STAGEDIR}${WWWDIR}" ${MKDIR} "${STAGEDIR}${WWWDIR}"/tmp - ${CHOWN} -R "${WWWOWN}:${WWWGRP}" "${STAGEDIR}${WWWDIR}" ${CHMOD} 755 "${STAGEDIR}${WWWDIR}"/tmp ${CHMOD} 755 "${STAGEDIR}${WWWDIR}"/templates ${CHMOD} 755 "${STAGEDIR}${WWWDIR}"/upload - ${CHOWN} -R 0 "${STAGEDIR}${WWWDIR}"/admin ${CHMOD} -R go-w "${STAGEDIR}${WWWDIR}"/admin post-install: - @${CAT} ${PKGMESSAGE} - @${ECHO_CMD} "@owner www" >> ${TMPPLIST} - @${ECHO_CMD} "@group www" >> ${TMPPLIST} - @${FIND} -s -d ${STAGEDIR}${WWWDIR} -type f -print | \ + @${ECHO_CMD} "@group ${WWWGRP}" >> ${TMPPLIST} + @${FIND} -s -d ${STAGEDIR}${WWWDIR}/admin -type f -print | \ ${SED} -e "s#${STAGEDIR}${PREFIX}/##g" >> ${TMPPLIST} - @${FIND} -s -d ${STAGEDIR}${WWWDIR} -type d -print | \ - ${SED} -E -e "s#${STAGEDIR}${PREFIX}/#@dirrm #g" >> ${TMPPLIST} + @${FIND} -s -d ${STAGEDIR}${WWWDIR}/admin -type d -print | \ + ${SED} -E -e "s#${STAGEDIR}${PREFIX}/#@dir #g" >> ${TMPPLIST} + @${ECHO_CMD} "@owner ${WWWOWN}" >> ${TMPPLIST} + @${FIND} -s -d ${STAGEDIR}${WWWDIR} ! -path "${STAGEDIR}${WWWDIR}/admin/*" -type f -print | \ + ${SED} -e "s#${STAGEDIR}${PREFIX}/##g" >> ${TMPPLIST} + @${FIND} -s -d ${STAGEDIR}${WWWDIR} -type d ! -path "${STAGEDIR}${WWWDIR}/admin*" -print | \ + ${SED} -E -e "s#${STAGEDIR}${PREFIX}/#@dir #g" >> ${TMPPLIST} + @${ECHO_CMD} "@owner" >> ${TMPPLIST} + @${ECHO_CMD} "@group" >> ${TMPPLIST} .include <bsd.port.mk> |