| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | |
|---|
| 5 | name gimp2 |
|---|
| 6 | version 2.4.1 |
|---|
| 7 | categories graphics |
|---|
| 8 | maintainers nomaintainer |
|---|
| 9 | homepage http://www.gimp.org/ |
|---|
| 10 | platforms darwin |
|---|
| 11 | |
|---|
| 12 | description The GNU Image Manipulation Program |
|---|
| 13 | long_description \ |
|---|
| 14 | The GNU Image Manipulation Program (GIMP) is a powerful \ |
|---|
| 15 | tool for the preparation and manipulation of digital images. \ |
|---|
| 16 | The GIMP provides the user with a wide variety of image \ |
|---|
| 17 | manipulation, painting, processing, and rendering tools. |
|---|
| 18 | |
|---|
| 19 | set M.m [join [lrange [split ${version} .] 0 1] .] |
|---|
| 20 | master_sites http://gimp.mirrors.hoobly.com/gimp/v${M.m}/ \ |
|---|
| 21 | ftp://ftp.mirrorservice.org/sites/ftp.gimp.org/pub/gimp/v${M.m}/ \ |
|---|
| 22 | ftp://ftp.gimp.org/pub/gimp/v${M.m}/ |
|---|
| 23 | checksums md5 51edbadd77235837535a6882ad63d8fb |
|---|
| 24 | distname gimp-${version} |
|---|
| 25 | use_bzip2 yes |
|---|
| 26 | |
|---|
| 27 | depends_lib port:aalib \ |
|---|
| 28 | port:curl \ |
|---|
| 29 | port:libart_lgpl \ |
|---|
| 30 | port:libexif \ |
|---|
| 31 | port:libgnomeui \ |
|---|
| 32 | port:libgtkhtml \ |
|---|
| 33 | port:libmng \ |
|---|
| 34 | port:librsvg \ |
|---|
| 35 | port:libwmf \ |
|---|
| 36 | port:p5-xml-parser \ |
|---|
| 37 | port:poppler \ |
|---|
| 38 | port:py25-gtk |
|---|
| 39 | |
|---|
| 40 | configure.env PYTHON=${prefix}/bin/python2.5 |
|---|
| 41 | configure.args --enable-mp \ |
|---|
| 42 | --with-pdbgen \ |
|---|
| 43 | --without-dbus |
|---|
| 44 | |
|---|
| 45 | variant without_gnome description "Disable SVG support and built-in help browser." { |
|---|
| 46 | depends_lib-delete port:libgnomeui \ |
|---|
| 47 | port:libgtkhtml \ |
|---|
| 48 | port:librsvg |
|---|
| 49 | configure.args-append --without-gtkhtml2 \ |
|---|
| 50 | --without-librsvg \ |
|---|
| 51 | --without-gnomevfs |
|---|
| 52 | } |
|---|
| 53 | |
|---|
| 54 | variant no_python description "Disable Python scripts and filters." { |
|---|
| 55 | depends_lib-delete port:py25-gtk |
|---|
| 56 | configure.env-delete PYTHON=${prefix}/bin/python2.5 |
|---|
| 57 | configure.args-append --disable-python |
|---|
| 58 | } |
|---|
| 59 | |
|---|
| 60 | variant dbus { |
|---|
| 61 | depends_lib-append port:dbus-glib |
|---|
| 62 | configure.args-delete --without-dbus |
|---|
| 63 | } |
|---|
| 64 | |
|---|