diff options
author | antoine <antoine@FreeBSD.org> | 2014-09-13 22:18:40 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-09-13 22:18:40 +0800 |
commit | 42d29ca6863852f3643e4138c7cc5f0aa567ffaf (patch) | |
tree | 645f8e95ea31f3a2cbd229eaa64d86e6cdab994f | |
parent | e68bbc1754fcdd932ecf3a67d51d908826562b25 (diff) | |
download | freebsd-ports-gnome-42d29ca6863852f3643e4138c7cc5f0aa567ffaf.tar.gz freebsd-ports-gnome-42d29ca6863852f3643e4138c7cc5f0aa567ffaf.tar.zst freebsd-ports-gnome-42d29ca6863852f3643e4138c7cc5f0aa567ffaf.zip |
- Allow staging as a regular user
- Bump portrevision as files were not packaged with intended owner
-rw-r--r-- | www/b2evolution/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/b2evolution/Makefile b/www/b2evolution/Makefile index c2b466689e91..63e600bf05d1 100644 --- a/www/b2evolution/Makefile +++ b/www/b2evolution/Makefile @@ -3,6 +3,7 @@ PORTNAME= b2evolution PORTVERSION= 4.0.5 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= SF/evocms/${PORTNAME}/b2evo%20${PORTVERSION}-stable DISTNAME= ${PORTNAME}-${PORTVERSION}-${B2EVO_DATE} @@ -39,17 +40,18 @@ pre-everything:: @${SH} ${WARNING} pre-install: + @${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST} @cd ${WRKSRC} && ${FIND} -s . -type f | \ - ${SED} -e 's|^./||;s|^|${B2EVO_DIR}/|' > ${PLIST} \ + ${SED} -e 's|^./||;s|^|${B2EVO_DIR}/|' >> ${PLIST} \ && ${FIND} -d * -type d | \ ${SED} -e 's|^|@dirrm ${B2EVO_DIR}/|' >> ${PLIST} \ && ${ECHO_CMD} @dirrm ${B2EVO_DIR} >> ${PLIST} + @${ECHO_CMD} -e '@owner root\n@group wheel' >> ${PLIST} do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${B2EVO_DIR} @${CHMOD} 755 ${STAGEDIR}${PREFIX}/${B2EVO_DIR} @${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${B2EVO_DIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${B2EVO_DIR} @${CHMOD} 665 ${STAGEDIR}${PREFIX}/${B2EVO_DIR}/blogs/conf/_config.php post-install: |