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
|
2007-01-31 15:09:55 +01:00
|
|
|
PORTREVISION= 2
|
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}
|
|
|
|
|
2005-04-21 19:44:08 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= An active sniffer
|
2001-12-03 19:56:00 +01:00
|
|
|
|
2007-01-31 15:09:55 +01:00
|
|
|
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
2001-12-03 19:56:00 +01:00
|
|
|
|
2004-02-06 14:12:53 +01:00
|
|
|
MAN8= angst.8
|
|
|
|
PLIST_FILES= sbin/angst
|
2001-12-03 19:56:00 +01:00
|
|
|
|
2007-01-31 15:09:55 +01:00
|
|
|
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
|
|
|
|
2001-12-03 19:56:00 +01:00
|
|
|
post-patch:
|
2007-01-31 15:09:55 +01:00
|
|
|
@${REINPLACE_CMD} -Ee \
|
|
|
|
's,^(CC|CFLAGS).*,#&,; \
|
|
|
|
s,libnet-config,${LIBNET_CONFIG},; \
|
|
|
|
s,--defines,& --cflags,' \
|
|
|
|
${WRKSRC}/Makefile
|
2001-12-03 19:56:00 +01:00
|
|
|
|
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>
|