# Created by: Kubilay Kocak # $FreeBSD: head/devel/libfaketime/Makefile 499970 2019-04-25 08:59:27Z koobs $ PORTNAME= libfaketime DISTVERSIONPREFIX= v DISTVERSION= 0.9.7 CATEGORIES= devel MAINTAINER= koobs@FreeBSD.org COMMENT= Modifies the system time for a single application LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake shebangfix USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= wolfcw GH_TAGNAME= da77808 # 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" \ WARNS="-Wall" \ MANDIR="/man" PLIST_FILES= bin/faketime \ lib/faketime/libfaketime.so.1 \ lib/faketime/libfaketimeMT.so.1 \ share/doc/faketime/NEWS \ share/doc/faketime/README \ man/man1/faketime.1.gz SHEBANG_FILES= test/testframe.sh \ test/functests/common.inc TEST_TARGET= test post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/faketime \ ${STAGEDIR}${PREFIX}/lib/faketime/*.so.* .include