[41239] trunk/dports/graphics
devans at macports.org
devans at macports.org
Tue Oct 28 15:59:58 PDT 2008
Revision: 41239
http://trac.macports.org/changeset/41239
Author: devans at macports.org
Date: 2008-10-28 15:59:58 -0700 (Tue, 28 Oct 2008)
Log Message:
-----------
new port lib2geom: a library providing a robust 2D computational geometry framework.
Added Paths:
-----------
trunk/dports/graphics/lib2geom/
trunk/dports/graphics/lib2geom/Portfile
trunk/dports/graphics/lib2geom/files/
trunk/dports/graphics/lib2geom/files/patch-src-2geom-CMakeLists.txt.diff
trunk/dports/graphics/lib2geom/files/patch-src-2geom-toys-CMakeLists.txt.diff
Added: trunk/dports/graphics/lib2geom/Portfile
===================================================================
--- trunk/dports/graphics/lib2geom/Portfile (rev 0)
+++ trunk/dports/graphics/lib2geom/Portfile 2008-10-28 22:59:58 UTC (rev 41239)
@@ -0,0 +1,39 @@
+# -*- 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 lib2geom
+version 0.2.0
+maintainers devans
+categories graphics
+platforms darwin
+homepage http://lib2geom.org/
+
+description lib2geom is a library providing a robust 2D computational geometry framework.
+
+long_description \
+ lib2geom (2Geom in private life) is a library initially developed for Inkscape but which \
+ will provide a robust 2D computational geometry framework for any application. It is not a \
+ rendering library, but instead concentrates on high level algorithms such as computing arc length.
+
+master_sites sourceforge
+checksums md5 983941e4b115a3af9ee95ab2d9cc35e5 \
+ sha1 c0fc2c50e14dba98753400c75241585fda026960 \
+ rmd160 f861adb5f7b308dc6197175c8beecfa6682ba42e
+
+depends_build port:cmake \
+ port:pkgconfig
+
+depends_lib port:gtkmm \
+ port:boost \
+ port:gsl
+
+patchfiles patch-src-2geom-CMakeLists.txt.diff \
+ patch-src-2geom-toys-CMakeLists.txt.diff
+
+configure.cmd cmake
+configure.args -Wno-dev -DCMAKE_INSTALL_PREFIX=${prefix} -D2GEOM_BUILD_SHARED=YES
+configure.post_args ${worksrcpath}
+
+livecheck.version 0.2
Property changes on: trunk/dports/graphics/lib2geom/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/graphics/lib2geom/files/patch-src-2geom-CMakeLists.txt.diff
===================================================================
--- trunk/dports/graphics/lib2geom/files/patch-src-2geom-CMakeLists.txt.diff (rev 0)
+++ trunk/dports/graphics/lib2geom/files/patch-src-2geom-CMakeLists.txt.diff 2008-10-28 22:59:58 UTC (rev 41239)
@@ -0,0 +1,13 @@
+--- src/2geom/CMakeLists.txt.orig 2008-10-28 14:57:57.000000000 -0700
++++ src/2geom/CMakeLists.txt 2008-10-28 15:00:32.000000000 -0700
+@@ -162,7 +162,7 @@
+ CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/2geom.pc.in
+ ${CMAKE_BINARY_DIR}/2geom.pc @ONLY IMMEDIATE )
+ INSTALL(FILES "${CMAKE_BINARY_DIR}/2geom.pc" DESTINATION lib/pkgconfig)
+-ADD_SUBDIRECTORY (toys)
+-ADD_SUBDIRECTORY (tests)
+-ADD_SUBDIRECTORY (py2geom)
++#ADD_SUBDIRECTORY (toys)
++#ADD_SUBDIRECTORY (tests)
++#ADD_SUBDIRECTORY (py2geom)
+
Added: trunk/dports/graphics/lib2geom/files/patch-src-2geom-toys-CMakeLists.txt.diff
===================================================================
--- trunk/dports/graphics/lib2geom/files/patch-src-2geom-toys-CMakeLists.txt.diff (rev 0)
+++ trunk/dports/graphics/lib2geom/files/patch-src-2geom-toys-CMakeLists.txt.diff 2008-10-28 22:59:58 UTC (rev 41239)
@@ -0,0 +1,11 @@
+--- src/2geom/toys/CMakeLists.txt.orig 2008-10-28 09:32:26.000000000 -0700
++++ src/2geom/toys/CMakeLists.txt 2008-10-28 09:33:01.000000000 -0700
+@@ -27,7 +27,7 @@
+ convex-toy
+ curvature-test
+ curve-curve-distance
+-curve-curve-nearest-point-3
++#curve-curve-nearest-point-3
+ curve-intersection-by-bezier-clipping
+ curve-intersection-by-implicitization
+ d2sbasis-fitting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081028/529bd32b/attachment.html>
More information about the macports-changes
mailing list