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

name                gimp-print
version             4.2.7
categories          print
license             GPL-2
maintainers         nomaintainer
description         Print Plugin & Ghostscript (and CUPS) Driver
long_description    Gimp-Print is a package of high quality printer drivers for Linux, \
                    BSD, Solaris, IRIX, and other UNIX-alike operating systems. In many \
                    cases, these drivers rival or exceed the OEM drivers in quality and \
                    functionality. Our goal is to produce the highest possible output \
                    quality from all supported printers. To that end, we have done \
                    extensive work on screening algorithms, color generation, and \
                    printer feature utilization. We are continuing our work in all of \
                    these areas to produce ever higher quality results, particularly on \
                    the ubiquitous, inexpensive inkjet printers that are nonetheless \
                    capable of nearly photographic output quality.
homepage            http://gimp-print.sourceforge.net/
platforms           darwin

master_sites        sourceforge
checksums           md5 766be49f44a6a682d857e5aefec414d4

depends_lib         port:gettext

patchfiles          patch-test__bjc-unprint.c

configure.args      --infodir=${prefix}/share/info \
                    --mandir=${prefix}/share/man \
                    --with-gimp=no --with-cups=no --with-ijs=no

test.run            yes
test.target         check

post-destroot {
    file delete -force ${destroot}${prefix}/share/info/dir
    file delete -force ${destroot}${prefix}/lib/charset.alias
}

livecheck.regex     "gutenprint-(\\d+(?:\\.\\d+)*)\\.tar"
