blob: 8303709ce1dcdaa82cb636137f6e210bd0291122 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
PORTNAME= libfaketime
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.10
CATEGORIES= devel
MAINTAINER= bofh@FreeBSD.org
COMMENT= Modifies the system time for a single application
WWW= https://github.com/wolfcw/libfaketime
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake shebangfix
USE_GITHUB= yes
GH_ACCOUNT= wolfcw
GH_TAGNAME= da77808
USE_LDCONFIG= yes
SHEBANG_FILES= test/functests/common.inc test/testframe.sh
# FAKE_STAT doesn't currently work on FreeBSD
# Add -DFAKE_STAT to FEATS to see why
MAKE_ENV+= FEATS="-DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS" \
MANDIR="/man" \
WARNS="-Wall"
TEST_TARGET= test
PLIST_FILES= bin/faketime \
lib/faketime/libfaketime.so.1 \
lib/faketime/libfaketimeMT.so.1 \
man/man1/faketime.1.gz \
share/doc/faketime/NEWS \
share/doc/faketime/README
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/faketime \
${STAGEDIR}${PREFIX}/lib/faketime/*.so.*
.include <bsd.port.mk>
|