# New ports collection makefile for: ImageMagick # Version required: 3.7.7 # Date created: 15 November 1994 # Whom: torstenb # # $Id: Makefile,v 1.10 1996/11/18 09:53:31 asami Exp $ # DISTNAME= ImageMagick-3.7.7 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_XCONTRIB} MASTER_SITE_SUBDIR= applications/ImageMagick MAINTAINER= ports@freebsd.org LIB_DEPENDS= jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg \ mpeg\\.1\\.:${PORTSDIR}/graphics/mpeg-lib \ tiff\\.3\\.:${PORTSDIR}/graphics/tiff \ png\\.0\\.:${PORTSDIR}/graphics/png PREFIX= ${LOCALBASE} WRKSRC= ${WRKDIR}/ImageMagick USE_IMAKE= YES # Yuck. Somehow, $LOCALBASE isn't expanded in the Makefiles... post-patch: @mv ${WRKSRC}/Magick.tmpl ${WRKSRC}/Magick.tmpl.tmp @sed -e "s|!!LOCALBASE!!|${LOCALBASE}|g" <${WRKSRC}/Magick.tmpl.tmp >${WRKSRC}/Magick.tmpl pre-build: @(cd ${WRKSRC}/magick;make) post-install: ldconfig -m ${PREFIX}/lib .include