[115937] trunk/dports/graphics

devans at macports.org devans at macports.org
Tue Jan 14 13:36:08 PST 2014


Revision: 115937
          https://trac.macports.org/changeset/115937
Author:   devans at macports.org
Date:     2014-01-14 13:36:08 -0800 (Tue, 14 Jan 2014)
Log Message:
-----------
gimp2-devel, gimp3-devel: create unversioned symbolic link to versioned executable for compatibility with gimp-app.

Modified Paths:
--------------
    trunk/dports/graphics/gimp2-devel/Portfile
    trunk/dports/graphics/gimp3-devel/Portfile

Modified: trunk/dports/graphics/gimp2-devel/Portfile
===================================================================
--- trunk/dports/graphics/gimp2-devel/Portfile	2014-01-14 21:06:56 UTC (rev 115936)
+++ trunk/dports/graphics/gimp2-devel/Portfile	2014-01-14 21:36:08 UTC (rev 115937)
@@ -10,6 +10,7 @@
 set git_commit  0ca7b9a8116b0a41525f9d2c9cf2d068adc847d7
 set git_date    20140112
 version         2.9.1-${git_date}
+revision        1
 license         GPL-3+
 categories      graphics
 maintainers     devans
@@ -203,6 +204,12 @@
     default_variants +python27
 }
 
+# create unversioned symbolic link to versioned executable for compatibility with gimp-app
+
+post-destroot {
+    ln -s ${prefix}/bin/gimp-2.9 ${destroot}${prefix}/bin/gimp
+}
+
 post-activate {
     system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
     system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"

Modified: trunk/dports/graphics/gimp3-devel/Portfile
===================================================================
--- trunk/dports/graphics/gimp3-devel/Portfile	2014-01-14 21:06:56 UTC (rev 115936)
+++ trunk/dports/graphics/gimp3-devel/Portfile	2014-01-14 21:36:08 UTC (rev 115937)
@@ -2,7 +2,7 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup  compiler_blacklist_versions 1.0
+PortGroup       compiler_blacklist_versions 1.0
 
 name            gimp3-devel
 conflicts       gimp2 gimp2-devel
@@ -10,6 +10,7 @@
 set git_commit  39de7158ad658ec498ac6edeaf0bd7d076a5d224
 set git_date    20140102
 version         2.99.0-${git_date}
+revision        1
 license         GPL-3+
 categories      graphics
 maintainers     devans
@@ -205,6 +206,12 @@
     default_variants +python27
 }
 
+# create unversioned symbolic link to versioned executable for compatibility with gimp-app
+
+post-destroot {
+    ln -s ${prefix}/bin/gimp-2.99 ${destroot}${prefix}/bin/gimp
+}
+
 post-activate {
     system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
     system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140114/5a1679a7/attachment-0001.html>


More information about the macports-changes mailing list