svn commit: r352362 - head/www/typo3
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Apr 26 18:27:28 UTC 2014
Author: sunpoet
Date: Sat Apr 26 18:27:27 2014
New Revision: 352362
URL: http://svnweb.freebsd.org/changeset/ports/352362
QAT: https://qat.redports.org/buildarchive/r352362/
Log:
- 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 at charlieroot.de> (maintainer)
Modified:
head/www/typo3/Makefile
Modified: head/www/typo3/Makefile
==============================================================================
--- head/www/typo3/Makefile Sat Apr 26 18:26:51 2014 (r352361)
+++ head/www/typo3/Makefile Sat Apr 26 18:27:27 2014 (r352362)
@@ -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}/graphi
.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 \
More information about the svn-ports-all
mailing list