[48261] trunk/dports/graphics/gimp/Portfile

devans at macports.org devans at macports.org
Tue Mar 17 15:21:59 PDT 2009


Revision: 48261
          http://trac.macports.org/changeset/48261
Author:   devans at macports.org
Date:     2009-03-17 15:21:59 -0700 (Tue, 17 Mar 2009)
Log Message:
-----------
gimp: add a post-activation message recommending gimp-gap-devel when +animation is selected and gimp-gap 2.4 is installed.

Modified Paths:
--------------
    trunk/dports/graphics/gimp/Portfile

Modified: trunk/dports/graphics/gimp/Portfile
===================================================================
--- trunk/dports/graphics/gimp/Portfile	2009-03-17 21:52:24 UTC (rev 48260)
+++ trunk/dports/graphics/gimp/Portfile	2009-03-17 22:21:59 UTC (rev 48261)
@@ -45,6 +45,28 @@
 
 variant animation description "Include the Gimp Animation Package (gimp-gap)." {
     depends_lib-append  path:lib/gimp/2.0/plug-ins/gap_plugins:gimp-gap-devel
+    post-activate {
+        if {[file isdirectory ${prefix}/lib/gimp-gap-2.4/]} {
+            ui_msg "
+*******
+******* You have selected the +animation variant and port gimp-gap 2.4
+******* is installed.  This will work but be aware that gimp-gap 2.4
+******* was written for the gimp 2.4 release series and may not be
+******* completely compatible with gimp ${version}.
+*******
+******* You may wish to try port gimp-gap-devel, a development version leading
+******* up to the gimp-gap 2.6 release. While not yet a stable release,
+******* this version is better integrated into gimp ${version} and offers many new
+******* features.
+*******
+******* To switch from gimp-gap to gimp-gap-devel do the following:
+*******
+*******    sudo port deactivate gimp-gap
+*******    sudo port install gimp-gap-devel
+*******
+"
+        }
+    }
 }
 
 variant manual description {Include the help files.} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090317/609bb2c9/attachment-0001.html>


More information about the macports-changes mailing list