[76954] trunk/dports/aqua/gimp-app

jeremyhu at macports.org jeremyhu at macports.org
Mon Mar 14 23:30:05 PDT 2011


Revision: 76954
          http://trac.macports.org/changeset/76954
Author:   jeremyhu at macports.org
Date:     2011-03-14 23:30:02 -0700 (Mon, 14 Mar 2011)
Log Message:
-----------
gimp-app: Pull in newer version which has a more recent XCode project and should build with XCode4.

Modified Paths:
--------------
    trunk/dports/aqua/gimp-app/Portfile

Removed Paths:
-------------
    trunk/dports/aqua/gimp-app/files/

Modified: trunk/dports/aqua/gimp-app/Portfile
===================================================================
--- trunk/dports/aqua/gimp-app/Portfile	2011-03-15 03:47:33 UTC (rev 76953)
+++ trunk/dports/aqua/gimp-app/Portfile	2011-03-15 06:30:02 UTC (rev 76954)
@@ -5,70 +5,48 @@
 PortGroup  xcode 1.0
 
 name            gimp-app
-version         2.6.0
-revision        2
+version         2.6.11
 maintainers     nomaintainer
 description     Gimp.app application bundle
 long_description ${description}
 
 categories      aqua graphics
-homepage        http://gimp-app.sourceforge.net/
+homepage        http://gimp-app.sourceforge.net
 
 depends_run     path:bin/gimp:gimp2
 
-master_sites    sourceforge
+master_sites    ${homepage}
 
-distfiles       ScriptExec.tar.gz \
-                gimp.app.skel.tar.gz
+distfiles       GIMPskel.zip
+use_zip         yes
 
-checksums       ScriptExec.tar.gz md5 fc444a1e18cf2664f29af6ca6ca335ef \
-                gimp.app.skel.tar.gz md5 66ad4912a3c71056c479c8eeef11fd43
+checksums           sha1    e923c2b145814db35a747ef947ba1ce7da32edbc \
+                    rmd160  c61d0e566d87c772b98cf7d8d8338994c4ce23d9
 
-dist_subdir     ${name}/${version}_${revision}
+worksrcdir      GIMPskel/ScriptExecCocoa
 
-worksrcdir      ScriptExec
+set gimpapp     ${workpath}/GIMPskel/Gimp.app
 
-patchfiles      patch-main.c.diff
-
-pre-patch {
-    foreach f {Info.plist PkgInfo} {
-        delete ${workpath}/Gimp.app/Contents/$f
-        xinstall -m 644 ${filespath}/$f ${workpath}/Gimp.app/Contents
-    }
-    delete ${workpath}/Gimp.app/Contents/Resources/script
-    xinstall -m 755 ${filespath}/script ${workpath}/Gimp.app/Contents/Resources
-    reinplace "s|__VERSION__|${version}|g" ${workpath}/Gimp.app/Contents/Info.plist
+post-extract {
+    delete ${gimpapp}/Contents/Resources/script
 }
 
-post-patch {
-    reinplace "s|`dirname \\\\\"\$0\\\\\"`|${prefix}|g" \
-        ${workpath}/Gimp.app/Contents/Resources/openDoc \
-        ${workpath}/Gimp.app/Contents/Resources/script
-}
-
 pre-build {
     # clean up old precompiled headers just in case
     system "cd ${worksrcpath} && ${xcodebuildcmd} clean"
 }
 
-destroot {
-    xinstall -m 755 \
-        ${workpath}/Gimp.app/Contents/Resources/bin/getdisplay.sh \
-        ${destroot}${prefix}/bin
-}
 post-destroot {
-    foreach f {Gimp.icns bin etc lib share} {
-        delete ${workpath}/Gimp.app/Contents/Resources/$f
-    }
-    xinstall -m 644 -W ${filespath} Gimp.icns xcf.icns \
-        ${workpath}/Gimp.app/Contents/Resources
-
     xinstall -m 755 \
-        ${worksrcpath}/build/Deployment/ScriptExec.app/Contents/MacOS/ScriptExec \
-        ${workpath}/Gimp.app/Contents/MacOS/Gimp
+        ${worksrcpath}/build/Release/ScriptExec.app/Contents/MacOS/ScriptExec \
+        ${gimpapp}/Contents/MacOS/Gimp
 
+    ln -s ${prefix}/bin/gimp ${gimpapp}/Contents/Resources/script
+
     xinstall -d ${destroot}${applications_dir}
-    copy ${workpath}/Gimp.app ${destroot}${applications_dir}
+    copy ${gimpapp} ${destroot}${applications_dir}
+
+    delete ${destroot}${applications_dir}/ScriptExec.app
 }
 
 notes "
@@ -79,20 +57,5 @@
        where LANG is your two-letters locale (fr, en, jp, ...)
 "
 
-#
 # gimp2 is not universal
-#
-
 universal_variant no
-
-variant quartz {
-    destroot {
-        foreach f {openDoc script} {
-            delete ${workpath}/Gimp.app/Contents/Resources/$f
-            ln -s ${prefix}/bin/gimp \
-                ${workpath}/Gimp.app/Contents/Resources/$f
-        }
-    }
-}
-
-livecheck.regex <title>${name} (\[0-9.\]+).* released.*</title>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110314/5f77a52f/attachment.html>


More information about the macports-changes mailing list