47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.60 2003/08/04 11:50:36 espie 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= "Patents on freetype"
|
|
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>
|