www/typo3-13: Add new port, copied from www/typo3-12

Once released in October 2023, the long-term support version of TYPO3 13 will receive
bug fixes until April 2026, and we will provide security updates until October 2027.
Frontend rendering presets
* Content blocks
* Improved search, redirects and workspaces
* Simplified external system integration
* Top-modern image rendering

System requirements
* PHP 8.2, 8.3
* MariaDB 10.4+ / MySQL 8.0+ / PostgreSQL 10.0+ / SQLite 3.8.3+
* Modern Browsers
* Detailed list of requirements:
  https://get.typo3.org/version/12#system-requirements
PR:		279022
Reported by:	maintainer
This commit is contained in:
Wen Heping 2024-05-17 08:03:57 +00:00
commit e5b38e0d47

View file

@ -2454,6 +2454,7 @@
SUBDIR += twms
SUBDIR += typo3-11
SUBDIR += typo3-12
SUBDIR += typo3-13
SUBDIR += uchiwa
SUBDIR += ufdbguard
SUBDIR += ulfius

76
www/typo3-13/Makefile Normal file
View file

@ -0,0 +1,76 @@
PORTNAME= typo3
DISTVERSION= ${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH}
CATEGORIES= www
MASTER_SITES= https://typo3.azureedge.net/typo3/${DISTVERSION}/
PKGNAMESUFFIX= -${PORT_V_MAJOR}${PHP_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}_src-${DISTVERSION}
MAINTAINER= freebsd-ports@charlieroot.de
COMMENT= Typo3 content management system
WWW= https://typo3.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
IGNORE_WITH_PHP= 81
USES= cpe php:web,flavors shebangfix
# php openssl extension is required but it's statically linked in default php
USE_PHP= ctype dom fileinfo filter gd intl mbstring pdo session \
simplexml tokenizer xml zip zlib
WRKSRC= ${WRKDIR}/${PORTNAME}_src-${PORTVERSION}
SHEBANG_GLOB= *.php *.sh
NO_ARCH= yes
NO_BUILD= yes
PORTSCOUT= limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\.
SUB_FILES= pkg-message
SUB_LIST+= PREFIX=${PREFIX} \
TYPO3DIR=${TYPO3DIR} \
TYPO3WWW=${TYPO3WWW}
PORT_V_MAJOR= 13
PORT_V_MINOR= 1
PORT_V_PATCH= 1
TYPO3DIR= www/${PORTNAME}-${PORT_V_MAJOR}
OPTIONS_DEFINE= CURL GMP IMAGICK MYSQL POSTGRES SQLITE
OPTIONS_DEFAULT= MYSQL
IMAGICK_DESC= ${IMAGEMAGICK_DESC}
MBSTRING_DESC= ${MULTIBYTE_DESC}
MYSQL_DESC= Use MySQL as DBMS
POSTGRES_DESC= Use PostgreSQL as DBMS
SQLITE_DESC= Use SQLite as DBMS
CURL_USE= PHP=curl
GMP_USE= PHP=gmp
MYSQL_USE= PHP=mysqli
POSTGRES_USE= PHP=pgsql
SQLITE_USE= PHP=sqlite3
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIMAGICK}
.if ${PORT_OPTIONS:MX11}
USES+= magick:7,run
.else
USES+= magick:7,run,nox11
.endif
.endif
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${TYPO3DIR}
post-install:
@${ECHO_CMD} "@owner ${WWWOWN}" >> ${TMPPLIST}
@${ECHO_CMD} "@group ${WWWGRP}" >> ${TMPPLIST}
@${ECHO_CMD} "@mode 755" >> ${TMPPLIST}
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${TYPO3DIR}?g" >>${TMPPLIST}
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${TYPO3DIR}?g" >> ${TMPPLIST}
@${ECHO_CMD} "@mode" >> ${TMPPLIST}
@${ECHO_CMD} "@group" >> ${TMPPLIST}
@${ECHO_CMD} "@owner" >> ${TMPPLIST}
.include <bsd.port.mk>

3
www/typo3-13/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1715914407
SHA256 (typo3_src-13.1.1.tar.gz) = e57cbb2e201e0fb00007a75e8abf0f796146ea3771240f48f6e3c0d5d37626e8
SIZE (typo3_src-13.1.1.tar.gz) = 25818232

View file

@ -0,0 +1,24 @@
[
{ type: install
message: <<EOM
1) Add the following to your Apache configuration file
httpd.conf and restart the web server:
Alias /typo3 %%PREFIX%%/%%TYPO3WWW%%/%%TYPO3DIR%%/
AcceptPathInfo On
<Directory %%PREFIX%%/%%TYPO3WWW%%/%%TYPO3DIR%%/>
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
</Directory>
2) Visit your TYPO3 site with a browser (i.e.
http://your.server.com/typo3/) to continue the
installation / upgrade process.
For more information, see the INSTALL DOCUMENTATION:
https://docs.typo3.org/typo3cms/GettingStartedTutorial/latest/Installation/Index.html
EOM
}
]

14
www/typo3-13/pkg-descr Normal file
View file

@ -0,0 +1,14 @@
Once released in October 2023, the long-term support version of TYPO3 13 will receive
bug fixes until April 2026, and we will provide security updates until October 2027.
Frontend rendering presets
* Content blocks
* Improved search, redirects and workspaces
* Simplified external system integration
* Top-modern image rendering
System requirements
* PHP 8.2, 8.3
* MariaDB 10.4+ / MySQL 8.0+ / PostgreSQL 10.0+ / SQLite 3.8.3+
* Modern Browsers
* Detailed list of requirements:
https://get.typo3.org/version/12#system-requirements