pkgsrc/graphics/ImageMagick/Makefile
tv 8b41689fa6 Revert previous commit.
PR pkg/7463 is RE-opened on this subject; someone can take the opportunity
to fix it, perhaps myself if I have the time this weekend.
This is NOT the correct fix.
1999-04-24 23:08:59 +00:00

30 lines
764 B
Makefile

# $NetBSD: Makefile,v 1.40 1999/04/24 23:08:59 tv Exp $
#
DISTNAME= ImageMagick-4.2.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.wizards.dupont.com/cristy/ImageMagick.html
DEPENDS+= jpeg-6b:../../graphics/jpeg
DEPENDS+= mpeg2codec-1.2:../../graphics/mpeg2codec
DEPENDS+= png-1.0.3:../../graphics/png
DEPENDS+= tiff-3.4:../../graphics/tiff
pre-configure:
.if exists(/usr/lib/libbz2.a)
@echo >${WRKSRC}/bzlib.tmpl "#define HasBZLIB"
.else
@echo >${WRKSRC}/bzlib.tmpl
.endif
@cd ${WRKSRC} && ./configure --prefix=${X11BASE}
MIRROR_DISTFILE= no
USE_IMAKE= yes
XMKMF= ${MAKE_ENV} xmkmf -a
MAKE_ENV+= LOCALBASE=${LOCALBASE} PREFIX=${PREFIX}
.include "../../mk/bsd.pkg.mk"