Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
macports-ports/graphics/gimp/Portfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
57 lines (42 sloc)
1.7 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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 | |
PortSystem 1.0 | |
PortGroup stub 1.0 | |
name gimp | |
version 2.10.32 | |
revision 1 | |
categories graphics | |
maintainers {mascguy @mascguy} | |
description GIMP - Batteries Included | |
long_description \ | |
This is a META port for the GNU Image Manipulation Program, GIMP, \ | |
which includes support for JP2000 and RAW formats, \ | |
content-aware rescaling, Gutenprint and scanner frontends and, \ | |
optionally, an animation tool, the GIMP Animation Package, \ | |
and an image processing and scientific visualization tool, \ | |
GREYCs Magic Image Converter. | |
homepage https://gimp.org/ | |
set branch [join [lrange [split ${version} .] 0 1] .] | |
# Leaf port, not intended to be used as a lib dep | |
supported_archs noarch | |
platforms any | |
depends_lib port:gimp-lqr-plugin \ | |
port:gutenprint | |
platform macosx { | |
depends_lib-append \ | |
port:gimp2-launcher | |
} | |
# gmic requires X11 | |
variant gmic conflicts quartz description "Include GREYC's Magic Image Converter (G'MIC)." { | |
depends_lib-append port:gmic-gimp | |
} | |
variant animation description "Include the GIMP Animation Package (gimp-gap)." { | |
depends_lib-append path:lib/gimp/2.0/plug-ins/gap_plugins:gimp-gap-devel | |
} | |
variant quartz conflicts gmic {} | |
# xsane requires X11 | |
if {![variant_isset quartz]} { | |
depends_lib-append port:xsane | |
} | |
livecheck.type regex | |
livecheck.url https://download.gimp.org/mirror/pub/gimp/v${branch}/ | |
livecheck.regex "gimp-(${branch}(?:\\.\\d+)*)${extract.suffix}" |