# $Id: Portfile 80602 2011-07-15 16:17:54Z jmr@macports.org $

PortSystem 1.0

name             groff
version          1.21
revision         1
categories       sysutils textproc
license          GPL-3+
maintainers      nomaintainer
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/
platforms        darwin
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

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

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