Changeset View
Changeset View
Standalone View
Standalone View
www/joomla3/Makefile
Show All 32 Lines | |||||
MYSQL_USE= PHP=mysqli | MYSQL_USE= PHP=mysqli | ||||
PGSQL_USE= PHP=pgsql | PGSQL_USE= PHP=pgsql | ||||
WWWDIR= ${PREFIX}/www/${PORTNAME}${PORTVERSION:R:R} | WWWDIR= ${PREFIX}/www/${PORTNAME}${PORTVERSION:R:R} | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${FLAVOR} != php80 | .if ${FLAVOR} != php80 && !defined(PACKAGE_BUILDING) | ||||
USE_PHP+= pdf | USE_PHP+= pdf | ||||
.endif | .endif | ||||
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> |