summaryrefslogtreecommitdiff
path: root/graphics/libfpx/Makefile
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2005-01-25 23:19:47 +0000
committerMikhail Teterin <mi@FreeBSD.org>2005-01-25 23:19:47 +0000
commit7b4f8460443e00cfaa896ac17193675094e900f7 (patch)
tree184ff647519b9290a2a5064697901d42940bf1db /graphics/libfpx/Makefile
parentUpdate to 2.0.1 and fix pkg-message. (diff)
There is a new tarball out there called 1.2.0.9-1, which is incomplete
and does not build. Use GraphicsMagick's copy for the time being, but apply the only fix mentioned in the new tarball's ChangeLog. Bump PORTREVISION. Clean up a little while I am here -- no need for REINPLACE any more. Notified by: Michael Metzger (via pav@)
Notes
Notes: svn path=/head/; revision=127344
Diffstat (limited to 'graphics/libfpx/Makefile')
-rw-r--r--graphics/libfpx/Makefile34
1 files changed, 7 insertions, 27 deletions
diff --git a/graphics/libfpx/Makefile b/graphics/libfpx/Makefile
index 17cbd00f164d..28efdd73d40d 100644
--- a/graphics/libfpx/Makefile
+++ b/graphics/libfpx/Makefile
@@ -7,42 +7,22 @@
PORTNAME= libfpx
PORTVERSION= 1.2.0.9
+PORTREVISION= 1
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
+MASTER_SITES= ftp://ftp.graphicsmagick.org/pub/%SUBDIR%/
+MASTER_SITE_SUBDIR= GraphicsMagick/delegates
MAINTAINER= mi@aldan.algebra.com
COMMENT= Library routines for working with Flashpix images
+PATCHFILES= libfpx.diff
+PATCH_SITES= http://www.kdewebdev.org/~amantia/
+PATCH_DIST_STRIP=-p1
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg
MAKE_ARGS+= -j2
-USE_REINPLACE= yes
-REINPLACE_ARGS= -i ""
USE_BZIP2= yes
-.include <bsd.port.pre.mk>
-
-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.post.mk>
+.include <bsd.port.mk>