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

devans at macports.org devans at macports.org
Thu Jan 16 13:56:16 PST 2014


Revision: 116042
          https://trac.macports.org/changeset/116042
Author:   devans at macports.org
Date:     2014-01-16 13:56:15 -0800 (Thu, 16 Jan 2014)
Log Message:
-----------
gimp: use gimp-gap-devel by default due to the age of gimp-gap, add +gmic variant (#42137), descriptions, simplify destroot.

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

Modified: trunk/dports/graphics/gimp/Portfile
===================================================================
--- trunk/dports/graphics/gimp/Portfile	2014-01-16 21:07:05 UTC (rev 116041)
+++ trunk/dports/graphics/gimp/Portfile	2014-01-16 21:56:15 UTC (rev 116042)
@@ -5,6 +5,7 @@
 
 name            gimp
 version         2.8.10
+license         none
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      graphics
 maintainers     devans
@@ -12,12 +13,14 @@
 platforms       darwin
 supported_archs noarch
 
-description     The Gimp - Batteries Included
+description     GIMP - Batteries Included
 long_description \
-    "This is a META port for the gimp2 which includes help and \
-    documentation, \ support for icns, jp2000 and RAW formats, \
-    content-aware rescaling Gutenprint and scanner frontends \
-    and even a nice theme (Nodoka)."
+                This is a META port for the GNU Image Manipulation Program (GIMP) \
+                which includes support for icns, JP2000 and RAW formats, \
+                content-aware rescaling, Gutenprint and scanner frontends and, \
+                optionally, an animation tool (the GIMP Animation Package) \
+                and an image processing and scientific visualization tool \
+                (GREYC's Magic Image Converter).
 
 depends_lib     port:icns-gimp \
                 port:gimp-jp2 \
@@ -56,14 +59,17 @@
 
 destroot {
     xinstall -d ${destroot}${prefix}/share/gimp/2.0/themes/Nodoka
-    system "cd ${destroot}${prefix}/share/gimp/2.0/themes/Nodoka &&
-        ln -s ${prefix}/share/themes/Nodoka/gtk-2.0/gtkrc"
+    ln -s ${prefix}/share/themes/Nodoka/gtk-2.0/gtkrc ${destroot}${prefix}/share/gimp/2.0/themes/Nodoka
 }
 
-variant animation description "Include the Gimp Animation Package (gimp-gap)." {
-    depends_lib-append  path:lib/gimp/2.0/plug-ins/gap_plugins:gimp-gap
+variant gmic description "Include GREYC's Magic Image Converter (G'MIC)." {
+    depends_lib-append  port:gmic
 }
 
+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
+}
+
 variant quartz {}
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140116/fd091925/attachment-0001.html>


More information about the macports-changes mailing list