[44563] trunk/dports/graphics

devans at macports.org devans at macports.org
Tue Dec 30 09:22:45 PST 2008


Revision: 44563
          http://trac.macports.org/changeset/44563
Author:   devans at macports.org
Date:     2008-12-30 09:22:44 -0800 (Tue, 30 Dec 2008)
Log Message:
-----------
inkscape-devel: a development version of inkscape based on a recent svn revision, since there has been a lot of changes and improvements on trunk since the 0.46 stable release and there is no 0.47 release on the horizon as yet.

Added Paths:
-----------
    trunk/dports/graphics/inkscape-devel/
    trunk/dports/graphics/inkscape-devel/Portfile

Added: trunk/dports/graphics/inkscape-devel/Portfile
===================================================================
--- trunk/dports/graphics/inkscape-devel/Portfile	                        (rev 0)
+++ trunk/dports/graphics/inkscape-devel/Portfile	2008-12-30 17:22:44 UTC (rev 44563)
@@ -0,0 +1,82 @@
+# -*- 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            inkscape-devel
+version         0.46+devel
+revision        20415
+maintainers     devans
+categories      graphics gnome
+platforms       darwin
+homepage        http://www.inkscape.org/
+
+description     Inkscape is an open source SVG editor.
+
+long_description \
+                Inkscape is an open source SVG editor with \
+                capabilities similar to Illustrator, CorelDraw, \
+                Visio, etc. Supported SVG features include basic \
+                shapes, paths, text, alpha blending, transforms, \
+                gradients, node editing, svg-to-png export, \
+                grouping, and more.
+
+fetch.type      svn
+
+svn.url         http://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk ${worksrcdir}
+svn.tag         ${revision}
+
+depends_lib     port:boehmgc \
+                port:gnome-vfs \
+                port:poppler \
+                port:freetype \
+                port:py25-xml \
+                port:py25-numpy \
+                port:py25-lxml \
+                port:lcms \
+                port:openssl \
+                port:libwpg \
+                port:ImageMagick \
+                port:gtkmm \
+                port:libxslt \
+                port:gtkspell2 \
+                port:gsl \
+                port:boost 
+
+configure.cmd   {./autogen.sh && ./configure}
+
+configure.args  \
+        --mandir=${prefix}/share/man \
+        --with-xft \
+        --with-gnome-vfs \
+        --with-perl \
+        --with-python \
+        --enable-lcms \
+        --enable-inkboard
+
+configure.cppflags-append \
+        -I${worksrcpath}/src/extension/script
+
+default_variants \
+        disable_debugging
+
+variant disable_debugging conflicts enable_debugging description {Disable debugging. Strip executables to save disk space} {
+        # this variant strips the executables saving @200MB of disk space
+        # at the cost of not being able to get meaningful debugging information
+        # in the event of an application crash
+        post-destroot {
+            system "strip ${destroot}${prefix}/bin/inkscape"
+            system "strip ${destroot}${prefix}/bin/inkview"
+        }
+}
+
+variant enable_debugging conflicts disable_debugging description {Enable debugging. Executables not stripped} {
+        # does nothing but offer a counter-point to disable_debugging
+}
+
+post-patch {
+        reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.5\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
+        reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h
+}
+
+livecheck.check          none


Property changes on: trunk/dports/graphics/inkscape-devel/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081230/f9898e85/attachment.html>


More information about the macports-changes mailing list