source: trunk/dports/devel/mcpp/Portfile

Last change on this file was 89237, checked in by blair@…, 6 years ago

mcpp: do not use capital letters when the filename has lowercase.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 89237 2012-01-21 22:36:48Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                mcpp
7version             2.7.2
8revision            5
9categories          devel
10platforms           darwin
11maintainers         blair openmaintainer
12license             BSD
13description         Alternative C/C++ preprocessor
14long_description    \
15    C/C++ preprocessor defines and expands macros and processes '#if',     \
16    '#include' and some other directives.                                  \
17    MCPP is an alternative C/C++ preprocessor with the highest conformance.\
18    It supports multiple standards: K&R, ISO C90, ISO C99, and ISO C++98.  \
19    MCPP is especially useful for debugging a source program which uses    \
20    complicated macros and also useful for checking portability of a       \
21    source.                                                                \
22    Though mcpp could be built as a replacement of GCC's resident          \
23    preprocessor, this port installs a program which behaves independent   \
24    from GCC.
25homepage            http://mcpp.sourceforge.net/
26master_sites        sourceforge
27checksums           md5 512de48c87ab023a69250edc7a0c7b05 \
28                    sha1 703356b7c2cd30d7fb6000625bf3ccc2eb977ecb
29patchfiles          patch-src__internal.h \
30                    patch-src__support.c \
31                    patch-src__system.h \
32                    patch-fix-core-dumps
33configure.args-append --enable-mcpplib --mandir=${prefix}/share/man
34# +universal: Install universal binary of mcpp.
35# Do not append these options to configure, but append to make.
36variant universal { build.args-append CFLAGS+='${configure.universal_cflags}' }
37if {![variant_isset universal]} {
38        build.args-append CFLAGS+='${configure.cc_archflags}'
39}
Note: See TracBrowser for help on using the repository browser.