[38236] trunk/dports/gnome/inkscape/Portfile

raimue at macports.org raimue at macports.org
Sun Jul 13 06:03:58 PDT 2008


Revision: 38236
          http://trac.macosforge.org/projects/macports/changeset/38236
Author:   raimue at macports.org
Date:     2008-07-13 06:03:58 -0700 (Sun, 13 Jul 2008)
Log Message:
-----------
gnome/inkscape:
Maintainer update:
white space cleanup, fix livecheck
Closes #15890.

Modified Paths:
--------------
    trunk/dports/gnome/inkscape/Portfile

Modified: trunk/dports/gnome/inkscape/Portfile
===================================================================
--- trunk/dports/gnome/inkscape/Portfile	2008-07-13 12:18:27 UTC (rev 38235)
+++ trunk/dports/gnome/inkscape/Portfile	2008-07-13 13:03:58 UTC (rev 38236)
@@ -3,81 +3,89 @@
 
 PortSystem 1.0
 
-name		inkscape
-version		0.46
-revision 	3
-maintainers	gmail.com:dbevans
-categories	gnome graphics
-platforms	darwin
-homepage	http://www.inkscape.org/
+name            inkscape
+version         0.46
+revision        3
+maintainers     gmail.com:dbevans
+categories      gnome graphics
+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.
+description     Inkscape is an open source SVG editor.
 
-use_bzip2 		yes
+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.
+
+use_bzip2       yes
 master_sites    sourceforge
 checksums       md5 59997096c3640b2601c2b4afba8a3d75 \
-				sha1 ca68fc9bf539d7bcfc31f36d24f884255b2154e7
+                sha1 ca68fc9bf539d7bcfc31f36d24f884255b2154e7
 
-depends_lib	\
-		port:libgnomeprintui \
-		port:boehmgc \
-		port:gtkmm \
-		port:gnome-vfs \
-		port:libxslt \
-		port:lcms \
-		port:dbus \
-		port:dbus-glib \
-		port:py25-xml \
-		port:libcroco \
-		port:poppler \
-		port:py25-numpy \
-		port:py25-lxml \
-		port:boost \
-		port:ImageMagick \
-		port:libwpg
+depends_lib     port:libgnomeprintui \
+                port:boehmgc \
+                port:gtkmm \
+                port:gnome-vfs \
+                port:libxslt \
+                port:lcms \
+                port:dbus \
+                port:dbus-glib \
+                port:py25-xml \
+                port:libcroco \
+                port:poppler \
+                port:py25-numpy \
+                port:py25-lxml \
+                port:boost \
+                port:ImageMagick \
+                port:libwpg
 
 patchfiles      patch-configure.diff \
                 patch-src-Makefile.in.diff \
                 patch-src-extension-internal-pdfinput-pdf-parser.cpp.diff
 
-configure.args	\
-	--mandir=${prefix}/share/man \
-	--with-xft \
-	--with-gnome-print \
-	--with-gnome-vfs \
-	--with-perl \
-	--with-python \
-	--enable-lcms \
-	--enable-inkboard
+configure.args  \
+        --mandir=${prefix}/share/man \
+        --with-xft \
+        --with-gnome-print \
+        --with-gnome-vfs \
+        --with-perl \
+        --with-python \
+        --enable-lcms \
+        --enable-inkboard
 
-configure.python	${prefix}/bin/python2.5
-configure.cppflags-append	-I${worksrcpath}/src/extension/script
+configure.python \
+        ${prefix}/bin/python2.5
 
+configure.cppflags-append \
+        -I${worksrcpath}/src/extension/script
+
 default_variants \
-    disable_debugging
+        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"
-    }
+        # 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
+        # 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
+        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         regex
+livecheck.url           http://sourceforge.net/export/rss2_projfiles.php?project=${name}
+livecheck.regex         <title>${name} (\[0-9.\]+) released.*</title>
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080713/4d8328ce/attachment.html 


More information about the macports-changes mailing list