[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / ImageMagick

File: [cvs.NetBSD.org] / pkgsrc / graphics / ImageMagick / Makefile (download)

Revision 1.143, Mon May 22 11:30:19 2006 UTC (13 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.142: +1 -2 lines

Changes 6.2.7.7:
  * Don't fault when processing bad TIFF profiles (4 characters or less).
  * Masks are now read properly for 16-bit DIB's.
  * The pixel cache file descriptor limit code failed because the pixel cache
    timestamp was not always being set properly.
  * Fixed a small memory leak in IsGrayImage().
  * Fixed Cineon writing bug for very long filenames in 6.2.7 (reference
    http://redux.imagemagick.org/discussion-server/viewtopic.php?t=6590)
  * Begin the long journey of enhancing the conjure utility to support
    all options that are supported by the convert utility and PerlMagick
    (e.g. border, guassian-blur, etc.).

# $NetBSD: Makefile,v 1.143 2006/05/22 11:30:19 adam Exp $

.include "Makefile.common"

PKGNAME=	ImageMagick-${DISTVERSION}

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}

TEST_TARGET=		check

.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

# WMF linkage is currently broke, since libMagick would need symbols from libWand
CONFIGURE_ARGS+=	--without-wmf

.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"