aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/php-magickwand/Makefile
blob: be6262f1018826dacf9a43b808edfa9020b5702e (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
28
# Created by: <mark@goodstorm.com>
# $FreeBSD$

PORTNAME=   magickwand
PORTVERSION=    1.0.9
PORTREVISION=   2
CATEGORIES= graphics
MASTER_SITES=   http://www.magickwand.org/download/php/
PKGNAMEPREFIX=  php-
DISTNAME=   MagickWandForPHP-${PORTVERSION}

MAINTAINER= miwi@FreeBSD.org
COMMENT=    PHP extension to manipulate images

LIB_DEPENDS=    libMagickWand-6.Q16.so:${PORTSDIR}/graphics/ImageMagick

USES=       pkgconfig
USE_PHP=    yes
USE_PHPEXT= yes

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

pre-configure:
    @${REINPLACE_CMD} -e 's|-lMagickWand|-lMagickWand-6.Q16|g' \
        -e 's|-lMagickCore|-lMagickCore-6.Q16|g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>