aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-04 18:01:30 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-04 18:01:30 +0000
commitb108d6939164e654b6c44352e0a20af0900e95de (patch)
tree5f4644de42f9bf375f6c18e3539fd85f54182510 /graphics
parent01ddb932cf98c8db79048d5e35da08874b474935 (diff)
downloadports-b108d6939164e654b6c44352e0a20af0900e95de.tar.gz
ports-b108d6939164e654b6c44352e0a20af0900e95de.zip
- Update to 0.2.5
PR: ports/149254 Submitted by: Denis Barov <dindin AT dindin.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=258787
Diffstat (limited to 'graphics')
-rw-r--r--graphics/lensfun/Makefile21
-rw-r--r--graphics/lensfun/distinfo6
-rw-r--r--graphics/lensfun/pkg-plist20
3 files changed, 26 insertions, 21 deletions
diff --git a/graphics/lensfun/Makefile b/graphics/lensfun/Makefile
index f32b0ae698b9..b7940173f435 100644
--- a/graphics/lensfun/Makefile
+++ b/graphics/lensfun/Makefile
@@ -6,39 +6,40 @@
#
PORTNAME= lensfun
-PORTVERSION= 0.2.3
-PORTREVISION= 1
+PORTVERSION= 0.2.5
CATEGORIES= graphics
MASTER_SITES= BERLIOS
MAINTAINER= dindin@dindin.ru
COMMENT= Library for fixing lens geometry distortion
-LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
+LIB_DEPENDS= png:${PORTSDIR}/graphics/png
+USE_LDCONFIG= yes
USE_GMAKE= yes
USE_PYTHON= yes
USE_BZIP2= yes
USE_GNOME= glib20
MAKEFILE= GNUmakefile
+LIBVERSION= 2
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CXXFLAGS+= -I${LOCALBASE}/include
HAS_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
-CONFIGURE_ARGS= --prefix=${PREFIX} --target=${TARGET}
+CONFIGURE_ARGS= --prefix=${PREFIX} --target=${TARGET} --vectorization=SSE
+
+PLIST_SUB+= PORTVERSION=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e '1s|#!/usr/bin/python|#!/usr/bin/env python|' \
-e 's|make --version|gmake --version|' \
-e '/add_config_mak.*DOXYGEN/ d' \
${WRKSRC}/configure
- @${REINPLACE_CMD} \
- -e 's|cp -d|/bin/cp |' ${WRKSRC}/build/mak/host/posix.mak
- @${REINPLACE_CMD} -e 's|lib64|lib|' ${WRKSRC}/ac.py
- @${REINPLACE_CMD} \
- -e 's|$$(CONF_LIBDIR)pkgconfig/|$$(CONF_PREFIX)libdata/pkgconfig/|g'\
- ${WRKSRC}/build/mak/compiler/pkgconfig.mak
+ @${REINPLACE_CMD} -e 's|{_libdir}/pkgconfig|{_libdir}/../libdata/pkgconfig|' \
+ ${WRKSRC}/build/lensfun.spec.in
+ @${REINPLACE_CMD} -e 's|CONF_LIBDIR)pkgconfig|CONF_LIBDIR)../libdata/pkgconfig|g' \
+ ${WRKSRC}/build/tibs/compiler/pkgconfig.mak
.include <bsd.port.mk>
diff --git a/graphics/lensfun/distinfo b/graphics/lensfun/distinfo
index aa69b3edbb6b..bc5d93f82e8f 100644
--- a/graphics/lensfun/distinfo
+++ b/graphics/lensfun/distinfo
@@ -1,3 +1,3 @@
-MD5 (lensfun-0.2.3.tar.bz2) = c5c04be4f53e3eef450ff4948d8f65b3
-SHA256 (lensfun-0.2.3.tar.bz2) = 836ab5869c0e81a54100c389e7274ead183d8dd5ee1992669bad92f57c43484f
-SIZE (lensfun-0.2.3.tar.bz2) = 151189
+MD5 (lensfun-0.2.5.tar.bz2) = a10438dffae68a5988fc54b0393a3755
+SHA256 (lensfun-0.2.5.tar.bz2) = c21498eb1889714af25e4e08474d9faa1e45132c89a8c1ac97340233e988fb87
+SIZE (lensfun-0.2.5.tar.bz2) = 470733
diff --git a/graphics/lensfun/pkg-plist b/graphics/lensfun/pkg-plist
index fd5de4bd9efd..793560400560 100644
--- a/graphics/lensfun/pkg-plist
+++ b/graphics/lensfun/pkg-plist
@@ -1,12 +1,11 @@
lib/liblensfun.so
-lib/liblensfun.so.0
-lib/liblensfun.so.0.2.3
-include/lensfun.h
libdata/pkgconfig/lensfun.pc
+include/lensfun.h
%%DATADIR%%/6x6.xml
%%DATADIR%%/compact-canon.xml
%%DATADIR%%/compact-casio.xml
%%DATADIR%%/compact-fujifilm.xml
+%%DATADIR%%/compact-kodak.xml
%%DATADIR%%/compact-konica-minolta.xml
%%DATADIR%%/compact-leica.xml
%%DATADIR%%/compact-nikon.xml
@@ -14,14 +13,17 @@ libdata/pkgconfig/lensfun.pc
%%DATADIR%%/compact-panasonic.xml
%%DATADIR%%/compact-pentax.xml
%%DATADIR%%/compact-ricoh.xml
+%%DATADIR%%/compact-sigma.xml
%%DATADIR%%/compact-sony.xml
%%DATADIR%%/generic.xml
%%DATADIR%%/rf-leica.xml
%%DATADIR%%/slr-canon.xml
%%DATADIR%%/slr-contax.xml
+%%DATADIR%%/slr-hasselblad.xml
%%DATADIR%%/slr-konica-minolta.xml
%%DATADIR%%/slr-nikon.xml
%%DATADIR%%/slr-olympus.xml
+%%DATADIR%%/slr-panasonic.xml
%%DATADIR%%/slr-pentax.xml
%%DATADIR%%/slr-samsung.xml
%%DATADIR%%/slr-schneider.xml
@@ -30,9 +32,11 @@ libdata/pkgconfig/lensfun.pc
%%DATADIR%%/slr-tamron.xml
%%DATADIR%%/slr-tokina.xml
%%DATADIR%%/slr-ussr.xml
-share/doc/lensfun-0.2.3/README
-share/doc/lensfun-0.2.3/lgpl-3.0.txt
-share/doc/lensfun-0.2.3/gpl-3.0.txt
-share/doc/lensfun-0.2.3/cc-by-sa-3.0.txt
-@dirrm share/doc/lensfun-0.2.3
+share/doc/lensfun-%%PORTVERSION%%/README
+share/doc/lensfun-%%PORTVERSION%%/lgpl-3.0.txt
+share/doc/lensfun-%%PORTVERSION%%/gpl-3.0.txt
+share/doc/lensfun-%%PORTVERSION%%/cc-by-sa-3.0.txt
+@dirrm share/doc/lensfun-%%PORTVERSION%%
@dirrm %%DATADIR%%
+@dirrmtry lib/pkgconfig
+@exec ln -fs lib/liblensfun.so lib/liblensfun.so.2