source: trunk/dports/sysutils/libfaketime/Portfile

Last change on this file was 112093, checked in by ryandesign@…, 4 years ago

libfaketime: enable tests

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 112093 2013-10-11 19:57:13Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        wolfcw libfaketime 0.9.5rc3 v
8
9checksums           rmd160  8d10140a181e0d5ce93bd7b0e7eeaa380eb7a9c6 \
10                    sha256  ee2234335b3d730fdf6898d8dba9195d9ab3068c29af25270be03682d24a424f
11
12categories          sysutils
13platforms           darwin
14maintainers         code-wizards.com:wolf openmaintainer
15license             GPL-2
16
17description         libfaketime modifies the system time for a single application
18
19long_description    libfaketime intercepts various system calls that applications use to \
20                    retrieve the current date and time. It can then report user-specified \
21                    faked dates and times to these applications. This allows us to modify \
22                    the system time an application sees without having to change the time \
23                    system-wide. The faketime wrapper can be used from command line. \
24                    Check the documentation on how to integrate into installed applications.
25
26patchfiles          patch-test-Makefile.OSX.diff
27
28use_configure       no
29
30variant universal {}
31
32compiler.blacklist  *cc* *dragonegg*
33
34build.args          -f Makefile.OSX
35build.env           CC="${configure.cc}" \
36                    CFLAGS="[get_canonical_archflags cc]" \
37                    LDFLAGS="[get_canonical_archflags ld]" \
38                    PREFIX=${prefix}
39
40test.run            yes
41test.args           ${build.args}
42eval test.env       ${build.env}
43
44destroot.args       ${build.args}
45eval destroot.env   ${build.env}
Note: See TracBrowser for help on using the repository browser.