- Convert to new options framework [1] - Update www/typo345 to 4.5.19 [2] - Update www/typo346 to 4.6.12 [3] - Changes: https://typo3.org/news/article/typo3-4519-4612-and-474-released/ - Document security vulnerabilities [4] https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2012-004/ PR: ports/170650 [1] PR: ports/170647 [2] PR: ports/170649 [3] Submitted by: Helmut Schneider <jumper99@gmx.de> (maintainer) Security: 48bcb4b2-e708-11e1-a59d-000d601460a4 [4] Approved by: eadler (mentor)
74 lines
1.8 KiB
Makefile
74 lines
1.8 KiB
Makefile
# New ports collection makefile for: www/typo3
|
|
# Date created: February 6th 2005
|
|
# Whom: Gerrit Beine <tux@pinguru.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= typo3
|
|
PORTVERSION= 4.5.19
|
|
CATEGORIES= www
|
|
MASTER_SITES= SF/${PORTNAME}/TYPO3%20Source%20and%20Dummy/TYPO3%20${PORTVERSION}
|
|
|
|
MAINTAINER= jumper99@gmx.de
|
|
COMMENT= The typo3 content management system
|
|
|
|
LICENSE= GPLv2
|
|
|
|
NO_LATEST_LINK= yes
|
|
NO_BUILD= yes
|
|
USE_PHP= ctype filter json mysql pcre session xml
|
|
WANT_PHP_WEB= yes
|
|
IGNORE_WITH_PHP=4
|
|
|
|
TYPO3WWW= www
|
|
TYPO3RELEASE= 45
|
|
TYPO3SITE= ${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}
|
|
TYPO3PKG= ${PORTNAME}-${PORTVERSION}
|
|
TYPO3SRC= ${PORTNAME}_src-${PORTVERSION}
|
|
TYPO3DUMMY= dummy-${PORTVERSION}
|
|
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
|
|
|
DISTFILES+= ${TYPO3SRC}${EXTRACT_SUFX} ${TYPO3DUMMY}${EXTRACT_SUFX}
|
|
|
|
OPTIONS_DEFINE= CURL GD IMAGICK MBSTRING ZLIB
|
|
IMAGICK_DESC= ${IMAGEMAGICK_DESC}
|
|
MBSTRING_DESC= ${MULTIBYTE_DESC}
|
|
GD_DESC= GDlib/freetype support
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORT_OPTIONS:MCURL}
|
|
USE_PHP+= curl
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MGD}
|
|
USE_PHP+= gd
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MIMAGICK}
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MMBSTRING}
|
|
USE_PHP+= mbstring
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MZLIB}
|
|
USE_PHP+= zlib
|
|
.endif
|
|
|
|
pre-install:
|
|
${MV} ${WRKDIR}/${TYPO3DUMMY}/typo3conf/localconf.php ${WRKDIR}/${TYPO3DUMMY}/typo3conf/localconf.php.dist
|
|
|
|
do-install:
|
|
${CP} -R ${WRKDIR}/${TYPO3DUMMY}/ ${PREFIX}/${TYPO3SITE}
|
|
${CP} -R ${WRKDIR}/${TYPO3SRC} ${PREFIX}/${TYPO3WWW}
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPO3SITE}
|
|
${RM} ${PREFIX}/${TYPO3SITE}/typo3_src && \
|
|
cd ${PREFIX}/${TYPO3SITE} && \
|
|
${LN} -s ../${TYPO3SRC} typo3_src
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPO3WWW}/${TYPO3SRC}
|
|
|
|
.include <bsd.port.post.mk>
|