aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipgrab/Makefile
blob: 4d214199ffea18ca69328ca3e3efac0b54f771f5 (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
# Created by: Aaron Zauner <az_mail@gmx.at>
# $FreeBSD$

PORTNAME=   ipgrab
PORTVERSION=    0.9.10
CATEGORIES= net security
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    IPgrab is a verbose packet sniffer for UNIX hosts

BUILD_DEPENDS=  ${LOCALBASE}/include/pcap.h:${PORTSDIR}/net/libpcap

GNU_CONFIGURE=  yes
USE_CSTD=   gnu89
INFO=       ipgrab
DOCS=       README AUTHORS COPYING ChangeLog \
        DEVELOPER-HOWTO INSTALL NEWS TODO

PLIST_FILES=    bin/ipgrab man/man8/ipgrab.8.gz

PORTDOCS=   README AUTHORS COPYING ChangeLog DEVELOPER-HOWTO \
        INSTALL NEWS TODO

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

do-install:
    ${INSTALL_MAN} ${WRKSRC}/doc/ipgrab.8 ${STAGEDIR}${MANPREFIX}/man/man8/
    ${INSTALL_DATA} ${WRKSRC}/doc/ipgrab.info ${STAGEDIR}${PREFIX}/info/
    ${INSTALL_PROGRAM} ${WRKSRC}/src/ipgrab ${STAGEDIR}${PREFIX}/bin/
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.endif

.include <bsd.port.mk>