summaryrefslogtreecommitdiff
path: root/net-mgmt/scdp/Makefile
blob: 804578f8ba9832c65faaf41c2e00074699dab9fc (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
# New ports collection makefile for:   scdp
# Date created:                14 September 2001
# Whom:                        arved@FreeBSD.org
#
# $FreeBSD$

PORTNAME=	scdp
PORTVERSION=	1.0.b
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	scdp
DISTNAME=	scdp-${PORTVERSION:S/.b/b/}

MAINTAINER=	arved@FreeBSD.org
COMMENT=	"Tool that sends CDP (CISCO Discovery Protocol) Packets"

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

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_REINPLACE=	yes

post-patch:
	${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/scdp.c

.include <bsd.port.mk>