# $Id: Portfile,v 1.7 2005/09/05 14:36:29 mww Exp $

PortSystem 1.0

name            indent
version         2.2.9
revision        2
categories      devel
maintainers     darwinports@opendarwin.org
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
build.post_args	CPPFLAGS="-I${prefix}/include"
post-destroot	{ system "mv ${destroot}${prefix}/doc ${destroot}${prefix}/share/doc" }
