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