6d9af8d68d
Tiff is backward compatible, but was broken on amd64 platform so this makes sure new tiff is used.
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.107 2004/01/03 18:49:41 reed Exp $
|
|
|
|
.include "Makefile.common"
|
|
|
|
PKGNAME= ImageMagick-${DISTVERSION}
|
|
PKGREVISION= 1
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= tron@NetBSD.org
|
|
HOMEPAGE= http://www.simplesystems.org/ImageMagick/
|
|
COMMENT= Package for display and interactive manipulation of images
|
|
|
|
DEPENDS+= mpeg2codec-1.2:../../graphics/mpeg2codec
|
|
|
|
CONFLICTS= geomview<1.8.1nb2 # used to have a program named 'animate'
|
|
|
|
USE_BUILDLINK2= YES
|
|
USE_X11= YES
|
|
GNU_CONFIGURE= YES
|
|
USE_LIBTOOL= YES
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
|
PKGCONFIG_OVERRIDE= Magick++/lib/ImageMagick++.pc.in
|
|
PKGCONFIG_OVERRIDE+= magick/ImageMagick.pc.in
|
|
|
|
GCC_REQD= 2.95.3
|
|
|
|
PLIST_SUBST+= IM_MAJOR_VER=${IM_MAJOR_VER}
|
|
PLIST_SUBST+= IM_MAJOR_LIB_VER=${IM_MAJOR_LIB_VER}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
|
|
GCC_REQD= 3.0
|
|
.endif
|
|
|
|
# Avoid compiler bug on "mipsel" (cobalt?)
|
|
.if ${MACHINE_ARCH} == "mipsel"
|
|
CFLAGS= -O
|
|
.endif
|
|
|
|
# Some configure_args come from Makefile.common
|
|
CONFIGURE_ARGS+= --without-perl
|
|
|
|
.include "../../archivers/bzip2/buildlink2.mk"
|
|
.include "../../graphics/jasper/buildlink2.mk"
|
|
.include "../../graphics/jpeg/buildlink2.mk"
|
|
.include "../../graphics/png/buildlink2.mk"
|
|
.include "../../graphics/tiff/buildlink2.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|