1 | # $Id: $ |
---|
2 | PortSystem 1.0 |
---|
3 | name cproto |
---|
4 | version 4.6 |
---|
5 | categories devel |
---|
6 | maintainers jwbacon@tds.net |
---|
7 | platforms darwin |
---|
8 | |
---|
9 | description Generate C prototypes from source code |
---|
10 | long_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 | |
---|
15 | homepage http://sourceforge.net/projects/cproto/ |
---|
16 | master_sites sourceforge |
---|
17 | checksums md5 5968d18e9508b2892471e6ef16e140e3 \ |
---|
18 | sha1 9d0d9e4280870c506f35aaa85a5160b95a09abb2 \ |
---|
19 | rmd160 e9b30ca4efce18ed96b8d6d5b7fe56dbad002868 |
---|
20 | |
---|
21 | depends_build port:bison port:flex |
---|
22 | |
---|
23 | use_configure yes |
---|
24 | |
---|
25 | configure.args --prefix=${destroot}${prefix} |
---|
26 | |
---|
27 | # configure --mandir does not wor |
---|
28 | post-configure { |
---|
29 | reinplace "s|/man/man1|/share/man/man1|g" ${worksrcpath}/Makefile |
---|
30 | } |
---|