aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/aguri/Makefile
blob: 6d833ea04c4637671547852810f3e7ce63421df8 (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
37
38
39
40
41
42
# New ports collection makefile for:    aguri
# Date created:                         27 February 2003
# Whom:                 Yann Berthier <yb@sainte-barbe.org>
#
# $FreeBSD$
#

PORTNAME=   aguri
PORTVERSION=    0.7
CATEGORIES= net-mgmt ipv6
MASTER_SITES=   ftp://ftp.csl.sony.co.jp/pub/kjc/

MAINTAINER= yb@bashibuzuk.net
COMMENT=    An Aggregation-based Traffic Profiler

.if defined(WITH_X11)
EXTRA_PATCHES=  ${FILESDIR}/extra-patch-Makefile
USE_XLIB=   yes
.endif

MAN1=       aguri.1

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/aguri ${PREFIX}/bin
    @${INSTALL_MAN} ${WRKSRC}/aguri.1 ${MANPREFIX}/man/man1

post-install:

.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for FILES in CHANGES INSTALL README
    @${INSTALL_DATA} ${WRKSRC}/${FILES} ${DOCSDIR}
.endfor
.endif
    @${MKDIR} ${DATADIR}
    @${INSTALL_DATA} ${WRKSRC}/scripts/README ${DATADIR}
.for SCRIPTS in agurify.pl density.pl makeimages.pl makeplot.pl
    @${INSTALL_SCRIPT} ${WRKSRC}/scripts/${SCRIPTS} \
    ${DATADIR}
.endfor

.include <bsd.port.mk>