# -*- 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 89940 2012-02-16 04:44:54Z jeremyhu@macports.org $

PortSystem          1.0

name                groff
version             1.21
revision            2
categories          sysutils textproc
platforms           darwin
maintainers         nomaintainer
license             GPL-3+

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    a513aca4a7530a6e63325addd6ba2d282c8f1608 \
                    rmd160  d050f886291a53ea46875887e5641e510e1aecf6

patchfiles          patch-Makefile.in.diff

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
}
