aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libfpx
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libfpx')
-rw-r--r--graphics/libfpx/Makefile34
-rw-r--r--graphics/libfpx/distinfo2
2 files changed, 9 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>
diff --git a/graphics/libfpx/distinfo b/graphics/libfpx/distinfo
index 19c716994b5f..47ecad000191 100644
--- a/graphics/libfpx/distinfo
+++ b/graphics/libfpx/distinfo
@@ -1,2 +1,4 @@
MD5 (libfpx-1.2.0.9.tar.bz2) = aa9a74dbcacbd5884c9aa3d4c97f9db7
SIZE (libfpx-1.2.0.9.tar.bz2) = 2240442
+MD5 (libfpx.diff) = 6446475771ea4a7344957af0fef71350
+SIZE (libfpx.diff) = 1545