blob: 35ae1e9958a1ffac5a888460407b020115d20b23 (
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
32
33
34
35
|
# New ports collection makefile for: scdp
# Date created: 14 September 2001
# Whom: arved@FreeBSD.org
#
# $FreeBSD$
PORTNAME= scdp
PORTVERSION= 1.0.b
PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0b
DISTNAME= scdp-${PORTVERSION:S/.b/b/}
MAINTAINER= arved@FreeBSD.org
COMMENT= Tool that sends CDP (CISCO Discovery Protocol) Packets
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= libnet_config="${LIBNET_CONFIG}"
CFLAGS+= `${LIBNET_CONFIG} --cflags`
PLIST_FILES= bin/scdp
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
post-patch:
${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/scdp.c
${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>
|