1998-05-23 15:00:10 -04:00
|
|
|
# OpenBSD makefile for: ImageMagick
|
1998-06-07 15:25:41 -04:00
|
|
|
# Version required: 4.0.6
|
1998-05-23 15:00:10 -04:00
|
|
|
# Date created: 1998-Apr-21
|
|
|
|
# Whom: marc@OpenBSD.ORG
|
|
|
|
#
|
1999-02-17 21:37:26 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 1999/02/18 02:37:28 marc Exp $
|
1998-05-23 15:00:10 -04:00
|
|
|
#
|
|
|
|
|
1998-11-23 19:07:10 -05:00
|
|
|
DISTNAME= ImageMagick-4.1.4
|
1998-05-23 15:00:10 -04:00
|
|
|
CATEGORIES= graphics x11
|
|
|
|
|
|
|
|
MAINTAINER= marc@openbsd.org
|
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp.wizards.dupont.com/pub/ImageMagick/ \
|
|
|
|
ftp://ftp.fifi.org/pub/ImageMagick \
|
1998-11-23 19:07:10 -05:00
|
|
|
ftp://gd.tuwien.ac.at/graphics/ImageMagick
|
1998-05-23 15:00:10 -04:00
|
|
|
|
|
|
|
# Future: add FreeType, FlashPix, NCSA HDF, JBIG, scanimage, etc.
|
|
|
|
#
|
|
|
|
RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig \
|
|
|
|
gs:${PORTSDIR}/print/ghostscript5 \
|
|
|
|
|
1998-11-23 19:07:10 -05:00
|
|
|
LIB_DEPENDS= jpeg.62.:${PORTSDIR}/graphics/jpeg \
|
|
|
|
mpeg.1.:${PORTSDIR}/graphics/mpeg-lib \
|
|
|
|
png.1.:${PORTSDIR}/graphics/png \
|
|
|
|
tiff.3.4:${PORTSDIR}/graphics/tiff34
|
1998-05-23 15:00:10 -04:00
|
|
|
|
|
|
|
USE_X11= yes
|
|
|
|
GNU_CONFIGURE= yes
|
1999-02-17 21:37:26 -05:00
|
|
|
.if !defined(NO_SHARED_LIBS)
|
1998-05-23 15:00:10 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-shared
|
|
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --enable-static
|
1998-11-23 19:07:10 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS=-I/usr/local/include \
|
1998-05-23 15:00:10 -04:00
|
|
|
LDFLAGS=-L/usr/local/lib
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|