2007-09-15 18:36:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2007/09/15 22:36:52 merdely Exp $
|
2001-03-28 03:28:47 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= active packet sniffer
|
2001-02-19 16:55:46 -05:00
|
|
|
|
|
|
|
DISTNAME= angst-0.4b
|
2005-05-23 19:54:32 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2001-02-19 16:55:46 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://angst.sourceforge.net/
|
|
|
|
|
2002-12-21 20:20:16 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=angst/} \
|
|
|
|
${MASTER_SITE_PACKETSTORM:=sniffers/angst/}
|
2001-02-19 16:55:46 -05:00
|
|
|
|
2002-09-03 01:49:19 -04:00
|
|
|
# BSD
|
2001-02-19 16:55:46 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c pcap
|
2001-02-19 16:55:46 -05:00
|
|
|
|
2005-05-23 19:54:32 -04:00
|
|
|
LIB_DEPENDS= lib/libnet-1.0/net.=0:libnet-1.0*:net/libnet/1.0
|
2002-12-21 20:20:16 -05:00
|
|
|
|
2001-02-19 16:55:46 -05:00
|
|
|
ALL_TARGET= angst
|
|
|
|
|
2002-12-21 20:20:16 -05:00
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" \
|
2005-05-23 19:54:32 -04:00
|
|
|
DEFINE="`libnet-config-1.0 --defines`" \
|
|
|
|
INCLUDE="-I${LOCALBASE}/include/libnet-1.0" \
|
|
|
|
LIBS="`libnet-config-1.0 --libs` -lpcap"
|
2002-12-21 20:20:16 -05:00
|
|
|
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-02-19 16:55:46 -05:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/angst ${PREFIX}/sbin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/angst.8 ${PREFIX}/man/man8/angst.8
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/angst
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/angst
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/angst
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|