2008-10-28 11:42:02 +01:00
|
|
|
# $NetBSD: Makefile,v 1.153 2008/10/28 10:42:02 adam Exp $
|
2003-04-16 15:27:21 +02:00
|
|
|
|
2003-06-30 08:45:01 +02:00
|
|
|
.include "Makefile.common"
|
2003-04-16 15:27:21 +02:00
|
|
|
|
2004-03-02 11:31:48 +01:00
|
|
|
PKGNAME= ImageMagick-${DISTVERSION}
|
1997-12-14 02:39:37 +01:00
|
|
|
|
2004-05-19 16:11:28 +02:00
|
|
|
MAINTAINER= adam@NetBSD.org
|
2007-06-16 23:58:08 +02:00
|
|
|
HOMEPAGE= http://www.imagemagick.org/
|
2004-03-02 11:31:48 +01:00
|
|
|
COMMENT= Package for display and interactive manipulation of images
|
1998-01-24 21:15:23 +01:00
|
|
|
|
2004-03-02 11:31:48 +01:00
|
|
|
CONFLICTS= geomview<1.8.1nb2 # used to have a program named 'animate'
|
2001-04-09 13:59:43 +02:00
|
|
|
|
2007-06-16 23:58:08 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2004-04-25 07:12:27 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2006-12-02 23:32:59 +01:00
|
|
|
USE_LANGUAGES= c c++ c99
|
2005-07-14 10:58:46 +02:00
|
|
|
USE_LIBTOOL= yes
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2005-07-14 10:58:46 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-09-26 22:21:25 +02:00
|
|
|
PKGCONFIG_OVERRIDE= Magick++/lib/ImageMagick++.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= magick/ImageMagick.pc.in
|
2002-08-22 10:06:11 +02:00
|
|
|
|
2004-02-01 02:43:28 +01:00
|
|
|
GCC_REQD+= 2.95.3
|
2003-09-17 21:49:24 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
PLIST_SUBST+= IM_MAJOR_VER=${IM_MAJOR_VER:Q}
|
|
|
|
PLIST_SUBST+= IM_MAJOR_LIB_VER=${IM_MAJOR_LIB_VER:Q}
|
1999-04-25 12:10:51 +02:00
|
|
|
|
2006-04-14 20:14:34 +02:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2004-12-25 00:42:49 +01:00
|
|
|
.include "options.mk"
|
2003-01-25 07:45:48 +01:00
|
|
|
|
2003-09-17 21:51:09 +02:00
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
|
2004-02-01 02:43:28 +01:00
|
|
|
GCC_REQD+= 3.0
|
2003-09-17 21:51:09 +02:00
|
|
|
.endif
|
2002-02-10 13:50:59 +01:00
|
|
|
|
2003-01-26 18:45:28 +01:00
|
|
|
# Avoid compiler bug on "mipsel" (cobalt?)
|
2003-09-17 21:51:35 +02:00
|
|
|
.if ${MACHINE_ARCH} == "mipsel"
|
2005-11-29 09:51:17 +01:00
|
|
|
CFLAGS+= -O
|
1999-09-11 16:25:44 +02:00
|
|
|
.endif
|
|
|
|
|
2003-04-16 15:27:21 +02:00
|
|
|
# Some configure_args come from Makefile.common
|
|
|
|
CONFIGURE_ARGS+= --without-perl
|
1999-04-25 20:46:30 +02:00
|
|
|
|
2006-05-15 23:32:08 +02:00
|
|
|
# WMF linkage is currently broke, since libMagick would need symbols from libWand
|
|
|
|
CONFIGURE_ARGS+= --without-wmf
|
2008-10-28 11:42:02 +01:00
|
|
|
CONFIGURE_ARGS+= --with-ltdl-include=${BUILDLINK_PREFIX.libltdl}/include
|
|
|
|
CONFIGURE_ARGS+= --with-ltdl-lib=${BUILDLINK_PREFIX.libltdl}/lib
|
2006-05-15 23:32:08 +02:00
|
|
|
|
2004-02-11 09:55:58 +01:00
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
2008-10-28 11:42:02 +01:00
|
|
|
.include "../../devel/libltdl/buildlink3.mk"
|
2004-09-27 13:04:24 +02:00
|
|
|
.include "../../graphics/lcms/buildlink3.mk"
|
2004-03-02 11:31:48 +01:00
|
|
|
.include "../../graphics/libexif/buildlink3.mk"
|
2007-12-26 20:00:02 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2004-02-11 09:55:58 +01:00
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|