aboutsummaryrefslogtreecommitdiffstats
path: root/net/sflowtool/Makefile
blob: fe0dac40798765f2fbae5340a829fb01be2211da (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
# Created by: Gregory Edigarov <greg@bestnet.kharkov.ua>
# $FreeBSD$

PORTNAME=   sflowtool
PORTVERSION=    3.37
CATEGORIES= net
MASTER_SITES=   GH

MAINTAINER= ohauer@FreeBSD.org
COMMENT=    sFlow capture and sFlow-to-NetFlow conversion tool

USES=       autoreconf
GNU_CONFIGURE=  yes
USE_RC_SUBR=    ${PORTNAME}

USE_GITHUB= yes
GH_ACCOUNT= sflow
GH_PROJECT= ${PORTNAME}
GH_TAGNAME= 08a16d3

PLIST_FILES=    bin/sflowtool
PORTDOCS=   README
PORTEXAMPLES=   README ipTopTalkers ipTrafficMatrix sflowRRDChart.cgi \
        sflowRRDLoad sflowenable

.include <bsd.port.options.mk>

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/scripts/|} ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>