summaryrefslogtreecommitdiff
path: root/net/sniffit/Makefile
blob: f0ed6a5282c0241ea1a7fb6b4760ce730c3ab40c (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
# $NetBSD: Makefile,v 1.14 2001/01/08 14:59:18 wiz Exp $
#

DISTNAME=		sniffit.0.3.5
PKGNAME=		sniffit-0.3.5
CATEGORIES=		net security
MASTER_SITES=		http://reptile.rug.ac.be/~coder/sniffit/files/

MAINTAINER=		packages@netbsd.org
HOMEPAGE=		http://reptile.rug.ac.be/~coder/sniffit/sniffit.html

NOT_FOR_PLATFORM=	*-*-alpha	# severe LP64 loss

USE_CURSES=		yes
REPLACE_NCURSES=	${WRKSRC}/configure

HAS_CONFIGURE=		YES
ALL_TARGET=

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

.include "../../mk/bsd.prefs.mk"

.if ${NEED_NCURSES} == "YES"
CONFIGURE_ENV+=		NCURSES_LOCATION=${LOCALBASE}/include/ncurses.h
.else
CONFIGURE_ENV+=		NCURSES_LOCATION=no
.endif

.include "../../mk/bsd.pkg.mk"