freebsd-ports/www/joomla3/Makefile
Larry Rosenman 3864ff1459 www/joomla3: upgrade to 3.8.5.
Fix regression in 3.8.4

Reported by:	Gerard Seibert <gerard@seibercom.net>
2018-02-06 18:40:29 +00:00

49 lines
1.1 KiB
Makefile

# Created by: Francisco Cabrita <include@npf.pt.freebsd.org>
# $FreeBSD$
PORTNAME= joomla
PORTVERSION= 3.8.5
CATEGORIES= www
PKGNAMESUFFIX= 3
MAINTAINER= ler@FreeBSD.org
COMMENT= Dynamic web content management system (CMS)
LICENSE= GPLv2
GH_PROJECT= ${PORTNAME}-cms
NO_ARCH= yes
NO_BUILD= yes
OPTIONS_DEFINE= MYSQL PGSQL
OPTIONS_DEFAULT=MYSQL
OPTIONS_SUB= yes
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
USES= php:web shebangfix
SHEBANG_FILES= build/indexmaker.php \
libraries/vendor/leafo/lessphp/lessify
SUB_FILES= pkg-message
USE_GITHUB= yes
USE_PHP= gd json mbstring pcre pdf session simplexml xml zip zlib
MYSQL_USE= PHP=mysqli
PGSQL_USE= PHP=pgsql
WWWDIR= ${PREFIX}/www/${PORTNAME}${PORTVERSION:R:R}
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
@(cd ${WRKSRC} && \
${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${WWWDIR}/{} \;)
@(cd ${WRKSRC} && \
${FIND} . \! -type d -and \! \( -name .gitignore -or -name .travis.yml \
-or -name travisci-phpunit.xml -or -name LICENSE.txt \
-or -name README.md \) \
-exec ${INSTALL_DATA} {} ${STAGEDIR}${WWWDIR}/{} \;)
.include <bsd.port.mk>