[49536] trunk/dports/graphics

devans at macports.org devans at macports.org
Sat Apr 11 16:16:12 PDT 2009


Revision: 49536
          http://trac.macports.org/changeset/49536
Author:   devans at macports.org
Date:     2009-04-11 16:16:12 -0700 (Sat, 11 Apr 2009)
Log Message:
-----------
new port jessyink: an Inkscape extension that can turn a layered SVG image into a presentation.

Added Paths:
-----------
    trunk/dports/graphics/jessyink/
    trunk/dports/graphics/jessyink/Portfile
    trunk/dports/graphics/jessyink/files/
    trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_autoTexts.py.diff
    trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_effects.py.diff
    trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_install.py.diff
    trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_masterSlide.py.diff
    trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_transitions.py.diff
    trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_uninstall.py.diff

Added: trunk/dports/graphics/jessyink/Portfile
===================================================================
--- trunk/dports/graphics/jessyink/Portfile	                        (rev 0)
+++ trunk/dports/graphics/jessyink/Portfile	2009-04-11 23:16:12 UTC (rev 49536)
@@ -0,0 +1,66 @@
+# -*- 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            jessyink
+version         1.0.0
+categories      graphics
+maintainers     devans
+platforms       darwin
+homepage        http://code.google.com/p/${name}/
+master_sites    googlecode
+
+use_zip         yes
+
+set gname       JessyInk
+set gvers       1_0_0
+
+distname        ${gname}_${gvers}
+
+description \
+    JessyInk is a JavaScript that turns a layered Inkscape SVG image into a presentation.
+
+
+long_description \
+    JessyInk is a JavaScript that can be incorporated into an Inkscape SVG image containing \
+    several layers. Each layer will be converted into one slide of a presentation. Current \
+    features include: slide transitions, effects, an index sheet, a master slide and auto-texts \
+    like slide title, slide number and number of slides.
+
+universal_variant  no
+
+checksums       md5     7d87b1d550d6e00895c6ca16aed0772b \
+                sha1    6e5e11f2e3c23c05054e09c06b38b126b2fde5f0 \
+                rmd160  c00d9308f5c42af2aaea40bd4bf3c01dcb248caa
+
+depends_lib     path:bin/inkscape:inkscape
+
+patchfiles      patch-inkscapeExtensions-jessyInk_autoTexts.py.diff \
+                patch-inkscapeExtensions-jessyInk_masterSlide.py.diff \
+                patch-inkscapeExtensions-jessyInk_effects.py.diff \
+                patch-inkscapeExtensions-jessyInk_transitions.py.diff \
+                patch-inkscapeExtensions-jessyInk_install.py.diff \
+                patch-inkscapeExtensions-jessyInk_uninstall.py.diff
+
+use_configure   no
+
+build           {}
+
+destroot {
+                xinstall -d ${destroot}${prefix}/share/doc/${name}
+                xinstall -d ${destroot}${prefix}/share/inkscape/extensions
+                xinstall -m 644 -W ${worksrcpath} README.txt gpl.txt ${destroot}${prefix}/share/doc/${name}
+                eval xinstall -m 644 [glob -directory ${worksrcpath}/inkscapeExtensions *.js *.inx] ${destroot}${prefix}/share/inkscape/extensions
+                eval xinstall -m 755 [glob -directory ${worksrcpath}/inkscapeExtensions *.py] ${destroot}${prefix}/share/inkscape/extensions
+}
+
+post-activate {
+               ui_msg "
+
+Please see the JessyInk wiki at http://code.google.com/p/jessyink/ for detailed information on using JessyInk.
+
+"
+}
+livecheck.version ${gvers}
+livecheck.regex "${gname}_(\\d+(?:_\\d+)*)${extract.suffix}"


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

Added: trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_autoTexts.py.diff
===================================================================
--- trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_autoTexts.py.diff	                        (rev 0)
+++ trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_autoTexts.py.diff	2009-04-11 23:16:12 UTC (rev 49536)
@@ -0,0 +1,20 @@
+--- inkscapeExtensions/jessyInk_autoTexts.py.orig	2009-04-09 16:27:44.000000000 -0700
++++ inkscapeExtensions/jessyInk_autoTexts.py	2009-04-09 16:40:53.000000000 -0700
+@@ -15,13 +15,13 @@
+ 
+ # These lines are only needed if you don't put the script directly into
+ # the installation directory
+-import sys
++#import sys
+ # Unix
+-sys.path.append('/usr/share/inkscape/extensions')
++#sys.path.append('/usr/share/inkscape/extensions')
+ # OS X
+-sys.path.append('/Applications/Inkscape.app/Contents/Resources/extensions')
++#sys.path.append('/Applications/Inkscape.app/Contents/Resources/extensions')
+ # Windows
+-sys.path.append('C:\Program Files\Inkscape\share\extensions')
++#sys.path.append('C:\Program Files\Inkscape\share\extensions')
+ 
+ # We will use the inkex module with the predefined Effect base class.
+ import inkex

Added: trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_effects.py.diff
===================================================================
--- trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_effects.py.diff	                        (rev 0)
+++ trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_effects.py.diff	2009-04-11 23:16:12 UTC (rev 49536)
@@ -0,0 +1,20 @@
+--- inkscapeExtensions/jessyInk_effects.py.orig	2009-04-09 16:29:18.000000000 -0700
++++ inkscapeExtensions/jessyInk_effects.py	2009-04-09 16:33:37.000000000 -0700
+@@ -15,13 +15,13 @@
+ 
+ # These lines are only needed if you don't put the script directly into
+ # the installation directory
+-import sys
++#import sys
+ # Unix
+-sys.path.append('/usr/share/inkscape/extensions')
++#sys.path.append('/usr/share/inkscape/extensions')
+ # OS X
+-sys.path.append('/Applications/Inkscape.app/Contents/Resources/extensions')
++#sys.path.append('/Applications/Inkscape.app/Contents/Resources/extensions')
+ # Windows
+-sys.path.append('C:\Program Files\Inkscape\share\extensions')
++#sys.path.append('C:\Program Files\Inkscape\share\extensions')
+ 
+ # We will use the inkex module with the predefined Effect base class.
+ import inkex

Added: trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_install.py.diff
===================================================================
--- trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_install.py.diff	                        (rev 0)
+++ trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_install.py.diff	2009-04-11 23:16:12 UTC (rev 49536)
@@ -0,0 +1,20 @@
+--- inkscapeExtensions/jessyInk_install.py.orig	2009-04-09 16:29:55.000000000 -0700
++++ inkscapeExtensions/jessyInk_install.py	2009-04-09 16:36:09.000000000 -0700
+@@ -19,13 +19,13 @@
+ 
+ # These lines are only needed if you don't put the script directly into
+ # the installation directory
+-import sys
++#import sys
+ # Unix
+-sys.path.append('/usr/share/inkscape/extensions')
++#sys.path.append('/usr/share/inkscape/extensions')
+ # OS X
+-sys.path.append('/Applications/Inkscape.app/Contents/Resources/extensions')
++#sys.path.append('/Applications/Inkscape.app/Contents/Resources/extensions')
+ # Windows
+-sys.path.append('C:\Program Files\Inkscape\share\extensions')
++#sys.path.append('C:\Program Files\Inkscape\share\extensions')
+ 
+ # We will use the inkex module with the predefined Effect base class.
+ import inkex

Added: trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_masterSlide.py.diff
===================================================================
--- trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_masterSlide.py.diff	                        (rev 0)
+++ trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_masterSlide.py.diff	2009-04-11 23:16:12 UTC (rev 49536)
@@ -0,0 +1,20 @@
+--- inkscapeExtensions/jessyInk_masterSlide.py.orig	2009-04-09 16:30:17.000000000 -0700
++++ inkscapeExtensions/jessyInk_masterSlide.py	2009-04-09 16:36:34.000000000 -0700
+@@ -15,13 +15,13 @@
+ 
+ # These lines are only needed if you don't put the script directly into
+ # the installation directory
+-import sys
++#import sys
+ # Unix
+-sys.path.append('/usr/share/inkscape/extensions')
++#sys.path.append('/usr/share/inkscape/extensions')
+ # OS X
+-sys.path.append('/Applications/Inkscape.app/Contents/Resources/extensions')
++#sys.path.append('/Applications/Inkscape.app/Contents/Resources/extensions')
+ # Windows
+-sys.path.append('C:\Program Files\Inkscape\share\extensions')
++#sys.path.append('C:\Program Files\Inkscape\share\extensions')
+ 
+ # We will use the inkex module with the predefined Effect base class.
+ import inkex

Added: trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_transitions.py.diff
===================================================================
--- trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_transitions.py.diff	                        (rev 0)
+++ trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_transitions.py.diff	2009-04-11 23:16:12 UTC (rev 49536)
@@ -0,0 +1,20 @@
+--- inkscapeExtensions/jessyInk_transitions.py.orig	2009-04-09 16:30:34.000000000 -0700
++++ inkscapeExtensions/jessyInk_transitions.py	2009-04-09 16:36:58.000000000 -0700
+@@ -15,13 +15,13 @@
+ 
+ # These lines are only needed if you don't put the script directly into
+ # the installation directory
+-import sys
++#import sys
+ # Unix
+-sys.path.append('/usr/share/inkscape/extensions')
++#sys.path.append('/usr/share/inkscape/extensions')
+ # OS X
+-sys.path.append('/Applications/Inkscape.app/Contents/Resources/extensions')
++#sys.path.append('/Applications/Inkscape.app/Contents/Resources/extensions')
+ # Windows
+-sys.path.append('C:\Program Files\Inkscape\share\extensions')
++#sys.path.append('C:\Program Files\Inkscape\share\extensions')
+ 
+ # We will use the inkex module with the predefined Effect base class.
+ import inkex

Added: trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_uninstall.py.diff
===================================================================
--- trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_uninstall.py.diff	                        (rev 0)
+++ trunk/dports/graphics/jessyink/files/patch-inkscapeExtensions-jessyInk_uninstall.py.diff	2009-04-11 23:16:12 UTC (rev 49536)
@@ -0,0 +1,20 @@
+--- inkscapeExtensions/jessyInk_uninstall.py.orig	2009-04-09 16:31:07.000000000 -0700
++++ inkscapeExtensions/jessyInk_uninstall.py	2009-04-09 16:37:34.000000000 -0700
+@@ -15,13 +15,13 @@
+ 
+ # These two lines are only needed if you don't put the script directly into
+ # the installation directory
+-import sys
++#import sys
+ # Unix
+-sys.path.append('/usr/share/inkscape/extensions')
++#sys.path.append('/usr/share/inkscape/extensions')
+ # OS X
+-sys.path.append('/Applications/Inkscape.app/Contents/Resources/extensions')
++#sys.path.append('/Applications/Inkscape.app/Contents/Resources/extensions')
+ # Windows
+-sys.path.append('C:\Program Files\Inkscape\share\extensions')
++#sys.path.append('C:\Program Files\Inkscape\share\extensions')
+ 
+ # We will use the inkex module with the predefined Effect base class.
+ import inkex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090411/250b80cb/attachment-0001.html>


More information about the macports-changes mailing list