# -*- 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 # $Id$ PortSystem 1.0 name astyle version 2.02.1 revision 2 categories devel platforms darwin maintainers wyuenho openmaintainer description source code beautifier for the C, C++, C# and Java programming languages long_description Artistic Style is a source code indenter, source code formatter, \ and source code beautifier for the C, C++, C# and Java \ programming languages. homepage http://astyle.sourceforge.net master_sites sourceforge::macosx distfiles ${name}_${version}_macosx.tar.gz:macosx checksums md5 38f3a20be7ba685496d479316d6004b0 \ sha1 b8e3e79c7134a0e97a1948608e3b58201d3af3de \ rmd160 c7dda2cbb805ad1102421b0925d677cbd9069b5e worksrcdir ${name}/build/mac patchfiles patch-Makefile.diff use_configure no conflicts astyle-dev variant universal {} build.target release build.args-append prefix=${prefix} \ CXX="${configure.cxx} [get_canonical_archflags cxx]" destroot.args-append \ prefix=${prefix} \ CXX="${configure.cxx} [get_canonical_archflags cxx]" variant lib description {Build and install the libraries} { build.target-append shared static destroot.target-append install-lib } variant java description {Build and install the JNI library} { build.target-append java destroot.target-append install-jnilib }