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

PORTNAME=	scdp
PORTVERSION=	1.0.b
PORTREVISION=	1
CATEGORIES=	net-mgmt
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

PLIST_FILES=	bin/scdp
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>
OpenPOWER on IntegriCloud