summaryrefslogtreecommitdiffstats
path: root/security/hafiye/Makefile
blob: 026d438d17a7e413d669e4061b1714bb5e06a975 (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
# ex:ts=8
# Ports collection makefile for:	hafiye
# Date Created:			Aug 14, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	hafiye
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://www.enderunix.org/hafiye/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Multi Platform Customizable TCP/IP Packet Sniffer

USE_REINPLACE=	yes
MAKE_ENV=	LDFLAGS="-lpcap"

post-patch:
	@${REINPLACE_CMD} -e "s|^CC|#CC|g ; s|^CFLAGS|#CFLAGS|g ; \
		s|^LDFLAGS|#LDFLAGS|g" ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/hafiye ${PREFIX}/bin
	@${MKDIR} ${DATADIR}
	${CP} -R ${WRKSRC}/KB/* ${DATADIR}

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