Ticket #47304: Portfile

File Portfile, 1.6 KB (added by carlesfernandez (Carles Fernandez), 10 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id:
3
4PortSystem          1.0
5
6name                libgtest-dev
7maintainers         gmail.com:carlesfernandez openmaintainer
8description         Google C++ Testing Framework development port (source code only)
9homepage            http://code.google.com/p/googletest/
10master_sites        http://googletest.googlecode.com/files/
11categories          devel
12license             BSD
13platforms           darwin
14
15version             1.7.0
16distname            gtest-${version}
17distfiles           gtest-${version}.zip
18
19set release_rmd160  33591b2223d31386c595dc43487fe02c37d008e4
20set release_sha256  247ca18dd83f53deb1328be17e4b1be31514cedfc1e3424f672bf11fd7e0d60d
21
22long_description    ${description}: \
23    Google's framework for writing C++ tests on a variety of platforms, based on the xUnit architecture. Supports automatic test discovery, a rich set of assertions, user-defined assertions, death tests, fatal and non-fatal failures, value- and type-parameterized tests, various options for running the tests, and XML test report generation.
24
25checksums           rmd160  ${release_rmd160} \
26                    sha256  ${release_sha256}
27
28use_zip             yes
29
30use_configure       no
31build               {}
32destroot            {
33                       copy ${worksrcpath} ${destroot}${prefix}/src
34                    }
35install             {}
36activate            {
37                       copy ${destroot}${prefix}/src/ ${prefix}/src/
38                    }
39