freebsd-ports/graphics/libfpx/Makefile
Mikhail Teterin c74bdc61c8 The ImageMagick crew took this library over and released the 1.2.0.4.
The changes:

	. our patch-gcc3 (provided to me by Alex Vasylenko) is
	  incorporated;
	. the library uses its own implementation of wchar; they
	  say, it can only work if sizeof(wchar_t) is 2 bytes, so
	  they can not rely on the OS provided wchar...

The port changed:

	. the package is installed as libfpx-version rather than
	  fpx-version;
	. make is passed `-j2', which is very efficient even for
	  non-SMP machines, since each file is compiled twice --
	  for .o and .So object -- with -j2 they are compiled at
	  the same time, utilizing the cache;
	. don't insist on any particular version of -ljpeg;
	. ftp.imagemagick.org added to the MASTER_SITES (time for
	  MASTER_SITE_IMAGEMAGICK);
	. the ABI and API did not change, so, the installed library's
	  version remains the same.
2002-02-13 06:30:43 +00:00

45 lines
1.5 KiB
Makefile

# New ports collection makefile for: fpx
# Date created: Jan 10 2001
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
#
# $FreeBSD$
#
PORTNAME= libfpx
PORTVERSION= 1.2.0.4
CATEGORIES= graphics
MASTER_SITES= http://imagemagick.sourceforge.net/http/delegates/ \
ftp://ftp.yggdrasil.com/mirrors/site/ftp.simplesystems.org/pub/%SUBDIR%/ \
ftp://gd.tuwien.ac.at/pub/graphics/%SUBDIR%/ \
ftp://ftp.sunet.se/pub/multimedia/graphics/%SUBDIR%/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/ImageMagick,} \
ftp://ftp.crc.ca/pub/packages/graphics/imagemagick/ \
ftp://ftp.imagemagick.org/pub/%SUBDIR%/ \
ftp://ftp.planetmirror.com/pub/%SUBDIR%/ \
ftp://ftp.fu-berlin.de/unix/X11/graphics/%SUBDIR%/ \
ftp://zoffy.asahi-net.or.jp/pub/graphics/%SUBDIR%/ \
ftp://ftp.u-aizu.ac.jp/pub/graphics/image/%SUBDIR%/ \
ftp://ftp.eos.hokudai.ac.jp/pub/graphics/%SUBDIR%/ \
ftp://ftp.kddlabs.co.jp/graphics/%SUBDIR%/ \
ftp://ftp.icm.edu.pl/pub/graphics/%SUBDIR%/ \
ftp://giswitch.sggw.waw.pl/pub/graphics/%SUBDIR%/ \
ftp://ftp.fifi.org/pub/%SUBDIR%/ \
ftp://ftp.simplesystems.org/pub/%SUBDIR%/
MASTER_SITE_SUBDIR= ImageMagick/delegates
MAINTAINER= mi@aldan.algebra.com
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg
MAKE_ARGS+= -j2
post-patch:
# Replacing references to <malloc.h> with <stdlib.h>
# Ignore the /dev/stderr warning below. (What a hack!)
${PERL} -pi -e 's/<malloc.h>/<stdlib.h>/' \
`find ${WRKSRC} -type f | xargs ${GREP} -l '<malloc.h>'` /dev/stderr
INSTALLS_SHLIB= yes
MAKEFILE= ${FILESDIR}/Makefile.bsd
.include <bsd.port.mk>