aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pecl-imagick/Makefile
blob: 1e901cdf544c1cb18bf703292ec82f6675cae1e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Andrey Slusar <anray@FreeBSD.org>
# $FreeBSD$

PORTNAME=   imagick
DISTVERSION=    3.4.1
CATEGORIES= graphics
MASTER_SITES=   http://pecl.php.net/get/
PKGNAMEPREFIX=  pecl-
DIST_SUBDIR=    PECL

MAINTAINER= mm@FreeBSD.org
COMMENT=    Provides a wrapper to the ImageMagick/GraphicsMagick library

LICENSE=    PHP301

OPTIONS_DEFINE= X11

X11_LIB_DEPENDS=    libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick
X11_LIB_DEPENDS_OFF=    libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick-nox11

USES=       pkgconfig tar:tgz localbase
USE_PHP=    yes
USE_PHPEXT= yes

CONFIGURE_ARGS= --with-imagick=${LOCALBASE}

.include <bsd.port.mk>