Skip to content
Snippets Groups Projects
Commit 0810a238 authored by Wen Heping's avatar Wen Heping
Browse files

www/joomla4: Add new port

Joomla! is one of the most powerful Open Source Content Management Systems
on the planet. It is used all over the world for everything from simple
websites to complex corporate applications. Joomla! is easy to install,
simple to manage, and reliable.

WWW: https://www.joomla.org/
parent 9fe69f91
No related branches found
No related tags found
No related merge requests found
PORTNAME= joomla
DISTVERSION= 4-1-3
CATEGORIES= www
MASTER_SITES= https://downloads.joomla.org/cms/joomla4/${DISTVERSION}/
DISTNAME= Joomla_${DISTVERSION}-Stable-Full_Package
MAINTAINER= wen@FreeBSD.org
COMMENT= Dynamic web content management system (CMS)
LICENSE= GPLv2
USES= cpe php:web shebangfix zip
CPE_VENDOR= ${PORTNAME}
CPE_PRODUCT= ${PORTNAME}\!
CONFLICTS= joomla-3.10.[0-9]*
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
USE_PHP= gd json mbstring pcre session simplexml xml zip zlib
MYSQL_USE= PHP=mysqli
PGSQL_USE= PHP=pgsql
PLIST= ${WRKDIR}/plist
JOOMLADIR= www/joomla4
.include <bsd.port.options.mk>
.if ${FLAVOR} != php80 && !defined(PACKAGE_BUILDING)
USE_PHP+= pdf
.endif
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>
TIMESTAMP = 1652487681
SHA256 (Joomla_4-1-3-Stable-Full_Package.zip) = 6196ddf28239bcdb292359c73d30c41b92438aafd8905e5045b37d7b39bedee4
SIZE (Joomla_4-1-3-Stable-Full_Package.zip) = 27405668
[
{ type: install
message: <<EOM
1) Add the following to your Apache configuration, and restart the server:
Alias /joomla %%WWWDIR%%/
AcceptPathInfo On
<Directory %%WWWDIR%%>
AllowOverride None
Order Allow,Deny
Require all granted
</Directory>
2) Visit your Joomla site with a browser (i.e. http://your.server.com/joomla/),
and you should be taken to the install.php script, which will lead you
through creating a config.php file and then setting up Joomla, creating
an admin account, etc.
EOM
}
]
Joomla! is one of the most powerful Open Source Content Management Systems
on the planet. It is used all over the world for everything from simple
websites to complex corporate applications. Joomla! is easy to install,
simple to manage, and reliable.
WWW: https://www.joomla.org/
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment