1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/graphics/ImageMagick/Makefile
1996-12-03 07:06:17 +00:00

39 lines
1.0 KiB
Makefile

# New ports collection makefile for: ImageMagick
# Version required: 3.7.8
# Date created: 15 November 1994
# Whom: torstenb
#
# $Id: Makefile,v 1.11 1996/11/19 04:18:41 asami Exp $
#
DISTNAME= ImageMagick-3.7.8
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.wizards.dupont.com/pub/ImageMagick \
ftp://ftp.cci.fr/pub/unix/gfx/ImageMagick \
ftp://gd.tuwien.ac.at/pub/graphics/ImageMagick \
ftp://ftp.u-aizu.ac.jp/pub/graphics/image/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 <bsd.port.mk>