aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnstop/Makefile
blob: 335c07ec890b718805f9d80d67fbeb2080539c55 (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
# New ports collection makefile for:    dnstop
# Date created:     31 October 2002
# Whom:         fenner
#
# $FreeBSD$

PORTNAME=   dnstop
PORTVERSION=    20070219
CATEGORIES= dns ipv6
MASTER_SITES=   http://dns.measurement-factory.com/tools/dnstop/src/

MAINTAINER= mark@foster.cc
COMMENT=    Captures and analyzes DNS traffic (or analyzes libpcap dump)

USE_GCC=    3.4+

MAN8=       dnstop.8
PLIST_FILES=    bin/dnstop

post-patch:
    ${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS\?=|' ${WRKSRC}/Makefile
    ${REINPLACE_CMD} -e 's|^CC=|CC\?=|' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/dnstop ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/dnstop.8 ${PREFIX}/man/man8

.include <bsd.port.mk>