mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
f9063e87bf
which should solve some crashes and allow to compile with a non-GCC compiler (Re: zero-sized arrays). Unfortunately, this still crashes on some images, but the vendor has already pulled the 1.2.0.7 from the mirrors, so this upgrade will, at least, keep things downloadable.
47 lines
1.5 KiB
Makefile
47 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.8
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= 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
|
|
COMMENT= Library routines for working with Flashpix images
|
|
|
|
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg
|
|
MAKE_ARGS+= -j2
|
|
USE_REINPLACE= yes
|
|
REINPLACE_ARGS= -i ""
|
|
USE_BZIP2= yes
|
|
|
|
post-patch:
|
|
# Replacing references to <malloc.h> with <stdlib.h>
|
|
# Ignore the /dev/stderr warning below. (What a hack!)
|
|
${REINPLACE_CMD} -e 's,<malloc\.h>,<stdlib\.h>,' \
|
|
${WRKSRC}/oless/h/ref.hxx ${WRKSRC}/oless/h/vect.hxx
|
|
|
|
INSTALLS_SHLIB= yes
|
|
MAKEFILE= ${FILESDIR}/Makefile.bsd
|
|
|
|
.include <bsd.port.mk>
|