aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pecl-imagick/Makefile
blob: d1ce65e9e6ca97c49865eb08010f52a191a18e9b (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:    pecl-imagick
# Date created:         19 Jul 2004
# Whom:             Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   imagick
PORTVERSION=    0.9.11
PORTREVISION=   5
CATEGORIES= graphics pear
MASTER_SITES=   http://pecl.php.net/get/
PKGNAMEPREFIX=  pecl-
EXTRACT_SUFX=   .tgz
DIST_SUBDIR=    PECL

MAINTAINER= ale@FreeBSD.org
COMMENT=    A PECL extension to manipulate images

DEPRECATED= Project is dead and does not work
EXPIRATION_DATE=    2006-09-10

USE_PHP=    yes
USE_PHPEXT= yes

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

OPTIONS=    GM "Use GraphicsMagick backend" off

.include <bsd.port.pre.mk>

.if defined(WITHOUT_GM)
LIB_DEPENDS=    Magick.10:${PORTSDIR}/graphics/ImageMagick
.else
LIB_DEPENDS=    GraphicsMagick.1:${PORTSDIR}/graphics/GraphicsMagick
CONFIGURE_ARGS+=--with-imagick-gm
BROKEN=     Does not build
.endif

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>