diff options
author | Wen Heping <wen@FreeBSD.org> | 2014-06-10 03:08:43 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2014-06-10 03:08:43 +0000 |
commit | e8b29ff807424f003bcec5267e40eb6e107ffda1 (patch) | |
tree | 450d611cfb2932406aebeac2aaae0c5546b23e2a /www/ilias | |
parent | 818a5199c11c1da10a08ef04018c174f99027d34 (diff) | |
download | ports-e8b29ff807424f003bcec5267e40eb6e107ffda1.tar.gz ports-e8b29ff807424f003bcec5267e40eb6e107ffda1.zip |
Notes
Diffstat (limited to 'www/ilias')
-rw-r--r-- | www/ilias/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/www/ilias/Makefile b/www/ilias/Makefile index debeb8f2e94a..a5bb6ae7c8f2 100644 --- a/www/ilias/Makefile +++ b/www/ilias/Makefile @@ -3,6 +3,7 @@ PORTNAME= ilias PORTVERSION= 4.4.3 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/01.%20ILIAS%204.4/ILIAS%20${PORTVERSION} @@ -49,22 +50,18 @@ RUN_DEPENDS+= ${LOCALBASE}/share/pear/Mail.php:${PORTSDIR}/mail/pear-Mail .endif pre-install: + @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} + @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} + @${ECHO_CMD} "@mode 755" >> ${PLIST} @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${ILIASDIR}?g" >${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${ILIASDIR}?g" >> ${PLIST} @${ECHO} @dirrm ${ILIASDATADIR} >> ${PLIST} + @${ECHO_CMD} "@mode" >> ${PLIST} + @${ECHO_CMD} "@group" >> ${PLIST} + @${ECHO_CMD} "@owner" >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} - @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR} @${INSTALL} -d ${STAGEDIR}${PREFIX}/${ILIASDATADIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${ILIASDATADIR} - @${CHMOD} -R 755 ${STAGEDIR}${PREFIX}/${ILIASDATADIR} - @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ - >> ${TMPPLIST} - @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >>${TMPPLIST} - @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${ILIASDATADIR}' \ - >> ${TMPPLIST} - @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${PREFIX}/${ILIASDATADIR}' >>${TMPPLIST} .include <bsd.port.mk> |