[32934] trunk/dports/gnome/inkscape

gui_dos at macports.org gui_dos at macports.org
Tue Jan 15 01:42:02 PST 2008


Revision: 32934
          http://trac.macosforge.org/projects/macports/changeset/32934
Author:   gui_dos at macports.org
Date:     2008-01-15 01:42:01 -0800 (Tue, 15 Jan 2008)

Log Message:
-----------
inkscape: made Python plugins working

Modified Paths:
--------------
    trunk/dports/gnome/inkscape/Portfile
    trunk/dports/gnome/inkscape/files/patch-configure.diff

Modified: trunk/dports/gnome/inkscape/Portfile
===================================================================
--- trunk/dports/gnome/inkscape/Portfile	2008-01-15 09:18:14 UTC (rev 32933)
+++ trunk/dports/gnome/inkscape/Portfile	2008-01-15 09:42:01 UTC (rev 32934)
@@ -4,6 +4,7 @@
 
 name		inkscape
 version		0.45.1
+revision	1
 maintainers	nomaintainer
 categories	gnome graphics
 platforms	darwin
@@ -31,6 +32,7 @@
 		port:lcms \
 		port:dbus \
 		port:dbus-glib \
+		port:py25-numpy \
 		port:py25-xml \
 		port:libcroco
 
@@ -66,3 +68,7 @@
 variant enable_debugging conflicts disable_debugging {
     # does nothing but offer a counter-point to disable_debugging
 }
+
+post-patch {
+	reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"${prefix}/bin/python2.5\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
+}

Modified: trunk/dports/gnome/inkscape/files/patch-configure.diff
===================================================================
--- trunk/dports/gnome/inkscape/files/patch-configure.diff	2008-01-15 09:18:14 UTC (rev 32933)
+++ trunk/dports/gnome/inkscape/files/patch-configure.diff	2008-01-15 09:42:01 UTC (rev 32934)
@@ -1,11 +1,16 @@
---- configure.orig	2007-02-19 22:01:46.000000000 -0500
-+++ configure	2007-02-19 22:10:26.000000000 -0500
-@@ -10769,7 +10769,7 @@
+--- configure.orig	2007-03-20 14:56:43.000000000 +0100
++++ configure	2008-01-05 18:37:21.000000000 +0100
+@@ -10198,11 +10198,11 @@
+ fi;
+ 
+ if test "x$with_python" = "xyes"; then
+-    checkPYTHON_CFLAGS=`python -c "import distutils.sysconfig ; print '-I%s' % distutils.sysconfig.get_config_var('INCLUDEPY')" 2>/dev/null`
++    checkPYTHON_CFLAGS=`${prefix}/bin/python2.5 -c "import distutils.sysconfig ; print '-I%s' % distutils.sysconfig.get_config_var('INCLUDEPY')" 2>/dev/null`
      if test "$?" -gt "0"; then
          with_python="no"
      else
 -        checkPYTHON_LIBS=`python -c "import distutils.sysconfig ; print '%s/%s %s' % (distutils.sysconfig.get_config_var('LIBPL'),distutils.sysconfig.get_config_var('LDLIBRARY'),distutils.sysconfig.get_config_var('LIBS'))" 2>/dev/null`
-+        checkPYTHON_LIBS="-lpython"
++        checkPYTHON_LIBS=-lpython2.5
          if test "$?" -gt "0"; then
              with_python="no"
          else

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080115/f71366d1/attachment.html


More information about the macports-changes mailing list