# -*- 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           github 1.0

# Use latest commit (from 2017)
github.setup        auris gimp-save-for-web a95134d1
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             0.29.3
revision            0

license             MIT
maintainers         {iefdev.se:eric @iefdev} openmaintainer
categories          graphics

description         Save for Web plug-in for GIMP
long_description    The Save for Web plug-in allows you to export your images\
                    into various popular web format options. It shows an\
                    automatically updated preview and file size statistics.\n

checksums           rmd160  fa071b851c52ced37dbdd2d4fe08d9cb8e373b01 \
                    sha256  3933f62bf31229a0f170d7145ee74cf2dadb7062dda9630ef6f3544b1de3fafc \
                    size    67035

patchfiles          patch-autogen.sh.diff

depends_build       port:pkgconfig \
                    port:intltool \
                    port:autoconf \
                    port:automake \
                    port:libtool

depends_lib         path:lib/pkgconfig/gimp-2.0.pc:gimp2

configure.cmd       ./autogen.sh

notes "You'll find this plugin in the File menu as \"Export for web...\"."