mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
1b4b4edf42
PR: 121329 Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> Approved by: portmgr (erwin via irc)
34 lines
876 B
Makefile
34 lines
876 B
Makefile
# 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= ${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= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
|
|
|
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>
|