git: d4fb01a63b98 - main - www/joomla5: New port
- Reply: Jason E. Hale: "Re: git: d4fb01a63b98 - main - www/joomla5: New port"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Oct 2023 01:17:57 UTC
The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=d4fb01a63b98fa714cd1dbf5eddde1b36dd15b98 commit d4fb01a63b98fa714cd1dbf5eddde1b36dd15b98 Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2023-10-26 01:16:13 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2023-10-26 01:17:41 +0000 www/joomla5: 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/joomla5/Makefile | 56 ++++++++++++++++++++++++++++++++++++++++ www/joomla5/distinfo | 3 +++ www/joomla5/files/pkg-message.in | 20 ++++++++++++++ www/joomla5/pkg-descr | 4 +++ 4 files changed, 83 insertions(+) diff --git a/www/joomla5/Makefile b/www/joomla5/Makefile new file mode 100644 index 000000000000..6d360392dbff --- /dev/null +++ b/www/joomla5/Makefile @@ -0,0 +1,56 @@ +PORTNAME= joomla +DISTVERSION= 5-0-0 +CATEGORIES= www +MASTER_SITES= https://downloads.joomla.org/cms/joomla5/${DISTVERSION}/ +PKGNAMESUFFIX= 5 +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= joomla4 + +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= dom gd mbstring session simplexml xml \ + zip zlib + +MYSQL_USE= PHP=mysqli +PGSQL_USE= PHP=pgsql + +PLIST= ${WRKDIR}/plist +JOOMLADIR= www/joomla + +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> diff --git a/www/joomla5/distinfo b/www/joomla5/distinfo new file mode 100644 index 000000000000..4a065d4bdb36 --- /dev/null +++ b/www/joomla5/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1698220371 +SHA256 (Joomla_5-0-0-Stable-Full_Package.zip) = 683f54ddaac5caa862028d63ffe2ad9ac0902622551c7ed837c1cfe6d07fd9ac +SIZE (Joomla_5-0-0-Stable-Full_Package.zip) = 28241369 diff --git a/www/joomla5/files/pkg-message.in b/www/joomla5/files/pkg-message.in new file mode 100644 index 000000000000..a2b2b6e45585 --- /dev/null +++ b/www/joomla5/files/pkg-message.in @@ -0,0 +1,20 @@ +[ +{ 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 + 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 +} +] diff --git a/www/joomla5/pkg-descr b/www/joomla5/pkg-descr new file mode 100644 index 000000000000..65c7eb1c1a2c --- /dev/null +++ b/www/joomla5/pkg-descr @@ -0,0 +1,4 @@ +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.