mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
35 lines
773 B
Makefile
35 lines
773 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= angst
|
|
PORTVERSION= 0.4b
|
|
PORTREVISION= 2
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/${PORTNAME}-0.4.tar.gz \
|
|
${MASTER_SITE_PACKETSTORM:S:%SUBDIR%:sniffers/angst:}
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An active sniffer
|
|
|
|
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
|
|
|
MAN8= angst.8
|
|
PLIST_FILES= sbin/angst
|
|
|
|
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
@${REINPLACE_CMD} -Ee \
|
|
's,^(CC|CFLAGS).*,#&,; \
|
|
s,libnet-config,${LIBNET_CONFIG},; \
|
|
s,--defines,& --cflags,' \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8
|
|
|
|
.include <bsd.port.mk>
|