1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- While I'm here, convert to new options helper

PR:		ports/188731
Submitted by:	Helmut Ritter <freebsd-ports@charlieroot.de> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-04-26 18:29:30 +00:00
parent ccb596735a
commit 9ba0afb14e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352364

View File

@ -35,16 +35,13 @@ GD_DESC= GDlib/freetype support
IMAGICK_DESC= ${IMAGEMAGICK_DESC}
MBSTRING_DESC= ${MULTIBYTE_DESC}
CURL_USE= PHP=curl
GD_USE= PHP=gd
MBSTRING_USE= PHP=mbstring
ZLIB_USE= PHP=zlib
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCURL}
USE_PHP+= curl
.endif
.if ${PORT_OPTIONS:MGD}
USE_PHP+= gd
.endif
.if ${PORT_OPTIONS:MIMAGICK}
.if ${PORT_OPTIONS:MX11}
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
@ -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