Changeset 82779
- Timestamp:
- 08/19/11 17:51:05 (4 years ago)
- Location:
- trunk/dports/graphics/MyPaint
- Files:
-
- 2 edited
-
Portfile (modified) (2 diffs)
-
files/patch-SConstruct.diff (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/MyPaint/Portfile
r76664 r82779 3 3 4 4 PortSystem 1.0 5 PortGroup app 1.0 5 6 6 7 name MyPaint 7 8 set my_name mypaint 8 9 version 0.9.1 10 revision 1 9 11 homepage http://mypaint.info/ 10 12 categories graphics … … 63 65 README \ 64 66 ${docdir} 65 66 set appdir ${destroot}${applications_dir}/${name}.app/Contents/MacOS 67 xinstall -d ${appdir} 68 xinstall -m 755 ${filespath}/${name}.in ${appdir}/${name} 69 reinplace "s|@PREFIX@|${prefix}|g" ${appdir}/${name} 67 } 68 69 app.executable ${workpath}/${name} 70 app.icon pixmaps/mypaint_logo.png 71 72 platform macosx { 73 post-extract { 74 xinstall -m 755 ${filespath}/${name}.in ${workpath}/${name} 75 } 76 post-build { 77 reinplace "s|@PREFIX@|${prefix}|g" ${workpath}/${name} 78 } 70 79 } 71 80 -
trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff
r76664 r82779 1 1 --- SConstruct.orig 2011-03-04 08:44:59.000000000 -0600 2 +++ SConstruct 2011-03-04 16:04:30.000000000 -0600 2 +++ SConstruct 2011-08-19 08:33:51.000000000 -0500 3 @@ -5,7 +5,7 @@ 4 5 # FIXME: sometimes it would be good to build for a different python 6 # version than the one running scons. (But how to find all paths then?) 7 -python = 'python%d.%d' % (sys.version_info[0], sys.version_info[1]) 8 +python = 'python2.6' 9 print 'Building for', python 10 11 if sys.platform == "win32": 3 12 @@ -20,10 +20,7 @@ 4 13 … … 23 32 # some distros use python2.5-config, others python-config2.5 24 33 try: 34 @@ -78,7 +75,7 @@ 35 36 def burn_python_version(target, source, env): 37 # make sure we run the python version that we built the extension modules for 38 - s = '#!/usr/bin/env ' + python + '\n' 39 + s = '#!@PREFIX@/bin/' + python + '\n' 40 s += 5*'#\n' 41 s += '# DO NOT EDIT - edit %s instead\n' % source[0] 42 s += 5*'#\n'
Note: See TracChangeset
for help on using the changeset viewer.

