summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-04-26 18:29:30 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-04-26 18:29:30 +0000
commit9ba0afb14ed45bcdb7f7792313cf536d65c497d6 (patch)
tree280e199594dfb326e87d37184fe08fb81973a775 /www
parentccb596735a9a843a907535c99ea2a1df22201038 (diff)
downloadfreebsd-ports-9ba0afb14ed45bcdb7f7792313cf536d65c497d6.zip
- While I'm here, convert to new options helper
PR: ports/188731 Submitted by: Helmut Ritter <freebsd-ports@charlieroot.de> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/typo347/Makefile21
1 files changed, 5 insertions, 16 deletions
diff --git a/www/typo347/Makefile b/www/typo347/Makefile
index 94ed41b56b19..87abb0ffa28c 100644
--- a/www/typo347/Makefile
+++ b/www/typo347/Makefile
@@ -35,15 +35,12 @@ GD_DESC= GDlib/freetype support
IMAGICK_DESC= ${IMAGEMAGICK_DESC}
MBSTRING_DESC= ${MULTIBYTE_DESC}
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MCURL}
-USE_PHP+= curl
-.endif
+CURL_USE= PHP=curl
+GD_USE= PHP=gd
+MBSTRING_USE= PHP=mbstring
+ZLIB_USE= PHP=zlib
-.if ${PORT_OPTIONS:MGD}
-USE_PHP+= gd
-.endif
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIMAGICK}
.if ${PORT_OPTIONS:MX11}
@@ -53,14 +50,6 @@ RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick-nox11
.endif
.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