[142983] trunk/dports/graphics/gimp/Portfile
devans at macports.org
devans at macports.org
Sat Dec 12 08:03:47 PST 2015
Revision: 142983
https://trac.macports.org/changeset/142983
Author: devans at macports.org
Date: 2015-11-30 13:15:17 -0800 (Mon, 30 Nov 2015)
Log Message:
-----------
gimp: update to version 2.8.16, description, remove outdated plugins, only install xsane if building without +quartz.
Modified Paths:
--------------
trunk/dports/graphics/gimp/Portfile
Modified: trunk/dports/graphics/gimp/Portfile
===================================================================
--- trunk/dports/graphics/gimp/Portfile 2015-11-30 20:15:12 UTC (rev 142982)
+++ trunk/dports/graphics/gimp/Portfile 2015-11-30 21:15:17 UTC (rev 142983)
@@ -4,7 +4,7 @@
PortSystem 1.0
name gimp
-version 2.8.14
+version 2.8.16
license none
set branch [join [lrange [split ${version} .] 0 1] .]
categories graphics
@@ -15,41 +15,20 @@
description GIMP - Batteries Included
long_description \
- This is a META port for the GNU Image Manipulation Program (GIMP) \
- which includes support for icns, JP2000 and RAW formats, \
+ This is a META port for the GNU Image Manipulation Program, GIMP, \
+ which includes support for 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).
+ optionally, an animation tool, the GIMP Animation Package, \
+ and an image processing and scientific visualization tool, \
+ GREYCs Magic Image Converter.
-depends_lib port:icns-gimp \
- port:gimp-jp2 \
+depends_lib port:gimp-jp2 \
port:gimp-lqr-plugin \
- port:gtk-nodoka-engine \
port:gutenprint \
- port:ufraw \
- port:xsane
+ port:ufraw
platform macosx {
depends_lib-append port:gimp-app
- #
- # these use the deprecated QuickDraw API that is not available
- # in a 64-bit version - ticket #21391
- #
- # if +quartz is set, remove ufraw which uses CMFlattenProfile if gtk2 is
- # built with Quartz support and is also not available in a 64-bit version
- # ticket #23675
- #
- if {${os.platform} eq "darwin"} {
- if { ![string match *64* $build_arch] } {
- depends_lib-append port:macclipboard-gimp \
- port:macfile-gimp
- } else {
- if {[variant_isset quartz]} {
- depends_lib-delete port:ufraw
- }
- }
- }
}
distfiles
@@ -57,9 +36,9 @@
use_configure no
build {}
-destroot {
- xinstall -d ${destroot}${prefix}/share/gimp/2.0/themes/Nodoka
- ln -s ${prefix}/share/themes/Nodoka/gtk-2.0/gtkrc ${destroot}${prefix}/share/gimp/2.0/themes/Nodoka
+destroot {
+ file mkdir ${destroot}${prefix}/share/doc
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/README.${name}.txt"
}
variant gmic description "Include GREYC's Magic Image Converter (G'MIC)." {
@@ -72,6 +51,12 @@
variant quartz {}
+# xsane requires X11
+
+if {![variant_isset quartz]} {
+ depends_lib-append port:xsane
+}
+
livecheck.type regex
livecheck.url http://ftp.gtk.org/pub/gimp/v${branch}/
livecheck.regex "gimp-(${branch}(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/ed2f05d0/attachment.html>
More information about the macports-changes
mailing list