Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 18:29:31 +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: r352364 - head/www/typo347
Message-ID:  <201404261829.s3QITV6R082983@svn.freebsd.org>

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

Log:
  - While I'm here, convert to new options helper
  
  PR:		ports/188731
  Submitted by:	Helmut Ritter <freebsd-ports@charlieroot.de> (maintainer)

Modified:
  head/www/typo347/Makefile

Modified: head/www/typo347/Makefile
==============================================================================
--- head/www/typo347/Makefile	Sat Apr 26 18:28:46 2014	(r352363)
+++ head/www/typo347/Makefile	Sat Apr 26 18:29:30 2014	(r352364)
@@ -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}/graphi
 .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



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