pkgsrc/graphics/ImageMagick/Makefile
jlam a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use.  Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24 22:10:43 +00:00

47 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.80 2001/10/24 22:10:58 jlam Exp $
DISTNAME= ImageMagick-5.3.9
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.simplesystems.org/ImageMagick/
COMMENT= Package for display and interactive manipulation of images
CONFLICTS= geomview-[0-9]* # both have a program named 'animate'
DEPENDS+= mpeg2codec-1.2:../../graphics/mpeg2codec
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
USE_BUILDLINK_ONLY= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
.include "../../mk/bsd.prefs.mk"
# Avoid compiler bug on "arm32"
.if (${MACHINE_ARCH} == arm32)
CFLAGS= -O
.endif
# For things for which we do not specify an explicit dependency above, disable
# so that we don't cause implicit "hidden" dependencies. Users may reenable
# any of these manually as desired (PerlMagick should probably be a separate
# pkg, however).
CONFIGURE_ARGS+= --without-perl --without-dps --without-fpx \
--without-hdf --without-jbig --without-threads \
--without-ttf --without-wmf --without-xml
post-install:
${INSTALL_DATA} ${WRKSRC}/Copyright.txt ${WRKSRC}/QuickStart.txt \
${PREFIX}/share/ImageMagick
.include "../../archivers/bzip2/buildlink.mk"
.include "../../graphics/jpeg/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
.include "../../graphics/tiff/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"