[73251] trunk/dports/graphics/MyPaint
ryandesign at macports.org
ryandesign at macports.org
Sun Nov 7 15:35:35 PST 2010
Revision: 73251
http://trac.macports.org/changeset/73251
Author: ryandesign at macports.org
Date: 2010-11-07 15:35:31 -0800 (Sun, 07 Nov 2010)
Log Message:
-----------
MyPaint: update to 0.9 (#27194) and add launcher in applications_dir
Modified Paths:
--------------
trunk/dports/graphics/MyPaint/Portfile
trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff
Added Paths:
-----------
trunk/dports/graphics/MyPaint/files/MyPaint.in
Modified: trunk/dports/graphics/MyPaint/Portfile
===================================================================
--- trunk/dports/graphics/MyPaint/Portfile 2010-11-07 17:12:29 UTC (rev 73250)
+++ trunk/dports/graphics/MyPaint/Portfile 2010-11-07 23:35:31 UTC (rev 73251)
@@ -5,7 +5,7 @@
name MyPaint
set my_name mypaint
-version 0.8.2
+version 0.9.0
homepage http://mypaint.info/
categories graphics
maintainers ryandesign
@@ -24,9 +24,8 @@
master_sites http://download.gna.org/mypaint/
-checksums md5 4382912b5d70574a61dc53a2a10fe566 \
- sha1 f82ca2e25a1a1db291877a0fd0e170b2b7ce8da4 \
- rmd160 ebbbfdc42db2bb65ab9306fbb0d71c3b9edaa8f9
+checksums sha1 6c733a1bc87e237be18389aefb26a034b1229d24 \
+ rmd160 07c83e5012400b9931a03bb750bf3f97da73bbd3
depends_build port:scons \
port:swig-python
@@ -54,6 +53,11 @@
LICENSE \
README \
${docdir}
+
+ set appdir ${destroot}${applications_dir}/${name}.app/Contents/MacOS
+ xinstall -d ${appdir}
+ xinstall -m 755 ${filespath}/${name}.in ${appdir}/${name}
+ reinplace "s|@PREFIX@|${prefix}|g" ${appdir}/${name}
}
livecheck.type regex
Added: trunk/dports/graphics/MyPaint/files/MyPaint.in
===================================================================
--- trunk/dports/graphics/MyPaint/files/MyPaint.in (rev 0)
+++ trunk/dports/graphics/MyPaint/files/MyPaint.in 2010-11-07 23:35:31 UTC (rev 73251)
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+export PATH="@PREFIX@/bin"
+exec "@PREFIX@/bin/mypaint"
Property changes on: trunk/dports/graphics/MyPaint/files/MyPaint.in
___________________________________________________________________
Added: svn:eol-style
+ native
Modified: trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff
===================================================================
--- trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff 2010-11-07 17:12:29 UTC (rev 73250)
+++ trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff 2010-11-07 23:35:31 UTC (rev 73251)
@@ -1,17 +1,12 @@
---- SConstruct.orig 2010-06-08 11:29:38.000000000 -0500
-+++ SConstruct 2010-06-08 11:45:30.000000000 -0500
-@@ -43,10 +43,12 @@
+--- SConstruct.orig 2010-10-30 14:27:59.000000000 -0500
++++ SConstruct 2010-11-07 16:59:43.000000000 -0600
+@@ -44,9 +44,6 @@
+ if sys.platform == "win32":
+ env.ParseConfig('pkg-config --cflags --libs python25') # These two '.pc' files you probably have to make for yourself.
+ env.ParseConfig('pkg-config --cflags --libs numpy') # Place them among the other '.pc' files ( where the 'glib-2.0.pc' is located .. probably )
+-elif sys.platform == "darwin":
+- env.ParseConfig('python-config --cflags')
+- env.ParseConfig('python-config --ldflags')
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/20101107/b2365621/attachment.html>
More information about the macports-changes
mailing list