# -*- 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 PortGroup java 1.0 PortGroup muniversal 1.0 name astyle version 2.05.1 categories devel license LGPL-3+ 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:project/astyle/astyle/astyle%20${version} distname ${name}_${version}_macosx checksums rmd160 d153c0004c7a5d44dc68f235b5baa36e988afab3 \ sha256 de66da286dee2b9de1dc1c05092cbf5368c0889f25d1e2ee8b51766aff8e4baf worksrcdir ${name}/build/mac patchfiles patch-Makefile.diff use_configure no build.args-append prefix=${prefix} destroot.target-append \ install-lib destroot.args-append \ prefix=${prefix} foreach arch ${configure.universal_archs} { lappend merger_build_args(${arch}) CXX='${configure.cxx} -arch ${arch}' lappend merger_destroot_args(${arch}) CXX='${configure.cxx} -arch ${arch}' } if {![variant_isset universal]} { if {[info exists merger_build_args(${configure.build_arch})]} { build.args-append $merger_build_args(${configure.build_arch}) } if {[info exists merger_destroot_args(${configure.build_arch})]} { destroot.args-append $merger_destroot_args(${configure.build_arch}) } } variant java description {Build and install the JNI library} { build.target-append java destroot.target-append install-jnilib } livecheck.regex "[quotemeta $name] (\\d+(\\.\\d+)*)"