# -*- 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
# $Id: Portfile 90789 2012-03-14 18:56:33Z snc@macports.org $

PortSystem          1.0

name                poster
version             20060221
categories          print
maintainers         snc openmaintainer
description         Small PostScript utility to allow large poster printing

long_description    This is a small PostScript utility to allow large poster \
                    printing (e.g. A1) by splitting it into pieces that can \
                    be printed on small paper sheets (e.g. A4).

homepage            http://printing.kde.org/downloads
platforms           darwin

master_sites        ftp://ftp.kde.org/pub/kde/printing
use_bzip2           yes
dist_subdir         ${name}/${version}
depends_build       port:autoconf port:automake

patchfiles          automake.diff

checksums           rmd160  f5ba5a4ebeacd04051a682b9285c33f54e311da0 \
                    sha256  63bd6f01e40e68dda0ac11a4f416c70457bc6bbd254af720b7ea2874875fa4ba

post-patch {
        system  -W ${worksrcpath} "touch AUTHORS NEWS &&
                ${prefix}/bin/aclocal &&
                ${prefix}/bin/automake --add-missing &&
                ${prefix}/bin/autoconf"
}

livecheck.type      md5
livecheck.url       ${master_sites}/${name}${extract.suffix}
livecheck.md5       04b421e2ce516a44b6c5a9a092dfa623
