1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/sysutils/tuptime/Makefile

35 lines
1016 B
Makefile
Raw Normal View History

# Created by: Jeremy Johnston <jeremy@smart-serv.net>
# $FreeBSD$
PORTNAME= tuptime
DISTVERSION= 3.3.3
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
USES= python:run shebangfix
USE_GITHUB= yes
GH_ACCOUNT= rfrail3
NO_BUILD= yes
NO_ARCH= yes
USE_RC_SUBR= ${PORTNAME}
SHEBANG_FILES= ${WRKSRC}/src/tuptime ${WRKSRC}/scripts/*
SUB_FILES= pkg-message
PLIST_FILES= bin/tuptime \
${EXAMPLESDIR}/db-tuptime-migrate.sh \
${EXAMPLESDIR}/db-tuptime-migrate-3.0-to-3.1.sh
do-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/src/tuptime ${STAGEDIR}${PREFIX}/bin/tuptime
${INSTALL_SCRIPT} ${WRKSRC}/scripts/db-tuptime-migrate.sh ${STAGEDIR}${EXAMPLESDIR}/db-tuptime-migrate.sh
${INSTALL_SCRIPT} ${WRKSRC}/scripts/db-tuptime-migrate-3.0-to-3.1.sh ${STAGEDIR}${EXAMPLESDIR}/db-tuptime-migrate-3.0-to-3.1.sh
.include <bsd.port.mk>