Date: Sun, 5 Oct 2014 09:29:41 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370046 - head/www/phpmp Message-ID: <201410050929.s959TfYs076992@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sun Oct 5 09:29:40 2014 New Revision: 370046 URL: https://svnweb.freebsd.org/changeset/ports/370046 QAT: https://qat.redports.org/buildarchive/r370046/ Log: - Allow staging as a regular user - Bump portrevision as files were not packaged with intended owner Modified: head/www/phpmp/Makefile head/www/phpmp/pkg-plist Modified: head/www/phpmp/Makefile ============================================================================== --- head/www/phpmp/Makefile Sun Oct 5 09:25:28 2014 (r370045) +++ head/www/phpmp/Makefile Sun Oct 5 09:29:40 2014 (r370046) @@ -3,6 +3,7 @@ PORTNAME= phpmp PORTVERSION= 0.12.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/ @@ -15,15 +16,11 @@ NO_BUILD= yes USE_PHP= pcre sockets PHPMP?= ${WWWDIR_REL} -PLIST_SUB+= PHPMP=${PHPMP} +PLIST_SUB= PHPMP="${PHPMP}" WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${PHPMP} @${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${PHPMP} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PHPMP} @${CHMOD} -R 755 ${STAGEDIR}${PREFIX}/${PHPMP} -post-install: - @${CAT} ${PKGMESSAGE} - .include <bsd.port.mk> Modified: head/www/phpmp/pkg-plist ============================================================================== --- head/www/phpmp/pkg-plist Sun Oct 5 09:25:28 2014 (r370045) +++ head/www/phpmp/pkg-plist Sun Oct 5 09:29:40 2014 (r370046) @@ -1,11 +1,11 @@ +@owner %%WWWOWN%% +@group %%WWWGRP%% %%PHPMP%%/COPYING %%PHPMP%%/ChangeLog %%PHPMP%%/INSTALL %%PHPMP%%/README %%PHPMP%%/TODO -@unexec if cmp -s %D/%%PHPMP%%/config.php.sample %D/%%PHPMP%%/config.php; then rm -f %D/%%PHPMP%%/config.php; fi -%%PHPMP%%/config.php.sample -@exec if [ ! -f %D/%%PHPMP%%/config.php ] ; then cp -p %D/%F %B/config.php; fi +@sample %%PHPMP%%/config.php.sample %%PHPMP%%/features.php %%PHPMP%%/index.php %%PHPMP%%/info.php @@ -18,4 +18,6 @@ %%PHPMP%%/transparent.gif %%PHPMP%%/utils.php %%PHPMP%%/xml-parse.php -@dirrmtry %%PHPMP%% +@dir %%PHPMP%% +@owner +@group
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410050929.s959TfYs076992>