openbsd-ports/graphics/ImageMagick/Makefile
2003-09-09 00:47:57 +00:00

47 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.61 2003/09/09 00:47:57 pvalchev Exp $
COMMENT= "display and manipulate images under X11"
DISTNAME= ImageMagick-5.2.9
PKGNAME= ${DISTNAME}p0
CATEGORIES= graphics
MASTER_SITES= ftp://openbsd.comstyle.com/pub/brad/source/
HOMEPAGE= http://www.simplesystems.org/ImageMagick/
LIB_DEPENDS= bz2.10::archivers/bzip2 \
jbig.1.2::graphics/jbigkit \
mpeg.13::graphics/mpeg-lib \
png.2::graphics/png \
tiff.35::graphics/tiff \
ttf.1.3::print/freetype \
xml2.6::textproc/libxml
BUILD_DEPENDS= :transfig-*:print/transfig \
:netpbm-*:graphics/netpbm
RUN_DEPENDS= ${BUILD_DEPENDS}
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
# gcc3
MODULES+= gcc3
MODGCC3_ARCHES= sparc64
MODGCC3_LANGS+= c++
USE_X11= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --enable-lzw --enable-16bit-pixel \
--without-perl --without-modules --without-dps \
--without-fpx --without-hdf --without-lcms \
--without-ttf --without-wmf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include/freetype1/freetype -I${LOCALBASE}/include/libxml2 -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>