Line # Revision Author
1 8 ahitrov@rambler.ru ##############################################################################
2 # $HeadURL: http://svn.dev.rambler.ru/Contenido/branches/utf8/ports/all/ImageMagick/GNUmakefile $
3 32 ahitrov@rambler.ru # $Id: GNUmakefile 1549 2010-06-08 14:23:45Z lonerr $
4 8 ahitrov@rambler.ru ###############################################################################
5
6 PORTVERSION = 6.2.7-8
7 32 ahitrov@rambler.ru CONFIGURE_ENV = CPPFLAGS="-I${PREFIX}/include $${CPPFLAGS}" LDFLAGS="$${LDFLAGS} -L${PREFIX}/lib"
8 8 ahitrov@rambler.ru CONFIGURE_ARGS = --prefix=${PREFIX} --without-perl --without-threads --with-jpeg
9 32 ahitrov@rambler.ru CONFIGURE_POSTCMD = ${MAKE_RECURSIVE} post-configure
10 PORT_DEPENDS = jpeg libpng
11 8 ahitrov@rambler.ru
12 MASTER_POST_SITES = ftp://ftp.imagemagick.org/pub/ImageMagick/ \
13 ftp://gd.tuwien.ac.at/pub/graphics/ImageMagftp://ftp.carnet.hr/misc/imagemagick/ \
14 ftp://ftp.fu-berlin.de/unix/X11/graphics/ImageMagick/ \
15 ftp://ftp.kddlabs.co.jp/graphics/ImageMagick/ \
16 ftp://ftp.u-aizu.ac.jp/pub/graphics/image/ImageMagick/imagemagick.org/ \
17 ftp://zoffy.asahi-net.or.jp/pub/graphics/ImageMagick/ \
18 ftp://ftp.nluug.nl/pub/ImageMagick/ \
19 ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ \
20 ftp://ftp.fifi.org/pub/ImageMagick/
21
22
23 WRKSRC = ${WRKDIR}/${PORTNAME}-${shell perl -e 'print +(split "-", "${PORTVERSION}")[0]'}
24
25 32 ahitrov@rambler.ru post-configure:
26 cd ${WRKSRC} && pwd && sed -i .orig -E 's|^(CPPFLAGS =)(.*)|\1 -I${PREFIX}/include \2|' Makefile
27 8 ahitrov@rambler.ru
28 32 ahitrov@rambler.ru
29 8 ahitrov@rambler.ru include ../../etc/ports.mk