blob: 6ed194f45c270d5ef073d13720c477b4a2d27669 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Created by: Jeremy Johnston <jeremy@smart-serv.net>
# $FreeBSD$
PORTNAME= tuptime
DISTVERSION= 3.2.4
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
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>
|