source: trunk/dports/graphics/gimp/Portfile

Last change on this file was 150300, checked in by devans@…, 15 months ago

gimp: update to version 2.8.18.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 150300 2016-07-15 08:33:47Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            gimp
7version         2.8.18
8license         none
9set branch      [join [lrange [split ${version} .] 0 1] .]
10categories      graphics
11maintainers     devans
12homepage        http://www.gimp.org/
13platforms       darwin
14supported_archs noarch
15
16description     GIMP - Batteries Included
17long_description \
18                This is a META port for the GNU Image Manipulation Program, GIMP,  \
19                which includes support for JP2000 and RAW formats, \
20                content-aware rescaling, Gutenprint and scanner frontends and, \
21                optionally, an animation tool, the GIMP Animation Package, \
22                and an image processing and scientific visualization tool, \
23                GREYCs Magic Image Converter.
24
25depends_lib     port:gimp-jp2 \
26                port:gimp-lqr-plugin \
27                port:gutenprint \
28                port:ufraw
29
30platform macosx {
31    depends_lib-append  port:gimp-app
32}
33
34distfiles
35use_bzip2       yes
36use_configure   no
37build           {}
38
39destroot    {
40    file mkdir ${destroot}${prefix}/share/doc
41    system "echo ${long_description} > ${destroot}${prefix}/share/doc/README.${name}.txt"
42}
43
44# gmic requires X11
45
46variant gmic conflicts quartz description "Include GREYC's Magic Image Converter (G'MIC)." {
47    depends_lib-append  port:gmic
48}
49
50variant animation description "Include the GIMP Animation Package (gimp-gap)." {
51    depends_lib-append  path:lib/gimp/2.0/plug-ins/gap_plugins:gimp-gap-devel
52}
53
54variant quartz conflicts gmic {}
55
56# xsane requires X11
57
58if {![variant_isset quartz]} {
59    depends_lib-append  port:xsane
60}
61
62livecheck.type  regex
63livecheck.url   http://ftp.gtk.org/pub/gimp/v${branch}/
64livecheck.regex "gimp-(${branch}(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.