Ticket #51497: Portfile-unittest-cpp.diff
File Portfile-unittest-cpp.diff, 1.9 KB (added by jmgc, 8 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 118555 2014-04-04 20:18:24Z macsforever2000@macports.org $ 2 2 3 PortSystem 1.04 PortGroup muniversal1.03 PortSystem 1.0 4 PortGroup github 1.0 5 5 6 github.setup unittest-cpp unittest-cpp 1.6.1 v 6 7 name unittest-cpp 7 version 1.48 revision 19 8 categories devel 10 9 license MIT 11 10 platforms darwin … … 16 15 of platforms. Simplicity, portability, speed, and small footprint \ 17 16 are all very important aspects of UnitTest++. 18 17 19 homepage http://unittest-cpp.sourceforge.net/ 20 master_sites sourceforge:project/unittest-cpp/UnitTest%2B%2B/${version} 18 homepage https://github.com/organizations/unittest-cpp 19 github.tarball_from releases 20 checksums sha256 5b00a217f90fe262d91d09405ef5a8b5d28063da2f701cc58af48d560c4792af \ 21 rmd160 cbd4071442622eec6b9246fba84c351290f854d8 21 22 22 checksums md5 bd373a53403ed51ea1bbb60b1952d7e3 \23 sha1 dad944159e2e135aea74039987490eaaee00f2ad \24 rmd160 fe55f111e7551af5cb05890888f32814b51c70e025 26 use_zip yes27 worksrcdir UnitTest++28 29 post-extract {30 # DOS to UNIX line endings so we can patch properly.31 reinplace "s|\r||g" ${worksrcpath}/Makefile32 }33 34 patchfiles patch-Makefile.diff35 36 use_configure no37 38 foreach arch ${configure.universal_archs} {39 lappend merger_build_args(${arch}) CXX='${configure.cxx} -arch ${arch}'40 }41 if {![variant_isset universal]} {42 build.args-append CXX='${configure.cxx} [get_canonical_archflags cxx]'43 }44 45 destroot.args prefix=${prefix}