Index: graphics/lensfun/Makefile =================================================================== --- graphics/lensfun/Makefile +++ graphics/lensfun/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= lensfun -PORTVERSION= 0.3.0 +PORTVERSION= 0.3.2 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} @@ -14,7 +14,7 @@ LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png -USES= cmake pkgconfig tar:bzip2 +USES= cmake pkgconfig USE_GNOME= glib20 USE_LDCONFIG= yes CMAKE_ARGS= -DBUILD_AUXFUN:BOOL=ON -DINSTALL_HELPER_SCRIPTS:BOOL=OFF @@ -28,7 +28,7 @@ .endif post-patch: - @${REINPLACE_CMD} -e '/pkgconfig/s,$${LIBDIR},libdata,' \ + @${REINPLACE_CMD} -e '/pkgconfig/s,$${CMAKE_INSTALL_LIBDIR},$${CMAKE_INSTALL_PREFIX}/libdata,' \ ${WRKSRC}/libs/lensfun/CMakeLists.txt .include Index: graphics/lensfun/distinfo =================================================================== --- graphics/lensfun/distinfo +++ graphics/lensfun/distinfo @@ -1,2 +1,2 @@ -SHA256 (lensfun-0.3.0.tar.bz2) = c2c3c03873cb549d49d42f118fcb0ffa95d1e45b9ff395e19facb63bf699bec1 -SIZE (lensfun-0.3.0.tar.bz2) = 636694 +SHA256 (lensfun-0.3.2.tar.gz) = ae8bcad46614ca47f5bda65b00af4a257a9564a61725df9c74cb260da544d331 +SIZE (lensfun-0.3.2.tar.gz) = 784825 Index: graphics/lensfun/files/patch-CMakeLists.txt =================================================================== --- graphics/lensfun/files/patch-CMakeLists.txt +++ graphics/lensfun/files/patch-CMakeLists.txt @@ -1,6 +1,6 @@ ---- CMakeLists.txt.orig 2014-09-30 17:37:34 UTC +--- CMakeLists.txt.orig 2015-11-19 09:03:53 UTC +++ CMakeLists.txt -@@ -46,15 +46,11 @@ ENDIF() +@@ -62,15 +62,11 @@ ENDIF() IF(BUILD_FOR_SSE) SET(VECTORIZATION_SSE 1) @@ -18,11 +18,11 @@ ENDIF() IF(WIN32) -@@ -68,6 +64,7 @@ ENDIF() - # find dependencies - FIND_PACKAGE(GLIB2 REQUIRED) - INCLUDE_DIRECTORIES(${GLIB2_INCLUDE_DIRS}) +@@ -91,6 +87,7 @@ SET(LENSFUN_GLIB_REQUIREMENT_MACRO "GLIB + FIND_PACKAGE(GLIB2 REQUIRED 2.40) + + INCLUDE_DIRECTORIES(SYSTEM ${GLIB2_INCLUDE_DIRS}) +LINK_DIRECTORIES(${GLIB2_LIBRARY_DIRS}) - IF(BUILD_AUXFUN) - FIND_PACKAGE(PNG REQUIRED) + + IF(BUILD_STATIC) Index: graphics/lensfun/pkg-plist =================================================================== --- graphics/lensfun/pkg-plist +++ graphics/lensfun/pkg-plist @@ -1,62 +1,58 @@ -include/auxfun/image.h -include/auxfun/rgbpixel.h include/lensfun/lensfun.h -lib/libauxfun.so -lib/libauxfun.so.0 -lib/libauxfun.so.0.3.0 lib/liblensfun.so -lib/liblensfun.so.0 -lib/liblensfun.so.0.3.0 +lib/liblensfun.so.1 +lib/liblensfun.so.0.3.2 libdata/pkgconfig/lensfun.pc -%%DATADIR%%/6x6.xml -%%DATADIR%%/compact-canon.xml -%%DATADIR%%/compact-casio.xml -%%DATADIR%%/compact-fujifilm.xml -%%DATADIR%%/compact-gopro.xml -%%DATADIR%%/compact-kodak.xml -%%DATADIR%%/compact-konica-minolta.xml -%%DATADIR%%/compact-leica.xml -%%DATADIR%%/compact-nikon.xml -%%DATADIR%%/compact-olympus.xml -%%DATADIR%%/compact-panasonic.xml -%%DATADIR%%/compact-pentax.xml -%%DATADIR%%/compact-ricoh.xml -%%DATADIR%%/compact-samsung.xml -%%DATADIR%%/compact-sigma.xml -%%DATADIR%%/compact-sony.xml -%%DATADIR%%/generic.xml -%%DATADIR%%/mil-canon.xml -%%DATADIR%%/mil-fujifilm.xml -%%DATADIR%%/mil-nikon.xml -%%DATADIR%%/mil-olympus.xml -%%DATADIR%%/mil-panasonic.xml -%%DATADIR%%/mil-pentax.xml -%%DATADIR%%/mil-samsung.xml -%%DATADIR%%/mil-samyang.xml -%%DATADIR%%/mil-sigma.xml -%%DATADIR%%/mil-sony.xml -%%DATADIR%%/mil-zeiss.xml -%%DATADIR%%/misc.xml -%%DATADIR%%/rf-leica.xml -%%DATADIR%%/slr-canon.xml -%%DATADIR%%/slr-contax.xml -%%DATADIR%%/slr-hasselblad.xml -%%DATADIR%%/slr-konica-minolta.xml -%%DATADIR%%/slr-leica.xml -%%DATADIR%%/slr-nikon.xml -%%DATADIR%%/slr-olympus.xml -%%DATADIR%%/slr-panasonic.xml -%%DATADIR%%/slr-pentax.xml -%%DATADIR%%/slr-ricoh.xml -%%DATADIR%%/slr-samsung.xml -%%DATADIR%%/slr-samyang.xml -%%DATADIR%%/slr-schneider.xml -%%DATADIR%%/slr-sigma.xml -%%DATADIR%%/slr-soligor.xml -%%DATADIR%%/slr-sony.xml -%%DATADIR%%/slr-tamron.xml -%%DATADIR%%/slr-tokina.xml -%%DATADIR%%/slr-ussr.xml -%%DATADIR%%/slr-vivitar.xml -%%DATADIR%%/slr-zeiss.xml -%%DATADIR%%/timestamp.txt +%%DATADIR%%/version_1/6x6.xml +%%DATADIR%%/version_1/actioncams.xml +%%DATADIR%%/version_1/compact-canon.xml +%%DATADIR%%/version_1/compact-casio.xml +%%DATADIR%%/version_1/compact-fujifilm.xml +%%DATADIR%%/version_1/compact-kodak.xml +%%DATADIR%%/version_1/compact-konica-minolta.xml +%%DATADIR%%/version_1/compact-leica.xml +%%DATADIR%%/version_1/compact-nikon.xml +%%DATADIR%%/version_1/compact-olympus.xml +%%DATADIR%%/version_1/compact-panasonic.xml +%%DATADIR%%/version_1/compact-pentax.xml +%%DATADIR%%/version_1/compact-ricoh.xml +%%DATADIR%%/version_1/compact-samsung.xml +%%DATADIR%%/version_1/compact-sigma.xml +%%DATADIR%%/version_1/compact-sony.xml +%%DATADIR%%/version_1/contax.xml +%%DATADIR%%/version_1/generic.xml +%%DATADIR%%/version_1/mil-canon.xml +%%DATADIR%%/version_1/mil-fujifilm.xml +%%DATADIR%%/version_1/mil-nikon.xml +%%DATADIR%%/version_1/mil-olympus.xml +%%DATADIR%%/version_1/mil-panasonic.xml +%%DATADIR%%/version_1/mil-pentax.xml +%%DATADIR%%/version_1/mil-samsung.xml +%%DATADIR%%/version_1/mil-samyang.xml +%%DATADIR%%/version_1/mil-sigma.xml +%%DATADIR%%/version_1/mil-sony.xml +%%DATADIR%%/version_1/mil-tamron.xml +%%DATADIR%%/version_1/mil-zeiss.xml +%%DATADIR%%/version_1/misc.xml +%%DATADIR%%/version_1/rf-leica.xml +%%DATADIR%%/version_1/slr-canon.xml +%%DATADIR%%/version_1/slr-hasselblad.xml +%%DATADIR%%/version_1/slr-konica-minolta.xml +%%DATADIR%%/version_1/slr-leica.xml +%%DATADIR%%/version_1/slr-nikon.xml +%%DATADIR%%/version_1/slr-olympus.xml +%%DATADIR%%/version_1/slr-panasonic.xml +%%DATADIR%%/version_1/slr-pentax.xml +%%DATADIR%%/version_1/slr-ricoh.xml +%%DATADIR%%/version_1/slr-samsung.xml +%%DATADIR%%/version_1/slr-samyang.xml +%%DATADIR%%/version_1/slr-schneider.xml +%%DATADIR%%/version_1/slr-sigma.xml +%%DATADIR%%/version_1/slr-soligor.xml +%%DATADIR%%/version_1/slr-sony.xml +%%DATADIR%%/version_1/slr-tamron.xml +%%DATADIR%%/version_1/slr-tokina.xml +%%DATADIR%%/version_1/slr-ussr.xml +%%DATADIR%%/version_1/slr-vivitar.xml +%%DATADIR%%/version_1/slr-zeiss.xml +%%DATADIR%%/version_1/timestamp.txt