pkgsrc/graphics/ImageMagick/Makefile
tv 7133f1e3f8 Um, depend on mpeg2codec>=1.2, not mpeg2codec-1.2. Otherwise a PKGREVISION
bump on mpeg2codec makes it incompatible.

Bump PKGREVISION.
2006-02-08 12:19:38 +00:00

53 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.139 2006/02/08 12:19:38 tv Exp $
.include "Makefile.common"
PKGNAME= ImageMagick-${DISTVERSION}
PKGREVISION= 3
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://www.simplesystems.org/ImageMagick/
COMMENT= Package for display and interactive manipulation of images
CONFLICTS= geomview<1.8.1nb2 # used to have a program named 'animate'
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
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:Q}
PLIST_SUBST+= IM_MAJOR_LIB_VER=${IM_MAJOR_LIB_VER:Q}
.include "options.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 "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mmipspro*)
CFLAGS+= -c99
.endif
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../graphics/lcms/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"