Changeset 76664


Ignore:
Timestamp:
Mar 4, 2011, 10:11:53 PM (9 years ago)
Author:
ryandesign@…
Message:

MyPaint: update to 0.9.1

Location:
trunk/dports/graphics/MyPaint
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/MyPaint/Portfile

    r73693 r76664  
    66name                        MyPaint
    77set my_name                 mypaint
    8 version                     0.9.0
    9 revision                    2
     8version                     0.9.1
    109homepage                    http://mypaint.info/
    1110categories                  graphics
     
    2625master_sites                http://download.gna.org/mypaint/
    2726
    28 checksums                   sha1    6c733a1bc87e237be18389aefb26a034b1229d24 \
    29                             rmd160  07c83e5012400b9931a03bb750bf3f97da73bbd3
     27checksums                   sha1    b2fe2e311619a4c4815cd698abd41e99b6692b43 \
     28                            rmd160  16bd0492b567822b5ea4d6e3153e73436828a728
    3029
    3130depends_build               port:pkgconfig \
     
    3433
    3534depends_lib                 port:protobuf-python26 \
     35                            port:libpng \
    3636                            port:py26-numpy \
    3737                            port:py26-gtk
     
    3939depends_run                 port:tango-icon-theme
    4040
    41 patchfiles                  patch-SConstruct.diff \
    42                             patch-MyPaint.diff
     41patchfiles                  patch-SConstruct.diff
     42
     43post-patch {
     44    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/SConstruct
     45}
    4346
    4447use_configure               no
  • trunk/dports/graphics/MyPaint/files/patch-SConstruct.diff

    r73251 r76664  
    1 --- SConstruct.orig     2010-10-30 14:27:59.000000000 -0500
    2 +++ SConstruct  2010-11-07 16:59:43.000000000 -0600
    3 @@ -44,9 +44,6 @@
    4  if sys.platform == "win32":
    5      env.ParseConfig('pkg-config --cflags --libs python25') # These two '.pc' files you probably have to make for yourself.
    6      env.ParseConfig('pkg-config --cflags --libs numpy')    # Place them among the other '.pc' files ( where the 'glib-2.0.pc' is located .. probably )
     1--- SConstruct.orig     2011-03-04 08:44:59.000000000 -0600
     2+++ SConstruct  2011-03-04 16:04:30.000000000 -0600
     3@@ -20,10 +20,7 @@
     4 
     5 SConsignFile() # no .scsonsign into $PREFIX please
     6 
     7-if sys.platform == "darwin":
     8-    default_prefix = '/opt/local/'
     9-else:
     10-    default_prefix = '/usr/local/'
     11+default_prefix = '@PREFIX@/'
     12 
     13 opts = Variables()
     14 opts.Add(PathVariable('prefix', 'autotools-style installation prefix', default_prefix, validator=PathVariable.PathIsDirCreate))
     15@@ -50,9 +47,6 @@
     16     from distutils import sysconfig
     17     pre,inc = sysconfig.get_config_vars('exec_prefix', 'INCLUDEPY')
     18     env.Append(CPPPATH=inc, LIBPATH=pre+'\libs', LIBS='python'+sys.version[0]+sys.version[2])
    719-elif sys.platform == "darwin":
    820-    env.ParseConfig('python-config --cflags')
Note: See TracChangeset for help on using the changeset viewer.