[24727] trunk/dports/graphics/gimp

source_changes at macosforge.org source_changes at macosforge.org
Tue May 1 13:35:29 PDT 2007


Revision: 24727
          http://trac.macosforge.org/projects/macports/changeset/24727
Author:   yves at macports.org
Date:     2007-05-01 13:35:28 -0700 (Tue, 01 May 2007)

Log Message:
-----------
This is now the same port as gimp2
there is no more gimp 1.x as it was broken and confusing

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

Removed Paths:
-------------
    trunk/dports/graphics/gimp/files/

Modified: trunk/dports/graphics/gimp/Portfile
===================================================================
--- trunk/dports/graphics/gimp/Portfile	2007-05-01 20:24:28 UTC (rev 24726)
+++ trunk/dports/graphics/gimp/Portfile	2007-05-01 20:35:28 UTC (rev 24727)
@@ -1,36 +1,57 @@
 # $Id$
 
 PortSystem 1.0
-name		gimp
-version		1.2.5
-revision	2
-categories	graphics x11
-maintainers	nomaintainer at macports.org
-description	GNU Image Manipulation Program
-long_description The GNU Image Manipulation Program (GIMP) is a powerful \
-		tool for the preparation and manipulation of digital images.\
-		The GIMP provides the user with a wide variety of image \
-		manipulation, painting, processing, and rendering tools.
-platforms	darwin
-use_bzip2	yes
-master_sites	ftp://ftp.gtk.org/pub/gimp/v1.2/v${version}/
-checksums	md5 b83b55d80e6728268d56620ea4d3051a
+name            gimp
+version         2.2.14
+categories      graphics
+maintainers     yves at macports.org
+homepage        http://www.gimp.org/
+platforms       darwin
 
-depends_lib	port:gtk1 port:gettext port:jpeg port:libpng port:tiff
+description     The GNU Image Manipulation Program (version 2)
+long_description \
+	The GNU Image Manipulation Program (GIMP) is a powerful \
+	tool for the preparation and manipulation of digital images. \
+	The GIMP provides the user with a wide variety of image \
+	manipulation, painting, processing, and rendering tools.
 
-patchfiles	patch-Makefile.in patch-plug_in_cmds.c \
-		patch-procedural_db_cmds.c patch-regex.c patch-regex.h \
-		patch-scriptfu-interp_regex.c patch-scriptfu-regex.c \
-		patch-scriptfu-regex.h patch-xjt-Makefile.in
+master_sites    ftp://ftp.cs.umn.edu/pub/gimp/v2.2/ \
+                ftp://ftp.flirble.org/pub/X/gimp/gimp/v2.2/ \
+                ftp://ftp.minet.net/pub/gimp/v2.2/ \
+                ftp://ftp.gimp.org/pub/gimp/v2.2/
+checksums       md5 2f47dd66d714a970356e275dd1d3caac
+use_bzip2       yes
 
-configure.env	PATH=$\{PATH\}:${prefix}/bin CPPFLAGS=-I${prefix}/include
-configure.args	--disable-print --disable-perl --mandir=${prefix}/share/man
-post-destroot	{ file delete ${destroot}${prefix}/lib/charset.alias \
-		  ${destroot}${prefix}/bin/gimp
-		  set script [open "${destroot}${prefix}/bin/gimp" w 0755]
-		  puts $script "#!/bin/sh"
-		  puts $script \
-		  "export DYLD_INSERT_LIBRARIES=${prefix}/lib/libintl.dylib"
-		  puts $script "${prefix}/bin/gimp-1.2 --no-shm --no-xshm"
-		  close $script }
-destroot.destdir prefix=${destroot}${prefix}
+depends_lib     port:aalib \
+                port:gimp-print \
+                lib:libgtk-x11-2.0:gtk2 \
+                port:lcms \
+                port:libart_lgpl \
+                port:libexif \
+                port:libmng \
+                port:libwmf \
+                port:p5-xml-parser
+depends_run     bin:gs:ghostscript
+
+configure.args  --enable-mp \
+                --mandir=${prefix}/share/man
+
+post-destroot {
+    file mkdir ${destroot}${prefix}/share/applications
+    cd ${destroot}${prefix}/share/applications
+	system "ln -s ../gimp/2.0/misc/gimp.desktop"
+}
+
+variant enable_python {
+    depends_lib-append    port:py-gtk2
+    configure.args-append --enable-python
+}
+
+variant with_gnome {
+    depends_lib-append	port:libgtkhtml \
+                        port:librsvg
+}
+
+platform darwin i386 {
+    configure.args-append   --disable-mmx
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070501/919eb3a1/attachment.html


More information about the macports-changes mailing list