summaryrefslogtreecommitdiffstats
path: root/net-mgmt/angst/Makefile
blob: 47931099a33738c31b18fdfbec3e43f19a8f09cc (plain)
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
# ex:ts=8
# New ports collection makefile for:	angst
# Date created:			Dec 4, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	angst
PORTVERSION=	0.4b
PORTREVISION=	2
CATEGORIES=	net-mgmt
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/${PORTNAME}-0.4.tar.gz \
		${MASTER_SITE_PACKETSTORM:S:%SUBDIR%:sniffers/angst:}


MAINTAINER=	ports@FreeBSD.org
COMMENT=	An active sniffer

BUILD_DEPENDS=	${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10

MAN8=		angst.8
PLIST_FILES=	sbin/angst

LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet10-config

post-patch:
	@${REINPLACE_CMD} -Ee \
		's,^(CC|CFLAGS).*,#&,; \
		 s,libnet-config,${LIBNET_CONFIG},; \
		 s,--defines,& --cflags,' \
		 ${WRKSRC}/Makefile

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud