# $Id: Portfile,v 1.4 2005/09/21 22:18:25 toby Exp $

PortSystem 1.0
name             gimp-print
version          4.2.7
categories       print
maintainers      toby@opendarwin.org
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.env    CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
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
}
