2022-05-14 05:58:43 +00:00
|
|
|
PORTNAME= joomla
|
2024-01-16 13:13:19 +00:00
|
|
|
DISTVERSION= 4-4-2
|
2022-05-14 05:58:43 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= https://downloads.joomla.org/cms/joomla4/${DISTVERSION}/
|
2022-05-16 08:37:02 +00:00
|
|
|
PKGNAMESUFFIX= 4
|
2022-05-14 05:58:43 +00:00
|
|
|
DISTNAME= Joomla_${DISTVERSION}-Stable-Full_Package
|
|
|
|
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
|
|
COMMENT= Dynamic web content management system (CMS)
|
2022-09-07 21:06:12 +00:00
|
|
|
WWW= https://www.joomla.org/
|
2022-05-14 05:58:43 +00:00
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
USES= cpe php:web shebangfix zip
|
|
|
|
CPE_VENDOR= ${PORTNAME}
|
|
|
|
CPE_PRODUCT= ${PORTNAME}\!
|
|
|
|
|
2022-05-15 04:27:13 +00:00
|
|
|
CONFLICTS_INSTALL= joomla3
|
2022-05-14 05:58:43 +00:00
|
|
|
|
|
|
|
NO_ARCH= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= MYSQL PGSQL
|
|
|
|
OPTIONS_DEFAULT=MYSQL
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2023-04-16 16:10:47 +00:00
|
|
|
USE_PHP= gd mbstring session simplexml xml zip zlib
|
2022-05-14 05:58:43 +00:00
|
|
|
|
|
|
|
MYSQL_USE= PHP=mysqli
|
|
|
|
PGSQL_USE= PHP=pgsql
|
|
|
|
|
|
|
|
PLIST= ${WRKDIR}/plist
|
|
|
|
JOOMLADIR= www/joomla4
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST}
|
|
|
|
@${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST}
|
|
|
|
@${ECHO_CMD} "@mode 755" >> ${PLIST}
|
|
|
|
|
|
|
|
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${JOOMLADIR}?g" >>${PLIST}
|
|
|
|
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${JOOMLADIR}?g" >> ${PLIST}
|
|
|
|
|
|
|
|
@${ECHO_CMD} "@mode" >> ${PLIST}
|
|
|
|
@${ECHO_CMD} "@group" >> ${PLIST}
|
|
|
|
@${ECHO_CMD} "@owner" >> ${PLIST}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${JOOMLADIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|