# -*- 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 79312 2011-06-09 01:48:37Z ryandesign@macports.org $

PortSystem          1.0

name                cproto
version             4.6
platforms           darwin
categories          devel
maintainers         tds.net:jwbacon

description         Generate C prototypes from source code

long_description    ${name} is a program that generates function prototypes \
                    and variable declarations from C source code. It can \
                    also convert function definitions between the old style \
                    and the ANSI C style.

homepage            http://sourceforge.net/projects/cproto/
master_sites        sourceforge

checksums           sha1    9d0d9e4280870c506f35aaa85a5160b95a09abb2 \
                    rmd160  e9b30ca4efce18ed96b8d6d5b7fe56dbad002868

depends_build       port:bison \
                    port:flex

patchfiles          patch-Makefile.in.diff

configure.pre_args  --prefix=${destroot}${prefix}
