summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-04-26 18:26:51 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-04-26 18:26:51 +0000
commitd6cb881114212303c52fca23c3a7c27426af9da2 (patch)
treea2f333af13974ce66ceb7f87588a577b8519e41f /www
parent03230cdba7967486ca5ade626df97785c4ad55fd (diff)
downloadfreebsd-ports-d6cb881114212303c52fca23c3a7c27426af9da2.zip
- While I'm here:
- Convert to new options helper - Remove outdated IGNORE_WITH_MYSQL and IGNORE_WITH_PHP PR: ports/188438 Submitted by: Helmut Ritter <freebsd-ports@charlieroot.de>
Diffstat (limited to 'www')
-rw-r--r--www/typo3-lts/Makefile33
1 files changed, 7 insertions, 26 deletions
diff --git a/www/typo3-lts/Makefile b/www/typo3-lts/Makefile
index 75424cd3c084..49b276325256 100644
--- a/www/typo3-lts/Makefile
+++ b/www/typo3-lts/Makefile
@@ -16,7 +16,6 @@ PORTSCOUT= limit:^6\.2\.
NO_BUILD= yes
USE_PHP= ctype filter json mysqli pcre session xml
WANT_PHP_WEB= yes
-IGNORE_WITH_PHP=52
TYPO3WWW= www
TYPO3RELEASE= LTS
@@ -36,19 +35,14 @@ IMAGICK_DESC= ${IMAGEMAGICK_DESC}
MBSTRING_DESC= ${MULTIBYTE_DESC}
MYSQL_DESC= Install MySQL Server
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MAPC}
-USE_PHP+= apc
-.endif
+APC_USE= PHP=apc
+CURL_USE= PHP=curl
+GD_USE= PHP=gd
+MBSTRING_USE= PHP=mbstring
+MYSQL_USE= MYSQL=server
+ZLIB_USE= PHP=zlib
-.if ${PORT_OPTIONS:MCURL}
-USE_PHP+= curl
-.endif
-
-.if ${PORT_OPTIONS:MGD}
-USE_PHP+= gd
-.endif
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIMAGICK}
.if ${PORT_OPTIONS:MX11}
@@ -58,19 +52,6 @@ RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick-nox11
.endif
.endif
-.if ${PORT_OPTIONS:MMBSTRING}
-USE_PHP+= mbstring
-.endif
-
-.if ${PORT_OPTIONS:MMYSQL}
-USE_MYSQL= server
-IGNORE_WITH_MYSQL= 50
-.endif
-
-.if ${PORT_OPTIONS:MZLIB}
-USE_PHP+= zlib
-.endif
-
#pre-install:
# @if [ -f ${WRKDIR}/${TYPO3DUMMY}/typo3conf/LocalConfiguration.php ]; then \
# ${MV} ${WRKDIR}/${TYPO3DUMMY}/typo3conf/LocalConfiguration.php \