1995-02-27 22:43:12 +01:00
|
|
|
# New ports collection makefile for: ImageMagick
|
2000-03-05 14:47:22 +01:00
|
|
|
# Version required: 5.1.1
|
1995-02-27 22:43:12 +01:00
|
|
|
# Date created: 15 November 1994
|
|
|
|
# Whom: torstenb
|
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1995-02-27 22:43:12 +01:00
|
|
|
#
|
|
|
|
|
2000-03-05 14:47:22 +01:00
|
|
|
DISTNAME= ImageMagick-5.1.1
|
1998-08-21 14:00:41 +02:00
|
|
|
CATEGORIES= graphics perl5
|
1999-05-30 13:45:07 +02:00
|
|
|
MASTER_SITES= ftp://ftp.wizards.dupont.com/pub/ImageMagick/ \
|
1997-11-29 02:35:52 +01:00
|
|
|
ftp://ftp.u-aizu.ac.jp/pub/graphics/image/ImageMagick/ \
|
|
|
|
ftp://ftp.fifi.org/pub/ImageMagick/ \
|
1996-12-03 10:07:00 +01:00
|
|
|
ftp://gd.tuwien.ac.at/pub/graphics/ImageMagick/ \
|
1997-11-29 02:35:52 +01:00
|
|
|
ftp://ftp.ms.mff.cuni.cz/MIRRORS/ftp.wizards.dupont.com/pub/ImageMagick/ \
|
1998-03-02 23:08:36 +01:00
|
|
|
ftp://ftp.oce.nl/pub/Internet/audio+video/ImageMagick/
|
1995-04-09 09:09:55 +02:00
|
|
|
|
1998-01-26 16:38:42 +01:00
|
|
|
MAINTAINER= jseger@FreeBSD.org
|
1996-11-06 08:53:24 +01:00
|
|
|
|
1998-09-19 07:46:07 +02:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2000-03-05 16:38:27 +01:00
|
|
|
df.1:${PORTSDIR}/graphics/hdf \
|
1999-09-07 12:45:31 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
1999-01-23 08:05:35 +01:00
|
|
|
png.3:${PORTSDIR}/graphics/png \
|
1998-09-22 22:04:41 +02:00
|
|
|
jbig.1:${PORTSDIR}/graphics/jbigkit \
|
1999-11-25 04:41:57 +01:00
|
|
|
ttf.4:${PORTSDIR}/print/freetype
|
2000-03-05 16:38:27 +01:00
|
|
|
# bzip2 for bzlib
|
|
|
|
BUILD_DEPENDS= bzip2:${PORTSDIR}/archivers/bzip2 \
|
|
|
|
fig2dev:${PORTSDIR}/print/transfig \
|
1998-01-26 16:38:42 +01:00
|
|
|
picttoppm:${PORTSDIR}/graphics/netpbm \
|
1999-01-05 15:00:47 +01:00
|
|
|
mpeg2decode:${PORTSDIR}/graphics/mpeg2codec \
|
2000-03-05 14:47:22 +01:00
|
|
|
gs:${PORTSDIR}/print/ghostscript55
|
1998-01-26 16:38:42 +01:00
|
|
|
|
2000-03-05 16:38:27 +01:00
|
|
|
MAN1= ImageMagick.1 animate.1 combine.1 convert.1 display.1 identify.1 \
|
|
|
|
import.1 mogrify.1 montage.1
|
1998-08-21 14:00:41 +02:00
|
|
|
MAN3= Image::Magick.3
|
1998-01-26 16:38:42 +01:00
|
|
|
MAN4= miff.4
|
|
|
|
MAN5= quantize.5
|
1998-08-21 14:00:41 +02:00
|
|
|
|
|
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
1999-05-30 13:45:07 +02:00
|
|
|
HAS_CONFIGURE= YES
|
2000-03-05 14:47:22 +01:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --enable-shared --with-perl=${PERL5} \
|
|
|
|
--enable-16bit-pixel
|
|
|
|
.if defined(HAVE_UNISYS_LICENSE)
|
|
|
|
CONFIGURE_ARGS+= --enable-lzw
|
|
|
|
.endif
|
1998-08-19 04:26:37 +02:00
|
|
|
USE_PERL5= YES
|
2000-03-05 16:38:27 +01:00
|
|
|
USE_XLIB= YES
|
1998-08-13 06:40:06 +02:00
|
|
|
CONFIGURE_ENV= LDFLAGS="$(LDFLAGS) -L${WRKSRC}/magick/.libs"
|
2000-03-10 00:36:52 +01:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${RM} -f ${WRKSRC}/config.cache
|
|
|
|
|
1995-06-24 13:42:32 +02:00
|
|
|
post-install:
|
1998-09-22 22:04:41 +02:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1995-06-24 13:42:32 +02:00
|
|
|
|
1995-02-27 22:43:12 +01:00
|
|
|
.include <bsd.port.mk>
|