aboutsummaryrefslogtreecommitdiff
path: root/graphics/exact-image
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2012-02-21 06:09:16 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2012-02-21 06:09:16 +0000
commit065918bb58c2c3b3df273a140c7eef37c7f17574 (patch)
tree3c133247c268cb6c4cbfd75c04fb729577bb8ecf /graphics/exact-image
parent30ef12b4d9f2d5e0eb66fb9b33862aaa1c34fd0b (diff)
downloadports-065918bb58c2c3b3df273a140c7eef37c7f17574.tar.gz
ports-065918bb58c2c3b3df273a140c7eef37c7f17574.zip
Notes
Diffstat (limited to 'graphics/exact-image')
-rw-r--r--graphics/exact-image/Makefile12
-rw-r--r--graphics/exact-image/distinfo4
2 files changed, 10 insertions, 6 deletions
diff --git a/graphics/exact-image/Makefile b/graphics/exact-image/Makefile
index adbcf2559f16..972ad1ce4fe1 100644
--- a/graphics/exact-image/Makefile
+++ b/graphics/exact-image/Makefile
@@ -6,19 +6,21 @@
#
PORTNAME= exact-image
-PORTVERSION= 0.8.6
+PORTVERSION= 0.8.7
CATEGORIES= graphics perl5 python
MASTER_SITES= http://dl.exactcode.de/oss/${PORTNAME}/ LOCAL/bf
MAINTAINER= bf@FreeBSD.org
COMMENT= Fast image processing library
+LICENSE= GPLv2
+
BUILD_DEPENDS= swig>=1.3.32:${PORTSDIR}/devel/swig13
LIB_DEPENDS= agg.2:${PORTSDIR}/graphics/agg \
jpeg.11:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff \
png.6:${PORTSDIR}/graphics/png \
- ungif.5:${PORTSDIR}/graphics/libungif \
+ gif.5:${PORTSDIR}/graphics/giflib \
jasper.4:${PORTSDIR}/graphics/jasper \
IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
lcms.1:${PORTSDIR}/graphics/lcms \
@@ -44,22 +46,24 @@ PLIST_FILES= ${BINS:S|^|bin/|} \
%%SITE_PERL%%/ExactImage.pm \
%%PYTHON_SITELIBDIR%%/ExactImage.py \
%%PYTHON_SITELIBDIR%%/_ExactImage.so
-LICENSE= GPLv2
post-extract:
@${RM} -rf ${WRKSRC}/agg-2.4/
post-patch:
@${REINPLACE_CMD} -e '1s|/.*|/bin/sh|;s|/usr/local|${LOCALBASE}|;\
+ s|libungif|giflib|; s|LIBUNGIF|GIFLIB|; \
/parse_options/d;s| cc | ${CC} |;s| c++ | ${CXX} |;\
s|python -V|${PYTHON_CMD} -V|;\
/PYTHONINCS/s|=.*$$|=-I${PYTHON_INCLUDEDIR}|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^Q =/d;s|$$[(]COMPILE.cc[)]|${CXX} $${CPPFLAGS} -c|;\
s|$$[(]CXX[)]|${CXX}|;s|$$[(]COMPILE.c[)]|${CC} $${CPPFLAGS} -c|'\
- ${WRKSRC}/build/bottom.make
+ ${WRKSRC}/build/bottom.make
@${REINPLACE_CMD} -e '/^CFLAGS =/d;/^CXXFLAGS =/d;/march=/d;\
/mtune=/d;/call cc-option/d;' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|-lungif|-lgif|; s|LIBUNGIF|GIFLIB|' \
+ ${WRKSRC}/codecs/Makefile
@${REINPLACE_CMD} -e '/CFLAGS=/s|".*"|"${CFLAGS} -I${LOCALBASE}/include"|;\
/LIBS=/s|".*"|"-L${LOCALBASE}/lib -lX11"|' ${WRKSRC}/config/pkgcheck-x11.c
@${REINPLACE_CMD} -e 's|$$prg|$$prg ${CPPFLAGS} -I${LOCALBASE}/include|;\
diff --git a/graphics/exact-image/distinfo b/graphics/exact-image/distinfo
index 37268e5d4827..e2e44c9ff4f0 100644
--- a/graphics/exact-image/distinfo
+++ b/graphics/exact-image/distinfo
@@ -1,2 +1,2 @@
-SHA256 (exact-image-0.8.6.tar.bz2) = 2beeaebb2e65c4ac888f013383e61d771067d75f52515f93d163492970fcfd69
-SIZE (exact-image-0.8.6.tar.bz2) = 283752
+SHA256 (exact-image-0.8.7.tar.bz2) = b1b5d00e98903b7f87019920b200c600c8cbfe574ec158729566fa37f2641dfd
+SIZE (exact-image-0.8.7.tar.bz2) = 284271