source: trunk/dports/devel/unittest-cpp/Portfile

Last change on this file was 118555, checked in by macsforever2000@…, 3 years ago

unittest-cpp: Remove maintainer. (#38715)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 118555 2014-04-04 20:18:24Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup               muniversal 1.0
5
6name                    unittest-cpp
7version                 1.4
8revision                1
9categories              devel
10license                 MIT
11platforms               darwin
12maintainers             nomaintainer
13description             lightweight unit testing framework for C++
14long_description        UnitTest++ is a lightweight unit testing framework for C++. \
15                        It was designed to do test-driven development on a wide variety \
16                        of platforms. Simplicity, portability, speed, and small footprint \
17                        are all very important aspects of UnitTest++.
18
19homepage                http://unittest-cpp.sourceforge.net/
20master_sites            sourceforge:project/unittest-cpp/UnitTest%2B%2B/${version}
21
22checksums               md5 bd373a53403ed51ea1bbb60b1952d7e3 \
23                        sha1 dad944159e2e135aea74039987490eaaee00f2ad \
24                        rmd160 fe55f111e7551af5cb05890888f32814b51c70e0
25
26use_zip                 yes
27worksrcdir              UnitTest++
28
29post-extract {
30    # DOS to UNIX line endings so we can patch properly.
31    reinplace "s|\r||g" ${worksrcpath}/Makefile
32}
33
34patchfiles              patch-Makefile.diff
35
36use_configure           no
37
38foreach arch ${configure.universal_archs} {
39    lappend merger_build_args(${arch})  CXX='${configure.cxx} -arch ${arch}'
40}
41if {![variant_isset universal]} {
42    build.args-append   CXX='${configure.cxx} [get_canonical_archflags cxx]'
43}
44
45destroot.args           prefix=${prefix}
Note: See TracBrowser for help on using the repository browser.