# $Id: Portfile,v 1.1 2004/02/10 05:28:43 toby Exp $

PortSystem 1.0
name             diction
version          1.02
categories       textproc
maintainers      toby@opendarwin.org
description      GNU diction and style
long_description \
    This is the GNU diction and style, free implementations of \
    old standard unix commands. For some reason, many modern \
    systems lack them. Diction prints wordy and commonly misused \
    phrases. Style analyses surface characteristics of a \
    document, e.g. sentence length and various readability measures.
homepage         http://www.gnu.org/software/diction/
platforms        darwin
master_sites     gnu
checksums        md5 e50fd9139d47b1f146b1342293825f19
configure.args   mandir=${destroot}${prefix}/share/man
destroot.destdir prefix=${destroot}${prefix}

variant darwin {
    pre-configure {
        file copy -force /usr/share/libtool/config.guess ${worksrcpath}
        file copy -force /usr/share/libtool/config.sub ${worksrcpath}
    }
}
