1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/sysutils/tuptime/Makefile
Fernando Apesteguía 9a7c1eee6b sysutils/tuptime: update to 5.0.0
From ChangeLog: https://github.com/rfrail3/tuptime/releases/tag/5.0.0

 * Abbreviate format in time counters
 * Identify new startups with boot_id
 * Adding -b, --bootid option to show boot IDs
 * Adding -i, --invert option to show startup number in reverse count
 * Change database specs. Add bootid column
 * After a graceful shutdown register, delay 5 seconds next DB update
 * Change execution user from 'tuptime' to '_tuptime'
 * Large refactoring
 * Update .deb package

PR:	246966
Submitted by:	rfraile@rfraile.eu
Reviewed by:	jeremy@smart-serv.net (maintainer)
2020-06-11 11:59:52 +00:00

32 lines
693 B
Makefile

# $FreeBSD$
PORTNAME= tuptime
DISTVERSION= 5.0.0
CATEGORIES= sysutils
MAINTAINER= jeremy@smart-serv.net
COMMENT= Historical and statistical system running time report tool
LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7:databases/py-sqlite3@${PY_FLAVOR}
USES= python:run shebangfix
SHEBANG_FILES= ${WRKSRC}/src/tuptime
USE_GITHUB= yes
GH_ACCOUNT= rfrail3
USE_RC_SUBR= ${PORTNAME}
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
PLIST_FILES= bin/tuptime \
man/man1/tuptime.1.gz
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/tuptime ${STAGEDIR}${PREFIX}/bin/tuptime
${INSTALL_MAN} ${WRKSRC}/src/man/tuptime.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>