diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-09-19 21:35:07 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-09-19 21:35:07 +0000 |
commit | ee435ef5bd7a5f8f634ccfbac0b839902a06cc46 (patch) | |
tree | 18f1bb789cb556537da87791e932f21b19c068ee /www/orangehrm | |
parent | eb99c05f4b6e04210c44ac95c2ed651e73277e17 (diff) | |
download | ports-ee435ef5bd7a5f8f634ccfbac0b839902a06cc46.tar.gz ports-ee435ef5bd7a5f8f634ccfbac0b839902a06cc46.zip |
Notes
Diffstat (limited to 'www/orangehrm')
-rw-r--r-- | www/orangehrm/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/www/orangehrm/Makefile b/www/orangehrm/Makefile index 8b02f5041b27..ef52d7378bda 100644 --- a/www/orangehrm/Makefile +++ b/www/orangehrm/Makefile @@ -3,6 +3,7 @@ PORTNAME= orangehrm PORTVERSION= 3.1.2 +PORTREVISION= 1 CATEGORIES= www misc MASTER_SITES= SF/${PORTNAME}/stable/${PORTVERSION} @@ -17,19 +18,14 @@ SUB_FILES= pkg-message HRMDIR= www/orangehrm pre-install: - @${FIND} -s -d ${WRKSRC} -type l | ${SED} "s#${WRKSRC}#${HRMDIR}#g" >${PLIST} + @${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST} + @${FIND} -s -d ${WRKSRC} -type l | ${SED} "s#${WRKSRC}#${HRMDIR}#g" >>${PLIST} @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s#${WRKSRC}#${HRMDIR}#g" >>${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dirrm ${HRMDIR}#g" >> ${PLIST} + @${ECHO_CMD} -e '@owner root\n@group wheel' >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${HRMDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${HRMDIR} - @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${HRMDIR}' \ - >> ${TMPPLIST} ${CHMOD} -R 755 ${STAGEDIR}${PREFIX}/${HRMDIR} - @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${PREFIX}/${HRMDIR}' >> ${TMPPLIST} - -post-install: - @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |