freebsd-ports/sysutils/tuptime/Makefile
Ricardo Fraile 611ff1dc20 sysutils/tuptime: Update to 5.2.1
Changelog:

  * Return -e option as an argument for --dec decimals
  * Add rc script for OpenBSD and update installation doc
  * Deprecate --pctl option
  * Adding -E, --exclude option
  * Print longest uptime and downtime values on default output
  * Code refactoring

PR:		266579
Reviewed by:	Jeremy Johnston <jeremy@smart-serv.net> (maintainer)
2022-10-14 08:56:51 +02:00

31 lines
749 B
Makefile

PORTNAME= tuptime
DISTVERSION= 5.2.1
CATEGORIES= sysutils
MAINTAINER= jeremy@smart-serv.net
COMMENT= Historical and statistical system running time report tool
WWW= https://github.com/rfmoz/tuptime
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
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= rfmoz
USE_RC_SUBR= ${PORTNAME}
NO_ARCH= yes
NO_BUILD= 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>