# $Id: Portfile 30224 2007-10-22 22:49:14Z jmpp@macports.org $

PortSystem 1.0

name            indent
version         2.2.9
revision        2
categories      devel
maintainers     nomaintainer
description     C language source code formatting program
long_description \
    GNU indent changes the appearance of a C program by inserting or    \
    deleting whitespace according to a plethora of options.  Some canned\
    styles of formatting are supported as well.  GNU indent is a        \
    descendant of BSD indent. GNU indent does NOT work for C++, only C.

homepage        http://www.gnu.org/software/indent/
platforms       darwin
master_sites    gnu
checksums      	md5 dcdbb163bef928306dee2a0cfc581c89
configure.args  --mandir=${prefix}/share/man \
                --infodir=${prefix}/share/info \
                --program-prefix=gnu
depends_lib     port:gettext port:libiconv
patchfiles      patch-texinfo2man.c patch-src__indent.h
post-destroot {
    file rename ${destroot}${prefix}/doc ${destroot}${prefix}/share/doc
}
