1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/dns/dnstop/Makefile
Martin Wilke ab34d1aff8 - Respect CC and CFLAGS
PR:		ports/107227
Submitted by:	farrokhi
Approved by:	maintainer
2006-12-29 23:09:06 +00:00

29 lines
660 B
Makefile

# New ports collection makefile for: dnstop
# Date created: 31 October 2002
# Whom: fenner
#
# $FreeBSD$
PORTNAME= dnstop
PORTVERSION= 20061122
CATEGORIES= dns
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>