1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name mcpp |
---|
5 | version 2.7.1 |
---|
6 | categories devel |
---|
7 | platforms darwin |
---|
8 | maintainers t3.rim.or.jp:kmatsui |
---|
9 | description Alternative C/C++ preprocessor |
---|
10 | long_description \ |
---|
11 | C/C++ preprocessor defines and expands macros and processes '#if', \ |
---|
12 | '#include' and some other directives. \ |
---|
13 | MCPP is an alternative C/C++ preprocessor with the highest conformance.\ |
---|
14 | It supports multiple standards: K&R, ISO C90, ISO C99, and ISO C++98. \ |
---|
15 | MCPP is especially useful for debugging a source program which uses \ |
---|
16 | complicated macros and also useful for checking portability of a \ |
---|
17 | source. \ |
---|
18 | Though mcpp could be built as a replacement of GCC's resident \ |
---|
19 | proprocessor, this port installs a program which behaves independent \ |
---|
20 | from GCC. |
---|
21 | homepage http://mcpp.sourceforge.net/ |
---|
22 | master_sites sourceforge |
---|
23 | checksums md5 375575ed6b305edd985c7adf9f36202e \ |
---|
24 | sha1 9f85d43462b9cda2662df335ca3e0c8e015b8805 |
---|
25 | configure.args-append --mandir=${prefix}/share/man |
---|
26 | # +universal: Install universal binary of mcpp for i386 and ppc. |
---|
27 | # Do not append these options to configure, but append to make. |
---|
28 | variant universal { build.args-append CFLAGS+='-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 -arch ppc' } |
---|
29 | # +mcpplib: Install library libmcpp.* and build executable linking the library. |
---|
30 | variant mcpplib { configure.args-append --enable-mcpplib } |
---|