aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ipaudit/Makefile
blob: 02bbff49ec3ec9dd8c21a968ead10b27c8f2a572 (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
# Created by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
# $FreeBSD$

PORTNAME=   ipaudit
PORTVERSION=    0.95
CATEGORIES= net-mgmt sysutils
MASTER_SITES=   http://ipaudit.sourceforge.net/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    IP traffic summarizer

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       tar:tgz
SUB_FILES=  pkg-message

OPTIONS_DEFINE= DOCS

do-install:
.for f in ipaudit ipstrings total
    ${INSTALL_PROGRAM} ${WRKSRC}/src/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
.for f in ipaudit.1 ipstrings.1 total.1
    ${INSTALL_MAN} ${WRKSRC}/man/man1/${f} ${STAGEDIR}${PREFIX}/man/man1
.endfor
    ${INSTALL_DATA} ${WRKSRC}/src/ipaudit.conf.sample ${STAGEDIR}${PREFIX}/etc

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>