aef5a66670
file, so the order remains the same. Every PHP (or Zend) extension now installs its own .ini file in /usr/local/etc/php. A PHP extension will be automatically activated when installed. The order into which extensions are loaded is automatically guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php section of the Porter's Handbook for more information. Convert ports touching etc/php/extensions.ini manually, or telling the OP to do it. And finally, bump PORTREVISION for all php extensions. PR: 210697 Submitted by: mat Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7022
29 lines
679 B
Makefile
29 lines
679 B
Makefile
# Created by: <mark@goodstorm.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= magickwand
|
|
PORTVERSION= 1.0.9
|
|
PORTREVISION= 5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.magickwand.org/download/php/
|
|
PKGNAMEPREFIX= php-
|
|
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
|
|
|
|
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>
|