Date: Wed, 2 Oct 2013 22:56:47 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329124 - in head/www/phprecipebook: . files Message-ID: <201310022256.r92MulAS044784@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Wed Oct 2 22:56:47 2013 New Revision: 329124 URL: http://svnweb.freebsd.org/changeset/ports/329124 Log: - Support staging Modified: head/www/phprecipebook/Makefile head/www/phprecipebook/files/pkg-message.in (contents, props changed) Modified: head/www/phprecipebook/Makefile ============================================================================== --- head/www/phprecipebook/Makefile Wed Oct 2 22:56:34 2013 (r329123) +++ head/www/phprecipebook/Makefile Wed Oct 2 22:56:47 2013 (r329124) @@ -23,7 +23,6 @@ OPTIONS_SINGLE= BACKEND OPTIONS_SINGLE_BACKEND= MYSQL PGSQL OPTIONS_DEFAULT= MYSQL -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MMYSQL} @@ -40,14 +39,11 @@ post-extract: @${CHMOD} -R u+w ${WRKSRC} do-install: - @${CP} ${WRKSRC}/custom_inc.php ${WRKSRC}/custom_inc.php.sample - @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} - @if [ ! -f ${WWWDIR}/custom_inc.php ]; then \ - ${CP} ${WWWDIR}/custom_inc.php.sample \ - ${WWWDIR}/custom_inc.php ; fi - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + ${MV} ${WRKSRC}/custom_inc.php ${WRKSRC}/custom_inc.php.sample + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} post-install: - @${SED} -e 's|%%RECIPEDIR%%|${WWWDIR}|' ${PKGMESSAGE} + @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST} .include <bsd.port.mk> Modified: head/www/phprecipebook/files/pkg-message.in ============================================================================== --- head/www/phprecipebook/files/pkg-message.in Wed Oct 2 22:56:34 2013 (r329123) +++ head/www/phprecipebook/files/pkg-message.in Wed Oct 2 22:56:47 2013 (r329124) @@ -1,9 +1,9 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Please read: -%%RECIPEDIR%%/docs/INSTALL.UNIX +%%WWWDIR%%/docs/INSTALL.UNIX If you are upgrading then read this too: -%%RECIPEDIR%%/docs/UPGRADE.TXT +%%WWWDIR%%/docs/UPGRADE.TXT * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310022256.r92MulAS044784>