[68638] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Tue Jun 8 12:15:48 PDT 2010


Revision: 68638
          http://trac.macports.org/changeset/68638
Author:   ryandesign at macports.org
Date:     2010-06-08 12:15:45 -0700 (Tue, 08 Jun 2010)
Log Message:
-----------
MyPaint: new port, version 0.8.2; see #25169

Added Paths:
-----------
    trunk/dports/graphics/MyPaint/
    trunk/dports/graphics/MyPaint/Portfile
    trunk/dports/graphics/MyPaint/files/
    trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff

Added: trunk/dports/graphics/MyPaint/Portfile
===================================================================
--- trunk/dports/graphics/MyPaint/Portfile	                        (rev 0)
+++ trunk/dports/graphics/MyPaint/Portfile	2010-06-08 19:15:45 UTC (rev 68638)
@@ -0,0 +1,60 @@
+# $Id$
+
+PortSystem                  1.0
+
+name                        MyPaint
+set my_name                 mypaint
+version                     0.8.2
+homepage                    http://mypaint.info/
+categories                  graphics
+maintainers                 ryandesign
+license                     GPL-2 LGPL
+use_bzip2                   yes
+platforms                   darwin
+use_parallel_build          yes
+distname                    ${my_name}-${version}
+
+description                 a fast and easy graphics application for digital painters
+
+long_description            ${name} is ${description}. It lets you focus on the art \
+                            instead of the program. You work on your canvas with \
+                            minimum distractions, bringing up the interface only \
+                            when you need it.
+
+master_sites                http://download.gna.org/mypaint/
+
+checksums                   md5     4382912b5d70574a61dc53a2a10fe566 \
+                            sha1    f82ca2e25a1a1db291877a0fd0e170b2b7ce8da4 \
+                            rmd160  ebbbfdc42db2bb65ab9306fbb0d71c3b9edaa8f9
+
+depends_build               port:scons \
+                            port:swig-python
+
+depends_lib                 port:protobuf-python26 \
+                            port:py26-numpy \
+                            port:py26-gtk
+
+patchfiles                  patch-SConstruct.diff
+
+use_configure               no
+
+build.cmd                   scons
+build.target
+
+destroot.destdir            prefix=${destroot}${prefix}
+
+post-destroot {
+    move ${destroot}${prefix}/lib/mypaint/_mypaintlib ${destroot}${prefix}/lib/mypaint/_mypaintlib.so
+    
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        COPYING \
+        LICENSE \
+        README \
+        ${docdir}
+}
+
+livecheck.type              regex
+livecheck.url               [lindex ${master_sites} 0]
+livecheck.regex             ${my_name}-(\[0-9.\]+)\\.tar


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

Added: trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff
===================================================================
--- trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff	                        (rev 0)
+++ trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff	2010-06-08 19:15:45 UTC (rev 68638)
@@ -0,0 +1,17 @@
+--- SConstruct.orig	2010-06-08 11:29:38.000000000 -0500
++++ SConstruct	2010-06-08 11:45:30.000000000 -0500
+@@ -43,10 +43,12 @@
+ else:
+     # some distros use python2.5-config, others python-config2.5
+     try:
+-        env.ParseConfig(python + '-config --cflags --ldflags')
++        env.ParseConfig(python + '-config --cflags')
++        env.ParseConfig(python + '-config --ldflags')
+     except OSError:
+         print 'going to try python-config instead'
+-        env.ParseConfig('python-config --cflags --ldflags')
++        env.ParseConfig('python-config --cflags')
++        env.ParseConfig('python-config --ldflags')
+ 
+ if env.get('CPPDEFINES'):
+     # make sure assertions are enabled
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100608/cd4662c6/attachment-0001.html>


More information about the macports-changes mailing list