[75147] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Sun Jan 16 02:47:11 PST 2011


Revision: 75147
          http://trac.macports.org/changeset/75147
Author:   ryandesign at macports.org
Date:     2011-01-16 02:47:03 -0800 (Sun, 16 Jan 2011)
Log Message:
-----------
lensfun: new port, version 0.2.5; see #27986

Added Paths:
-----------
    trunk/dports/graphics/lensfun/
    trunk/dports/graphics/lensfun/Portfile
    trunk/dports/graphics/lensfun/files/
    trunk/dports/graphics/lensfun/files/patch-pkgconfig.diff

Added: trunk/dports/graphics/lensfun/Portfile
===================================================================
--- trunk/dports/graphics/lensfun/Portfile	                        (rev 0)
+++ trunk/dports/graphics/lensfun/Portfile	2011-01-16 10:47:03 UTC (rev 75147)
@@ -0,0 +1,37 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                lensfun
+version             0.2.5
+categories          graphics
+platforms           darwin
+maintainers         gmail.com:julians37
+license             GPL-3 LGPL-3
+
+description         Library for fixing lens geometry distortion
+
+long_description    Provides a database of photographic lenses and a library \
+                    that allows advanced access to the database including \
+                    functions to correct images based on intimate knowledge \
+                    of lens characteristics and calibration data.
+
+homepage            http://lensfun.berlios.de/
+master_sites        http://download.berlios.de/lensfun/
+
+checksums           sha1    0ed0ceccd8ea0fe19b942682a9e71b0bf08c9336 \
+                    rmd160  d2d2c45eddc03e50e9425125e283b236c976b5d2
+
+depends_build       port:pkgconfig
+
+depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2
+
+# Ensure lensfun.pc is created
+patchfiles          patch-pkgconfig.diff
+
+configure.universal_args-delete --disable-dependency-tracking
+
+livecheck.type      regex
+livecheck.url       http://developer.berlios.de/project/showfiles.php?group_id=9034
+livecheck.regex     "lensfun-(\\d+(?:\\.\\d+)*).tar"


Property changes on: trunk/dports/graphics/lensfun/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/graphics/lensfun/files/patch-pkgconfig.diff
===================================================================
--- trunk/dports/graphics/lensfun/files/patch-pkgconfig.diff	                        (rev 0)
+++ trunk/dports/graphics/lensfun/files/patch-pkgconfig.diff	2011-01-16 10:47:03 UTC (rev 75147)
@@ -0,0 +1,13 @@
+--- build/tibs/compiler/pkgconfig.mak.orig	2010-03-23 09:32:47.000000000 +1300
++++ build/tibs/compiler/pkgconfig.mak	2011-01-16 13:37:03.000000000 +1300
+@@ -3,8 +3,9 @@
+ ifdef CONF_LIBDIR
+ # Try to guess here if target supports pkgconfig
+ # - Any POSIX platform
++# - Macintosh
+ # - Cross-compiling on a POSIX target for WINDOWS (mingw32)
+-ifneq ($(findstring /posix/,/$(TARGET)/)$(findstring /posix-windows/,/$(HOST)-$(TARGET)/),)
++ifneq ($(findstring /posix/,/$(TARGET)/)$(findstring /mac/,/$(TARGET)/)$(findstring /posix-windows/,/$(HOST)-$(TARGET)/),)
+ 
+ XFNAME.PKGCONFIG = $(addprefix $$(OUT),$1)
+ MKDEPS.PKGCONFIG = $1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110116/9d467043/attachment.html>


More information about the macports-changes mailing list