Ticket #29755: Portfile

File Portfile, 865 bytes (added by jwbacon@…, 13 years ago)
Line 
1# $Id: $
2PortSystem      1.0
3name            cproto
4version         4.6
5categories      devel
6maintainers     jwbacon@tds.net
7platforms       darwin
8
9description     Generate C prototypes from source code
10long_description \
11        Cproto is a program that generates function prototypes and variable \
12        declarations from C source code.  It can also convert function \
13        definitions between the old style and the ANSI C style.
14
15homepage        http://sourceforge.net/projects/cproto/
16master_sites    sourceforge
17checksums       md5     5968d18e9508b2892471e6ef16e140e3 \
18                sha1    9d0d9e4280870c506f35aaa85a5160b95a09abb2 \
19                rmd160  e9b30ca4efce18ed96b8d6d5b7fe56dbad002868
20
21depends_build   port:bison port:flex
22
23use_configure   yes
24
25configure.args  --prefix=${destroot}${prefix}
26
27# configure --mandir does not wor
28post-configure {
29        reinplace "s|/man/man1|/share/man/man1|g" ${worksrcpath}/Makefile
30}