[27660] trunk/dports/graphics/gimp2/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Aug 11 10:02:11 PDT 2007
Revision: 27660
http://trac.macosforge.org/projects/macports/changeset/27660
Author: yves at macports.org
Date: 2007-08-11 10:02:11 -0700 (Sat, 11 Aug 2007)
Log Message:
-----------
New variants scheme for gimp :
default positive variants (as suggested by rainerm)
no more buggy python24 (as suggested by common sense)
Modified Paths:
--------------
trunk/dports/graphics/gimp2/Portfile
Modified: trunk/dports/graphics/gimp2/Portfile
===================================================================
--- trunk/dports/graphics/gimp2/Portfile 2007-08-11 15:52:40 UTC (rev 27659)
+++ trunk/dports/graphics/gimp2/Portfile 2007-08-11 17:02:11 UTC (rev 27660)
@@ -25,18 +25,20 @@
depends_lib port:aalib \
port:curl \
+ port:dbus-glib \
+ port:libart_lgpl \
port:libexif \
- port:libgnomeui \
- port:libgtkhtml \
port:libmng \
- port:librsvg \
port:libwmf \
- port:poppler \
- port:py25-gtk
+ port:p5-xml-parser \
+ port:poppler
-configure.env PYTHON=${prefix}/bin/python2.5
-configure.args --enable-mp \
- --with-pdbgen
+configure.args --disable-python \
+ --enable-mp \
+ --with-pdbgen \
+ --without-gtkhtml2 \
+ --without-librsvg \
+ --without-gnomevfs
post-destroot {
cd ${destroot}${prefix}/bin
@@ -44,27 +46,20 @@
reinplace "s|__PREFIX__|${prefix}|" gimp gimp-remote
}
-variant without_gnome {
- depends_lib-delete port:libgnomeui \
+default_variants +gnome +python
+
+variant gnome {
+ depends_lib-append port:libgnomeui \
port:libgtkhtml \
port:librsvg
- depends_lib-append port:dbus-glib \
- port:libart_lgpl \
- port:p5-xml-parser
configure.args-append --without-gtkhtml2 \
--without-librsvg \
--without-gnomevfs
}
-variant python24 {
- depends_lib-delete port:py25-gtk
- depends_lib-append port:py-gtk2
- configure.env-delete PYTHON=${prefix}/bin/python2.5
+variant python {
+ depends_lib-append port:py25-gtk
+ configure.env-append PYTHON=${prefix}/bin/python2.5
+ configure.args-delete --disable-python
}
-variant without_python conflicts python24 {
- depends_lib-delete port:py25-gtk
- configure.env-delete PYTHON=${prefix}/bin/python2.5
- configure.args-append --disable-python
-}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070811/274fdb7a/attachment.html
More information about the macports-changes
mailing list