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

name                gimp-resynthesizer
github.setup        bootchk resynthesizer adfa25ab0d11ed27ff301cb7db4b144c4c2fa112
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             20190428-[string range ${github.version} 0 7]
revision            0
license             GPL-3
categories          graphics
maintainers         {@pietvo vanoostrum.org:pieter} openmaintainer
installs_libs       no

description         Resynthesizer is a Gimp plug-in for texture synthesis.

long_description \
    Given a sample of a texture, it can create more of that texture. \
    This has a surprising number of uses:\n \
    - Creating more of a texture\n \
    \ \ (including creation of tileable textures)\n \
    - Removing objects from images\n \
    \ \ (great for touching up photos)\n \
    - Creating themed images

checksums           rmd160  7e79b9bd124fcb23bcf2841ab032a87095ba3e3a \
                    sha256  dff23ab5088233bd83852f8baba5edc45677d5b1f977f25a4bd60c7c949af147 \
                    size    11103249

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

configure.cmd       ./autogen.sh

depends_lib         lib:libgimp-2.0:gimp2 \
                    port:gettext

patchfiles          patch-configure.diff \
                    patch-python.diff
