- Repocopy typo3-8 --> typo3-9 and update to 9.5.1

PR:		232112
Submitted by:	freebsd-ports@charlieroot.de(maintainer)
This commit is contained in:
Wen Heping 2018-11-08 10:31:08 +00:00
parent e1af65356a
commit 10364f9509
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484442
5 changed files with 133 additions and 0 deletions

View file

@ -2415,6 +2415,7 @@
SUBDIR += twill
SUBDIR += twms
SUBDIR += typo3-8
SUBDIR += typo3-9
SUBDIR += uchiwa
SUBDIR += udmsearch
SUBDIR += ufdbguard

94
www/typo3-9/Makefile Normal file
View file

@ -0,0 +1,94 @@
# Created by: Helmut Ritter <freebsd-ports@charlieroot.de>
# $FreeBSD$
PORTNAME= typo3
PORTVERSION= ${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH}
CATEGORIES= www
MASTER_SITES= https://typo3.azureedge.net/typo3/${PORTVERSION}/
PKGNAMESUFFIX= -${PORT_V_MAJOR}${PHP_PKGNAMESUFFIX}
MAINTAINER= freebsd-ports@charlieroot.de
COMMENT= Typo3 content management system
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
IGNORE_WITH_PHP=56 70 71
USES= cpe php:web,flavors shebangfix
USE_PHP= ctype dom fileinfo filter hash intl json openssl pcre session simplexml \
spl soap tokenizer xml zip
WRKSRC= ${WRKDIR}/${TYPO3SRC}
NO_BUILD= yes
NO_ARCH= yes
SHEBANG_GLOB= *.sh *.php
PORTSCOUT= limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\.
PORT_V_MAJOR= 9
PORT_V_MINOR= 5
PORT_V_PATCH= 1
TYPO3WWW= www
TYPO3SRC= ${PORTNAME}_src-${PORTVERSION}
TYPO3DIR= ${PORTNAME}-${PORT_V_MAJOR}
USERS= ${WWWOWN}
GROUPS= ${WWWGRP}
SUB_FILES= pkg-message
SUB_LIST+= PREFIX=${PREFIX} \
TYPO3WWW=${TYPO3WWW} \
TYPO3DIR=${TYPO3DIR}
DISTFILES+= ${TYPO3SRC}${EXTRACT_SUFX}
OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL POSTGRES SQLSRV SQLITE ZLIB
OPTIONS_DEFAULT=MYSQL
GD_DESC= GDlib/freetype support
IMAGICK_DESC= ${IMAGEMAGICK_DESC}
MBSTRING_DESC= ${MULTIBYTE_DESC}
MYSQL_DESC= Use MySQL as DBMS
POSTGRES_DESC= Use PostgreSQL as DBMS
SQLITE_DESC= Use SQLiet as DBMS
SQLSRV_DESC= Use MSSQL as DBMS
CURL_USE= PHP=curl
GD_USE= PHP=gd
GMP_USE= PHP=gmp
MBSTRING_USE= PHP=mbstring
MYSQL_USE= PHP=mysqli
POSTGRES_USE= PHP=postgresql
SQLSRV_USE= PHP=sqlsrv
SQLITE_USE= PHP=sqlite
ZLIB_USE= PHP=zlib
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIMAGICK}
.if ${PORT_OPTIONS:MX11}
RUN_DEPENDS+= convert:graphics/ImageMagick
.else
RUN_DEPENDS+= convert:graphics/ImageMagick-nox11
.endif
.endif
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}
${CP} -R ${WRKDIR}/${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/
${LN} -fs ../${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3_src
${LN} -fs typo3_src/index.php ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/index.php
${LN} -fs typo3_src/typo3 ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3
post-install:
@cd ${STAGEDIR}${PREFIX}; \
${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3DIR}/*" | \
${SORT} >> ${TMPPLIST}; \
${ECHO} "@owner ${WWWOWN}" >> ${TMPPLIST}; \
${ECHO} "@dir ${TYPO3WWW}/${TYPO3DIR}" >> ${TMPPLIST}
@cd ${STAGEDIR}${PREFIX}; \
${ECHO} "@owner" >> ${TMPPLIST}; \
${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3SRC}/*" | \
${SORT} >> ${TMPPLIST}
.include <bsd.port.mk>

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

@ -0,0 +1,3 @@
TIMESTAMP = 1541599834
SHA256 (typo3_src-9.5.1.tar.gz) = bf5472f2adbbb3e32851c21be32516a28e704e2509e0ea341d73a760a7cfcb07
SIZE (typo3_src-9.5.1.tar.gz) = 26991695

View file

@ -0,0 +1,25 @@
*************************************
POST-INSTALL CONFIGURATION FOR TYPO3
=====================================
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 None
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
*************************************

10
www/typo3-9/pkg-descr Normal file
View file

@ -0,0 +1,10 @@
TYPO3 is a free Open Source content management system for enterprise purposes
on the web and in intranets. It offers full flexibility and extendability while
featuring an accomplished set of ready-made interfaces, functions and modules.
The current stable LTS release (for all new projects).
The latest version with Long Term Support (LTS).
It will have full support until April 2020 and security-related bugfixes
until September 2021.
WWW: https://typo3.org/