aboutsummaryrefslogtreecommitdiffstats
path: root/net/angst/Makefile
blob: 95488b385233db731a703b54dc131757ee9878b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ex:ts=8
# New ports collection makefile for:    angst
# Date created:         Dec 4, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   angst
PORTVERSION=    0.4b
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    An active sniffer

BUILD_DEPENDS=  ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet

LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet-config

USE_REINPLACE=  yes

MAN8=   angst.8

post-patch:
    @${REINPLACE_CMD} -e "s,^CC,#CC,g ; \
        s,^CFLAGS,#CFLAGS,g ; \
        s,libnet-config,${LIBNET_CONFIG},g" ${WRKSRC}/Makefile

.include <bsd.port.mk>