2004-07-09 15:40:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.68 2004/07/09 19:40:36 brad Exp $
|
2001-04-06 13:33:28 -04:00
|
|
|
|
|
|
|
COMMENT= "display and manipulate images under X11"
|
1998-05-23 15:00:10 -04:00
|
|
|
|
2004-06-24 03:44:58 -04:00
|
|
|
VER= 6.0.0
|
|
|
|
DASHVER= 2
|
|
|
|
DISTNAME= ImageMagick-${VER}-${DASHVER}
|
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=imagemagick/}
|
1998-05-23 15:00:10 -04:00
|
|
|
|
2000-11-29 23:41:37 -05:00
|
|
|
HOMEPAGE= http://www.simplesystems.org/ImageMagick/
|
1999-05-05 22:10:12 -04:00
|
|
|
|
2000-06-25 18:22:25 -04:00
|
|
|
LIB_DEPENDS= bz2.10::archivers/bzip2 \
|
2000-06-10 02:11:25 -04:00
|
|
|
jbig.1.2::graphics/jbigkit \
|
2000-03-24 18:28:01 -05:00
|
|
|
mpeg.13::graphics/mpeg-lib \
|
2001-05-23 22:27:06 -04:00
|
|
|
png.2::graphics/png \
|
2000-03-24 18:28:01 -05:00
|
|
|
tiff.35::graphics/tiff \
|
2004-06-24 03:44:58 -04:00
|
|
|
xml2.6::textproc/libxml \
|
|
|
|
lcms::graphics/lcms \
|
|
|
|
exif::graphics/libexif \
|
|
|
|
jasper::graphics/jasper
|
|
|
|
RUN_DEPENDS= :transfig-*:print/transfig \
|
|
|
|
:netpbm-*:graphics/netpbm \
|
|
|
|
::print/ghostscript/gnu
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2000-03-05 13:30:21 -05:00
|
|
|
|
2000-09-24 03:03:59 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
2000-06-10 02:11:25 -04:00
|
|
|
|
2004-07-09 15:40:36 -04:00
|
|
|
# http://www.imagemagick.org/www/Copyright.html
|
2003-09-08 20:47:57 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2000-06-20 19:32:46 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-03-13 20:40:04 -05:00
|
|
|
|
2004-06-24 03:44:58 -04:00
|
|
|
SUBST_VARS= VER
|
2004-02-06 17:44:06 -05:00
|
|
|
|
2000-08-08 15:01:37 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
2004-07-01 21:53:09 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.59
|
1999-04-05 20:09:52 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2004-06-24 03:44:58 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-lzw \
|
|
|
|
--with-quantum-depth=16 \
|
|
|
|
--without-dot \
|
|
|
|
--without-dps \
|
|
|
|
--without-fpx \
|
|
|
|
--without-hdf \
|
|
|
|
--without-modules \
|
2004-07-09 00:45:36 -04:00
|
|
|
--without-threads \
|
2004-06-24 03:44:58 -04:00
|
|
|
--without-perl \
|
|
|
|
--without-wmf
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include/libxml2 -I${LOCALBASE}/include" \
|
1999-12-18 20:28:52 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1999-04-05 20:09:52 -04:00
|
|
|
|
2004-06-24 03:44:58 -04:00
|
|
|
#FLAVORS= no_x11
|
|
|
|
#FLAVOR?=
|
|
|
|
|
|
|
|
#.if ${FLAVOR:L:Mno_x11}
|
|
|
|
#CONFIGURE_ARGS+= --without-x --without-ttf
|
|
|
|
#.else
|
|
|
|
USE_X11= Yes
|
|
|
|
#.endif
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME:S/-${DASHVER}//}
|
|
|
|
|
1998-05-23 15:00:10 -04:00
|
|
|
.include <bsd.port.mk>
|