Changeset View
Changeset View
Standalone View
Standalone View
head/www/joomla31/Makefile
Show All 10 Lines | |||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
GH_PROJECT= ${PORTNAME}-cms | GH_PROJECT= ${PORTNAME}-cms | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} | PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} | ||||
php_OLD_CMD= C:\\\xampp\\\php\\\.\\\php.exe | |||||
REINPLACE_ARGS= -i '' -E -e 's,(${php_OLD_CMD})|(/usr/bin/php),${LOCALBASE}/bin/php,g' | USES= shebangfix | ||||
REINPLACE_FILES= build/indexmaker.php tests/system/phpunit.php \ | php_OLD_CMD= C:\\\xampp\\\php\\\.\\\php.exe | ||||
SHEBANG_FILES= build/indexmaker.php tests/system/phpunit.php \ | |||||
tests/system/webdriver/tests/phpunit.php | tests/system/webdriver/tests/phpunit.php | ||||
SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
USE_MYSQL= yes | USE_MYSQL= yes | ||||
USE_PHP= gd json mbstring mysql mysqli pcre pdf session simplexml xml zip zlib | USE_PHP= gd json mbstring mysql mysqli pcre pdf session simplexml xml zip zlib | ||||
WANT_PHP_WEB= yes | WANT_PHP_WEB= yes | ||||
WWWDIR= ${PREFIX}/www/${PORTNAME}${PORTVERSION:R:R} | WWWDIR= ${PREFIX}/www/${PORTNAME}${PORTVERSION:R:R} | ||||
pre-patch: | |||||
@(cd ${WRKSRC} && ${REINPLACE_CMD} ${REINPLACE_FILES}) | |||||
do-install: | do-install: | ||||
@${MKDIR} ${STAGEDIR}${WWWDIR} | @${MKDIR} ${STAGEDIR}${WWWDIR} | ||||
@(cd ${WRKSRC} && \ | @(cd ${WRKSRC} && \ | ||||
${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${WWWDIR}/{} \;) | ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${WWWDIR}/{} \;) | ||||
@(cd ${WRKSRC} && \ | @(cd ${WRKSRC} && \ | ||||
${FIND} . \! -type d -and \! \( -name .gitignore -or -name .travis.yml \ | ${FIND} . \! -type d -and \! \( -name .gitignore -or -name .travis.yml \ | ||||
-or -name travisci-phpunit.xml -or -name LICENSE.txt \ | -or -name travisci-phpunit.xml -or -name LICENSE.txt \ | ||||
-or -name README.md \) \ | -or -name README.md \) \ | ||||
-exec ${INSTALL_DATA} {} ${STAGEDIR}${WWWDIR}/{} \;) | -exec ${INSTALL_DATA} {} ${STAGEDIR}${WWWDIR}/{} \;) | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |