aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipgrab/Makefile
blob: d66635f3fcd5360d8cbf4488d690bc03c7d76566 (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
# 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
MAN8=       ipgrab.8
DOCS=       README AUTHORS COPYING ChangeLog \
        DEVELOPER-HOWTO INSTALL NEWS TODO

PLIST_FILES=    bin/ipgrab

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

NO_STAGE=   yes

OPTIONS_DEFINE= DOCS 

.include <bsd.port.options.mk>

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

.include <bsd.port.mk>