aboutsummaryrefslogtreecommitdiffstats
path: root/databases/rrdmerge/Makefile
blob: 6380d039abf16209242aa2a51c2fdbecced5508a (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
# Created by: sobomax
# $FreeBSD$

PORTNAME=   rrdmerge
PORTVERSION=    0.0.1
#PORTREVISION=  0
CATEGORIES= databases
MASTER_SITES=   http://download.sippysoft.com/thirdparty/
DISTNAME=   ${PORTNAME}-${GITREVISION}
EXTRACT_SUFX=   .tbz2

MAINTAINER= sobomax@FreeBSD.org
COMMENT=    Utility to merge existing RRD data from backups into new RRD files

RUN_DEPENDS=    rrdtool:${PORTSDIR}/databases/rrdtool

USES=       tar:bzip2 shebangfix
SHEBANG_FILES=  rrdmergetree
GITREVISION=    b05d69bfac64
USE_PYTHON= yes
bash_CMD=   /bin/sh
NO_BUILD=   yes
PLIST_FILES=    bin/${PORTNAME} bin/${PORTNAME}tree

PORTDOCS=   *

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/rrdmerge ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/rrdmergetree ${STAGEDIR}${PREFIX}/bin
    ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME}
    ${INSTALL_MAN} ${WRKSRC}/README.rst ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME}

.include <bsd.port.mk>