2001-02-17 18:52:59 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2001/02/17 18:19:37 wiz Exp $
|
1998-03-30 10:47:37 +02:00
|
|
|
#
|
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
DISTNAME= sniffit.0.3.5
|
|
|
|
PKGNAME= sniffit-0.3.5
|
|
|
|
CATEGORIES= net security
|
|
|
|
MASTER_SITES= http://reptile.rug.ac.be/~coder/sniffit/files/
|
1998-03-30 10:47:37 +02:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
HOMEPAGE= http://reptile.rug.ac.be/~coder/sniffit/sniffit.html
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Packet sniffer program
|
1998-03-30 10:47:37 +02:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
NOT_FOR_PLATFORM= *-*-alpha # severe LP64 loss
|
1998-11-13 02:35:55 +01:00
|
|
|
|
2001-01-08 15:59:18 +01:00
|
|
|
USE_CURSES= yes
|
|
|
|
REPLACE_NCURSES= ${WRKSRC}/configure
|
|
|
|
|
1999-07-25 02:36:31 +02:00
|
|
|
HAS_CONFIGURE= YES
|
|
|
|
ALL_TARGET=
|
1998-03-30 10:47:37 +02:00
|
|
|
|
|
|
|
do-install:
|
1998-03-30 11:57:56 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sniffit ${PREFIX}/sbin/sniffit
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/sniffit.5 ${PREFIX}/man/man5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/sniffit.8 ${PREFIX}/man/man8
|
1998-03-30 10:47:37 +02:00
|
|
|
|
2001-01-08 15:59:18 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${NEED_NCURSES} == "YES"
|
|
|
|
CONFIGURE_ENV+= NCURSES_LOCATION=${LOCALBASE}/include/ncurses.h
|
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= NCURSES_LOCATION=no
|
|
|
|
.endif
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|