summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick/Makefile.common
blob: 04df8875ebf26d7a71a36fbc602146140a4a4141 (plain)
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
# $NetBSD: Makefile.common,v 1.82 2009/08/26 21:06:46 sno Exp $

###########################################################################
#
# HEADS UP!  NOTE THE FOLLOWING WHEN UPDATING THIS PACKAGE:
#
# graphics/p5-PerlMagick also depends on this fragment.  Make sure to
# remove its PKGREVISION upon update of ImageMagick!
#
###########################################################################

IM_MAJOR_VER=		6.5.5
IM_MINOR_VER=		3
IM_MAJOR_LIB_VER=	${IM_MAJOR_VER}

.if (${IM_MINOR_VER} != NONE)
DISTSUFFIX=	${IM_MAJOR_VER}-${IM_MINOR_VER}
.else
DISTSUFFIX=	${IM_MAJOR_VER}
.endif

DISTNAME=	ImageMagick-${DISTSUFFIX}
DISTVERSION=	${DISTSUFFIX:S/-/./}

CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.imagemagick.net/pub/ImageMagick/ \
		ftp://ftp.nluug.nl/pub/ImageMagick/ \
		ftp://ftp.yggdrasil.com/mirrors/site/ftp.simplesystems.org/pub/ImageMagick/ \
		ftp://ftp.fu-berlin.de/unix/X11/graphics/ImageMagick/ \
		ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ \
		http://www.imagemagick.net/download/
EXTRACT_SUFX=	.tar.bz2

WRKSRC=		${WRKDIR}/ImageMagick-${DISTSUFFIX}

# For things for which we do not specify an explicit dependency above, disable
# so that we don't cause implicit "hidden" dependencies.
CONFIGURE_ARGS+=	--without-dps
CONFIGURE_ARGS+=	--without-fpx
CONFIGURE_ARGS+=	--without-gvc
CONFIGURE_ARGS+=	--without-hdf
CONFIGURE_ARGS+=	--without-jbig
CONFIGURE_ARGS+=	--without-lqr
CONFIGURE_ARGS+=	--without-modules