freebsd-ports/graphics/php-magickwand/Makefile
Mathieu Arnold a1993564e0 Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  flavored.  They will automatically get flavors (php56, php70, php71, php72)
  depending of the versions they support (set with IGNORE_WITH_PHP).  As a
  consequence, ports using USES=pear and USES=horde are also flavored.

PR:		226242
Submitted by:	mat
Exp-run by:	antoine
Approved by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14208
2018-03-08 19:48:41 +00:00

29 lines
701 B
Makefile

# Created by: <mark@goodstorm.com>
# $FreeBSD$
PORTNAME= magickwand
PORTVERSION= 1.0.9
PORTREVISION= 7
CATEGORIES= graphics
MASTER_SITES= http://www.magickwand.org/download/php/
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
DISTNAME= MagickWandForPHP-${PORTVERSION}-2
MAINTAINER= ports@FreeBSD.org
COMMENT= PHP extension to manipulate images
LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick
USES= php:ext pkgconfig
IGNORE_WITH_PHP= 70 71 72
CONFIGURE_ARGS= --with-magickwand=${LOCALBASE}
WRKSRC= ${WRKDIR}/MagickWandForPHP-${PORTVERSION}
pre-configure:
@${REINPLACE_CMD} -e 's|-lMagickWand|-lMagickWand-6|g' \
-e 's|-lMagickCore|-lMagickCore-6|g' \
${WRKSRC}/configure
.include <bsd.port.mk>