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