# -*- 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 102919 2013-02-11 01:17:27Z jeremyhu@macports.org $

PortSystem          1.0

name                groff
version             1.22.2
categories          sysutils textproc
platforms           darwin
maintainers         nomaintainer
license             GPL-3+
installs_libs       no

description         GNU Troff (Groff)

long_description    The groff (GNU Troff) software is a typesetting package \
                    which reads plain text mixed with formatting commands and \
                    produces formatted output. Groff now supports HTML.

homepage            http://www.gnu.org/software/groff/
master_sites        gnu

checksums           sha1    37223941e25bb504bf54631daaabb01b147dc1d3 \
                    rmd160  1c2ce5b5cf64a86fcf21f002d0f01c53787c93d4

configure.args      --infodir=${prefix}/share/info \
                    --mandir=${prefix}/share/man \
                    --without-x

depends_build       port:texinfo

build.env-append    LC_CTYPE=C
destroot.env-append LC_CTYPE=C

# README file lists the following as dependencies:
depends_lib-append  port:ghostscript \
                    port:psutils \
                    port:netpbm

post-destroot {
    delete ${destroot}${prefix}/lib/charset.alias
}
