source: trunk/dports/devel/astyle/Portfile @ 123878

Last change on this file since 123878 was 123878, checked in by jmr@…, 4 years ago

astyle: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 123878 2014-08-15 13:45:23Z jmr@macports.org $
3
4PortSystem          1.0
5
6name                astyle
7version             2.04
8categories          devel
9license             LGPL-3+
10platforms           darwin
11maintainers         wyuenho openmaintainer
12
13description         source code beautifier for the C, C++, C# and Java programming languages
14long_description    Artistic Style is a source code indenter, source code formatter, \
15                    and source code beautifier for the C, C++, C# and Java \
16                    programming languages.
17
18homepage            http://astyle.sourceforge.net
19master_sites        sourceforge::macosx
20distfiles           ${name}_${version}_macosx.tar.gz:macosx
21checksums           rmd160  3acff3f6d604c50a4762db9bce8c5cb18088c4a0 \
22                    sha256  e0ba90723463172fd8a063897092284993eeebb87c63cf26ee36f555b0d89368
23
24worksrcdir          ${name}/build/mac
25patchfiles          patch-Makefile.diff
26use_configure       no
27conflicts           astyle-dev
28
29variant universal   {}
30
31build.target        release
32build.args-append   prefix=${prefix} \
33                    CXX="${configure.cxx} [get_canonical_archflags cxx]"
34
35destroot.args-append \
36                    prefix=${prefix} \
37                    CXX="${configure.cxx} [get_canonical_archflags cxx]"
38
39variant lib description {Build and install the libraries} {
40    build.target-append shared static
41    destroot.target-append install-lib
42}
43
44variant java description {Build and install the JNI library} {
45    build.target-append java
46    destroot.target-append install-jnilib
47}
48
49livecheck.regex     "[quotemeta $name] (\\d+(\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.