2001-12-03 19:56:00 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: angst
|
|
|
|
# Date created: Dec 4, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= angst
|
|
|
|
PORTVERSION= 0.4b
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2003-08-16 18:02:39 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
${MASTER_SITE_PACKETSTORM:S:%SUBDIR%:sniffers/angst:}
|
2001-12-03 19:56:00 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2003-07-22 12:34:12 +02:00
|
|
|
MAINTAINER= krion@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= An active sniffer
|
2001-12-03 19:56:00 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
|
|
|
|
|
|
|
|
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet-config
|
|
|
|
|
2002-06-23 08:04:01 +02:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
2004-02-06 14:12:53 +01:00
|
|
|
MAN8= angst.8
|
|
|
|
PLIST_FILES= sbin/angst
|
2001-12-03 19:56:00 +01:00
|
|
|
|
|
|
|
post-patch:
|
2002-06-23 08:04:01 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,^CC,#CC,g ; \
|
2001-12-03 19:56:00 +01:00
|
|
|
s,^CFLAGS,#CFLAGS,g ; \
|
|
|
|
s,libnet-config,${LIBNET_CONFIG},g" ${WRKSRC}/Makefile
|
|
|
|
|
2003-06-22 20:41:04 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8
|
|
|
|
|
2001-12-03 19:56:00 +01:00
|
|
|
.include <bsd.port.mk>
|