1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/www/joomla4/Makefile

56 lines
1.3 KiB
Makefile
Raw Normal View History

PORTNAME= joomla
2024-01-16 13:13:19 +00:00
DISTVERSION= 4-4-2
CATEGORIES= www
MASTER_SITES= https://downloads.joomla.org/cms/joomla4/${DISTVERSION}/
PKGNAMESUFFIX= 4
DISTNAME= Joomla_${DISTVERSION}-Stable-Full_Package
MAINTAINER= wen@FreeBSD.org
COMMENT= Dynamic web content management system (CMS)
WWW= https://www.joomla.org/
LICENSE= GPLv2
USES= cpe php:web shebangfix zip
CPE_VENDOR= ${PORTNAME}
CPE_PRODUCT= ${PORTNAME}\!
CONFLICTS_INSTALL= joomla3
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
*/*: Remove merged or non-existent USE_PHP directives - Remove USE_PHP=hash which is available in default php installation of all versions of php * security/pear-Horde_Crypt_Blowfish: Remove OPTION MHASH - Remove USE_PHP=json which is available in default php installation of all versions of php * devel/pear-PHPTAL: Remove OPTION JSON * www/ilias: Remove OPTION SCORM2004 - Remove USE_PHP=mssql which is no longer available in php from php80 and later and has been replaced with sqlsrv module which is Windows only * www/codeigniter: Remove OPTION MSSQL * www/moodle311: Remove OPTION MSSQL * www/moodle39: Remove OPTION MSSQL * www/moodle40: Remove OPTION MSSQL * www/moodle41: Remove OPTION MSSQL - Remove USE_PHP=openssl which is available in default php installation of all versions of php * databases/phpmyadmin: Remove OPTION OPENSSL * databases/phpmyadmin5: Remove OPTION OPENSSL * security/pear-Horde_Crypt_Blowfish: Remove OPTION OPENSSL * www/nextcloud: Remove OPTION SSL * www/owncloud: Remove OPTION SSL - Remove USE_PHP=pcre which is available in default php installation of all versions of php * sysutils/racktables: Remove OPTION PCRE - Remove USE_PHP=postgresql which should be USE_PHP=pgsql and update following ports * www/typo3-11 * www/typo3-12 - Remove USE_PHP=pdf which is no longer available as php module * databases/phpmyadmin: Remove OPTION PDF - Remove USE_PHP=spl which is available in default php installation of all versions of php - Remove USE_PHP=sqlsrv which was never imported into FreeBSD as that is Windows only php module * www/typo3-11: Remove OPTION SQLSRV * www/typo3-12: Remove OPTION SQLSRV - Bump where DEFAULT OPTIONS are affected Sponsored by: Bounce Experts Approved by: portmgr(blanket)
2023-04-16 16:10:47 +00:00
USE_PHP= gd mbstring session simplexml xml zip zlib
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>