Ticket #48862: astyle-2.05.1.diff
File astyle-2.05.1.diff, 2.5 KB (added by ryandesign (Ryan Carsten Schmidt), 9 years ago) |
---|
-
Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup java 1.0 6 PortGroup muniversal 1.0 5 7 6 8 name astyle 7 version 2.0 49 version 2.05.1 8 10 categories devel 9 11 license LGPL-3+ 10 12 platforms darwin … … 16 18 programming languages. 17 19 18 20 homepage http://astyle.sourceforge.net 19 master_sites sourceforge: :macosx20 dist files ${name}_${version}_macosx.tar.gz:macosx21 checksums rmd160 3acff3f6d604c50a4762db9bce8c5cb18088c4a0\22 sha256 e0ba90723463172fd8a063897092284993eeebb87c63cf26ee36f555b0d8936821 master_sites sourceforge:project/astyle/astyle/astyle%20${version} 22 distname ${name}_${version}_macosx 23 checksums rmd160 d153c0004c7a5d44dc68f235b5baa36e988afab3 \ 24 sha256 de66da286dee2b9de1dc1c05092cbf5368c0889f25d1e2ee8b51766aff8e4baf 23 25 24 26 worksrcdir ${name}/build/mac 27 25 28 patchfiles patch-Makefile.diff 29 26 30 use_configure no 27 conflicts astyle-dev28 31 29 variant universal {}32 build.args-append prefix=${prefix} 30 33 31 build.target release 32 build.args-append prefix=${prefix} \ 33 CXX="${configure.cxx} [get_canonical_archflags cxx]" 34 34 destroot.target-append \ 35 install-lib 35 36 destroot.args-append \ 36 prefix=${prefix} \ 37 CXX="${configure.cxx} [get_canonical_archflags cxx]" 37 prefix=${prefix} 38 38 39 variant lib description {Build and install the libraries} {40 build.target-append shared static41 destroot.target-append install-lib39 foreach arch ${configure.universal_archs} { 40 lappend merger_build_args(${arch}) CXX='${configure.cxx} -arch ${arch}' 41 lappend merger_destroot_args(${arch}) CXX='${configure.cxx} -arch ${arch}' 42 42 } 43 43 44 if {![variant_isset universal]} { 45 if {[info exists merger_build_args(${configure.build_arch})]} { 46 build.args-append $merger_build_args(${configure.build_arch}) 47 } 48 if {[info exists merger_destroot_args(${configure.build_arch})]} { 49 destroot.args-append $merger_destroot_args(${configure.build_arch}) 50 } 51 } 52 44 53 variant java description {Build and install the JNI library} { 45 54 build.target-append java 46 55 destroot.target-append install-jnilib