Date: Wed, 2 Oct 2013 22:55:18 +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: r329121 - head/www/ajaxplorer Message-ID: <201310022255.r92MtIqr043346@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Wed Oct 2 22:55:18 2013 New Revision: 329121 URL: http://svnweb.freebsd.org/changeset/ports/329121 Log: - Support staging Modified: head/www/ajaxplorer/Makefile Modified: head/www/ajaxplorer/Makefile ============================================================================== --- head/www/ajaxplorer/Makefile Wed Oct 2 22:48:09 2013 (r329120) +++ head/www/ajaxplorer/Makefile Wed Oct 2 22:55:18 2013 (r329121) @@ -18,7 +18,6 @@ DOS2UNIX_REGEX= .*\.php WANT_PHP_WEB= yes SUB_FILES= pkg-deinstall pkg-install pkg-message -NO_STAGE= yes post-patch: @${RM} -f ${WRKSRC}/plugins/gui.ajax/res/themes/vision/images/mimes/16/._users-folder.png @${MV} ${WRKSRC}/conf/bootstrap_conf.php ${WRKDIR}/bootstrap_conf.php.sample @@ -26,24 +25,13 @@ post-patch: @${MV} ${WRKSRC}/conf/bootstrap_repositories.php ${WRKDIR}/bootstrap_repositories.php.sample do-install: - ${MKDIR} ${WWWDIR} - (cd ${WRKSRC} && ${COPYTREE_SHARE} "* .htaccess" ${WWWDIR}) - ${INSTALL_DATA} ${WRKDIR}/bootstrap_*.php.sample ${WWWDIR}/conf - ${INSTALL_DATA} ${FILESDIR}/4.2.3-5.0.0-db-upgrade.sql ${WWWDIR}/conf - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + ${MKDIR} ${STAGEDIR}${WWWDIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} "* .htaccess" ${STAGEDIR}${WWWDIR}) + ${INSTALL_DATA} ${WRKDIR}/bootstrap_*.php.sample ${STAGEDIR}${WWWDIR}/conf + ${INSTALL_DATA} ${FILESDIR}/4.2.3-5.0.0-db-upgrade.sql ${STAGEDIR}${WWWDIR}/conf + ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} post-install: - @if [ ! -f ${WWWDIR}/conf/bootstrap_conf.php ]; then \ - ${CP} -p ${WWWDIR}/conf/bootstrap_conf.php.sample ${WWWDIR}/conf/bootstrap_conf.php ; \ - fi - @if [ ! -f ${WWWDIR}/conf/bootstrap_context.php ]; then \ - ${CP} -p ${WWWDIR}/conf/bootstrap_context.php.sample ${WWWDIR}/conf/bootstrap_context.php ; \ - fi - @if [ ! -f ${WWWDIR}/conf/bootstrap_repositories.php ]; then \ - ${CP} -p ${WWWDIR}/conf/bootstrap_repositories.php.sample ${WWWDIR}/conf/bootstrap_repositories.php ; \ - fi @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST} - @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - @${CAT} ${PKGMESSAGE} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310022255.r92MtIqr043346>