diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-04-26 18:27:27 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-04-26 18:27:27 +0000 |
commit | fe4bdf90b3f5595c2ae1251193529892c67b011e (patch) | |
tree | 0df1655ace8736aadeff8a5d5a0f2e4ff1e1fd9a /www | |
parent | d6cb881114212303c52fca23c3a7c27426af9da2 (diff) | |
download | freebsd-ports-fe4bdf90b3f5595c2ae1251193529892c67b011e.zip |
- While I'm here:
- Convert to new options helper
- Remove outdated IGNORE_WITH_MYSQL and IGNORE_WITH_PHP
PR: ports/188730
Submitted by: Helmut Ritter <freebsd-ports@charlieroot.de> (maintainer)
Diffstat (limited to 'www')
-rw-r--r-- | www/typo3/Makefile | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/www/typo3/Makefile b/www/typo3/Makefile index 81f6a37bc2ce..18c768749110 100644 --- a/www/typo3/Makefile +++ b/www/typo3/Makefile @@ -16,7 +16,6 @@ PORTSCOUT= limit:^6\.1\. NO_BUILD= yes USE_PHP= ctype filter json mysqli pcre session xml WANT_PHP_WEB= yes -IGNORE_WITH_PHP=52 TYPO3WWW= www TYPO3RELEASE= @@ -37,19 +36,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} @@ -59,19 +53,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 \ |