Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 18:26:52 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352361 - head/www/typo3-lts
Message-ID:  <201404261826.s3QIQq78082469@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Apr 26 18:26:51 2014
New Revision: 352361
URL: http://svnweb.freebsd.org/changeset/ports/352361
QAT: https://qat.redports.org/buildarchive/r352361/

Log:
  - 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>

Modified:
  head/www/typo3-lts/Makefile

Modified: head/www/typo3-lts/Makefile
==============================================================================
--- head/www/typo3-lts/Makefile	Sat Apr 26 18:20:06 2014	(r352360)
+++ head/www/typo3-lts/Makefile	Sat Apr 26 18:26:51 2014	(r352361)
@@ -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}/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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404261826.s3QIQq78082469>