openbsd-ports/graphics/ImageMagick/Makefile
marc 30be626929 needs version 1.64 (or later) of bsd.port.mk
to build/install correctly; PLIST.noshared
1999-02-21 04:26:09 +00:00

36 lines
939 B
Makefile

# $OpenBSD: Makefile,v 1.8 1999/02/21 04:26:10 marc Exp $
#
DISTNAME= ImageMagick-4.2.0
CATEGORIES= graphics x11
NEED_VERSION= 1.64
MAINTAINER= marc@openbsd.org
MASTER_SITES= ftp://ftp.wizards.dupont.com/pub/ImageMagick/ \
ftp://renegade.lerc.nasa.gov/ImageMagick/ \
ftp://ftp.fifi.org/pub/ImageMagick/ \
ftp://gd.tuwien.ac.at/graphics/ImageMagick/
# Future: add FreeType, FlashPix, NCSA HDF, JBIG, scanimage, etc.
#
RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig \
gs:${PORTSDIR}/print/ghostscript5 \
LIB_DEPENDS= jpeg.62.:${PORTSDIR}/graphics/jpeg \
mpeg.1.:${PORTSDIR}/graphics/mpeg-lib \
png.1.:${PORTSDIR}/graphics/png \
tiff.3.4:${PORTSDIR}/graphics/tiff34
USE_X11= yes
GNU_CONFIGURE= yes
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+= --enable-shared
.endif
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ENV= CPPFLAGS=-I/usr/local/include \
LDFLAGS=-L/usr/local/lib
.include <bsd.port.mk>