2015-10-30 08:35:56 +00:00
|
|
|
# Created by: Jeremy Johnston <jeremy@smart-serv.net>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tuptime
|
2018-02-23 02:43:06 +00:00
|
|
|
DISTVERSION= 3.3.3
|
2015-10-30 08:35:56 +00:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
|
|
|
MAINTAINER= jeremy@smart-serv.net
|
|
|
|
COMMENT= Historical and statistical system running time report tool
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 14:25:16 +00:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7:databases/py-sqlite3
|
2015-10-30 08:35:56 +00:00
|
|
|
|
2015-11-22 08:02:41 +00:00
|
|
|
USES= python:run shebangfix
|
2015-10-30 08:35:56 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= rfrail3
|
|
|
|
NO_BUILD= yes
|
2018-02-23 02:43:06 +00:00
|
|
|
NO_ARCH= yes
|
2015-10-30 08:35:56 +00:00
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
2016-03-02 23:14:23 +00:00
|
|
|
SHEBANG_FILES= ${WRKSRC}/src/tuptime ${WRKSRC}/scripts/*
|
2015-10-30 08:35:56 +00:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2015-11-22 08:02:41 +00:00
|
|
|
PLIST_FILES= bin/tuptime \
|
|
|
|
${EXAMPLESDIR}/db-tuptime-migrate.sh \
|
|
|
|
${EXAMPLESDIR}/db-tuptime-migrate-3.0-to-3.1.sh
|
2015-10-30 08:35:56 +00:00
|
|
|
|
|
|
|
do-install:
|
2015-11-22 08:02:41 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2016-03-02 23:14:23 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/tuptime ${STAGEDIR}${PREFIX}/bin/tuptime
|
2015-11-22 08:02:41 +00:00
|
|
|
${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
|
2015-10-30 08:35:56 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|