[139025] trunk/dports/graphics/lensfun

devans at macports.org devans at macports.org
Wed Jul 29 22:04:52 PDT 2015


Revision: 139025
          https://trac.macports.org/changeset/139025
Author:   devans at macports.org
Date:     2015-07-29 22:04:52 -0700 (Wed, 29 Jul 2015)
Log Message:
-----------
lensfun: update to version 0.3.1, dependencies, configuration, livecheck (#48459).

Modified Paths:
--------------
    trunk/dports/graphics/lensfun/Portfile
    trunk/dports/graphics/lensfun/files/patch-docs-CMakeLists.txt.diff

Modified: trunk/dports/graphics/lensfun/Portfile
===================================================================
--- trunk/dports/graphics/lensfun/Portfile	2015-07-30 04:47:37 UTC (rev 139024)
+++ trunk/dports/graphics/lensfun/Portfile	2015-07-30 05:04:52 UTC (rev 139025)
@@ -9,7 +9,7 @@
 
 name                lensfun
 epoch               1
-version             0.3.0
+version             0.3.1
 categories          graphics
 platforms           darwin
 maintainers         devans openmaintainer
@@ -24,10 +24,9 @@
 
 homepage            http://lensfun.sourceforge.net/
 master_sites        sourceforge:project/${name}/${version}
-use_bzip2           yes
 
-checksums           rmd160  dc39f4708b2632ed6795052d368f3ad847c6704f \
-                    sha256  c2c3c03873cb549d49d42f118fcb0ffa95d1e45b9ff395e19facb63bf699bec1
+checksums           rmd160  b98aeed79c4514ed73ecd48e46d78c673b7d7e96 \
+                    sha256  216c23754212e051c8b834437e46af3812533bd770c09714e8c06c9d91cdb535
 
 # With 0.3.0 and gcc-4.2:
 #    #error "I don't know how to change symbol visibility for your compiler"
@@ -37,7 +36,8 @@
                     port:pkgconfig
 
 depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
-                    port:libpng
+                    port:libpng \
+                    port:zlib
 
 # installs python3 helper scripts lensfun-add-adapter lensfun-update-data
 
@@ -55,6 +55,10 @@
                          ${worksrcpath}/apps/lensfun-update-data
 }
 
+configure.args-append \
+                    -DPYTHON_EXECUTABLE=${prefix}/bin/python3.4 \
+                    -DBUILD_LENSTOOL=ON
+
 variant doc description {Build API and man documentation using doxygen, rst2man} {
     depends_build-append \
                     port:doxygen \
@@ -64,4 +68,4 @@
                     -DBUILD_DOC=ON
 }
 
-livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)"

Modified: trunk/dports/graphics/lensfun/files/patch-docs-CMakeLists.txt.diff
===================================================================
--- trunk/dports/graphics/lensfun/files/patch-docs-CMakeLists.txt.diff	2015-07-30 04:47:37 UTC (rev 139024)
+++ trunk/dports/graphics/lensfun/files/patch-docs-CMakeLists.txt.diff	2015-07-30 05:04:52 UTC (rev 139025)
@@ -1,19 +1,15 @@
---- docs/CMakeLists.txt.orig	2014-09-30 10:37:34.000000000 -0700
-+++ docs/CMakeLists.txt	2015-03-06 08:19:31.000000000 -0800
-@@ -26,9 +26,9 @@
+--- docs/CMakeLists.txt.orig	2015-05-10 05:04:53.000000000 -0700
++++ docs/CMakeLists.txt	2015-07-29 16:27:16.000000000 -0700
+@@ -23,7 +23,7 @@
+ INSTALL(DIRECTORY ${CMAKE_DOC_OUT}/ DESTINATION ${DOCDIR})
+ 
+ # create and install man pages
+-FIND_PROGRAM(RST2MAN_EXECUTABLE NAMES rst2man rst2man.py rst2man2 rst2man2.py)
++FIND_PROGRAM(RST2MAN_EXECUTABLE NAMES rst2man-3.4.py rst2man rst2man.py rst2man2 rst2man2.py)
  ADD_CUSTOM_TARGET(man ALL)
  ADD_CUSTOM_COMMAND(
    TARGET man
--  COMMAND rst2man ${CMAKE_CURRENT_SOURCE_DIR}/man/g-lensfun-update-data.1.rst > ${CMAKE_CURRENT_BINARY_DIR}/g-lensfun-update-data.1
--  COMMAND rst2man ${CMAKE_CURRENT_SOURCE_DIR}/man/lensfun-update-data.1.rst > ${CMAKE_CURRENT_BINARY_DIR}/lensfun-update-data.1
--  COMMAND rst2man ${CMAKE_CURRENT_SOURCE_DIR}/man/lensfun-add-adapter.1.rst > ${CMAKE_CURRENT_BINARY_DIR}/lensfun-add-adapter.1
-+  COMMAND rst2man-3.4.py ${CMAKE_CURRENT_SOURCE_DIR}/man/g-lensfun-update-data.1.rst > ${CMAKE_CURRENT_BINARY_DIR}/g-lensfun-update-data.1
-+  COMMAND rst2man-3.4.py ${CMAKE_CURRENT_SOURCE_DIR}/man/lensfun-update-data.1.rst > ${CMAKE_CURRENT_BINARY_DIR}/lensfun-update-data.1
-+  COMMAND rst2man-3.4.py ${CMAKE_CURRENT_SOURCE_DIR}/man/lensfun-add-adapter.1.rst > ${CMAKE_CURRENT_BINARY_DIR}/lensfun-add-adapter.1
-   WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
- )
- 
-@@ -36,5 +36,5 @@
+@@ -37,5 +37,5 @@
      ${CMAKE_CURRENT_BINARY_DIR}/g-lensfun-update-data.1 
      ${CMAKE_CURRENT_BINARY_DIR}/lensfun-update-data.1 
      ${CMAKE_CURRENT_BINARY_DIR}/lensfun-add-adapter.1 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150729/93b3f171/attachment.html>


More information about the macports-changes mailing list