[87543] trunk/dports/graphics/MyPaint
ryandesign at macports.org
ryandesign at macports.org
Thu Nov 24 20:04:23 PST 2011
Revision: 87543
http://trac.macports.org/changeset/87543
Author: ryandesign at macports.org
Date: 2011-11-24 20:04:23 -0800 (Thu, 24 Nov 2011)
Log Message:
-----------
MyPaint: update to 1.0.0
Modified Paths:
--------------
trunk/dports/graphics/MyPaint/Portfile
trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff
Modified: trunk/dports/graphics/MyPaint/Portfile
===================================================================
--- trunk/dports/graphics/MyPaint/Portfile 2011-11-25 04:02:55 UTC (rev 87542)
+++ trunk/dports/graphics/MyPaint/Portfile 2011-11-25 04:04:23 UTC (rev 87543)
@@ -6,13 +6,12 @@
name MyPaint
set my_name mypaint
-version 0.9.1
-revision 1
+version 1.0.0
homepage http://mypaint.info/
categories graphics
maintainers ryandesign
license GPL-2 LGPL
-use_bzip2 yes
+use_xz yes
platforms darwin
use_parallel_build yes
distname ${my_name}-${version}
@@ -26,8 +25,8 @@
master_sites http://download.gna.org/mypaint/
-checksums sha1 b2fe2e311619a4c4815cd698abd41e99b6692b43 \
- rmd160 16bd0492b567822b5ea4d6e3153e73436828a728
+checksums rmd160 ca53e03adb1ec3a37e8c8528a03698f892584625 \
+ sha256 1cf196c0f8a528325b19dc1908bb057d299020c10ac32f407e27b0de8b0a5e9c
depends_build port:pkgconfig \
port:scons \
@@ -38,7 +37,7 @@
port:py26-numpy \
port:py26-gtk
-depends_run port:tango-icon-theme
+depends_run port:hicolor-icon-theme
patchfiles patch-SConstruct.diff
@@ -55,8 +54,6 @@
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} \
@@ -66,6 +63,10 @@
${docdir}
}
+post-activate {
+ system "${prefix}/bin/gtk-update-icon-cache -tf ${prefix}/share/icons/hicolor"
+}
+
app.executable ${workpath}/${name}
app.icon pixmaps/mypaint_logo.png
Modified: trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff
===================================================================
--- trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff 2011-11-25 04:02:55 UTC (rev 87542)
+++ trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff 2011-11-25 04:04:23 UTC (rev 87543)
@@ -1,6 +1,6 @@
---- SConstruct.orig 2011-03-04 08:44:59.000000000 -0600
-+++ SConstruct 2011-08-19 08:33:51.000000000 -0500
-@@ -5,7 +5,7 @@
+--- SConstruct.orig 2011-11-22 14:27:03.000000000 -0600
++++ SConstruct 2011-11-24 21:28:56.000000000 -0600
+@@ -6,7 +6,7 @@
# FIXME: sometimes it would be good to build for a different python
# version than the one running scons. (But how to find all paths then?)
@@ -9,7 +9,7 @@
print 'Building for', python
if sys.platform == "win32":
-@@ -20,10 +20,7 @@
+@@ -21,10 +21,7 @@
SConsignFile() # no .scsonsign into $PREFIX please
@@ -21,7 +21,7 @@
opts = Variables()
opts.Add(PathVariable('prefix', 'autotools-style installation prefix', default_prefix, validator=PathVariable.PathIsDirCreate))
-@@ -50,9 +47,6 @@
+@@ -51,9 +48,6 @@
from distutils import sysconfig
pre,inc = sysconfig.get_config_vars('exec_prefix', 'INCLUDEPY')
env.Append(CPPPATH=inc, LIBPATH=pre+'\libs', LIBS='python'+sys.version[0]+sys.version[2])
@@ -31,7 +31,7 @@
else:
# some distros use python2.5-config, others python-config2.5
try:
-@@ -78,7 +75,7 @@
+@@ -81,7 +75,7 @@
def burn_python_version(target, source, env):
# make sure we run the python version that we built the extension modules for
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111124/f908289e/attachment-0001.html>
More information about the macports-changes
mailing list