2001-10-05 20:15:44 +00:00
|
|
|
# New ports collection makefile for: scdp
|
|
|
|
# Date created: 14 September 2001
|
2002-10-22 13:28:29 +00:00
|
|
|
# Whom: arved@FreeBSD.org
|
2001-10-05 20:15:44 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= scdp
|
|
|
|
PORTVERSION= 1.0.b
|
2007-01-31 14:09:55 +00:00
|
|
|
PORTREVISION= 3
|
2004-02-23 04:42:13 +00:00
|
|
|
CATEGORIES= net-mgmt
|
2009-08-22 00:32:25 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0b
|
2001-10-08 02:53:05 +00:00
|
|
|
DISTNAME= scdp-${PORTVERSION:S/.b/b/}
|
2001-10-05 20:15:44 +00:00
|
|
|
|
2002-10-22 13:28:29 +00:00
|
|
|
MAINTAINER= arved@FreeBSD.org
|
2008-03-07 13:00:56 +00:00
|
|
|
COMMENT= Tool that sends CDP (CISCO Discovery Protocol) Packets
|
2001-10-05 20:15:44 +00:00
|
|
|
|
2007-01-31 14:09:55 +00:00
|
|
|
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
2001-10-05 20:15:44 +00:00
|
|
|
|
2010-05-30 17:39:07 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2001-10-05 20:15:44 +00:00
|
|
|
USE_GMAKE= yes
|
2007-01-31 14:09:55 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= libnet_config="${LIBNET_CONFIG}"
|
|
|
|
CFLAGS+= `${LIBNET_CONFIG} --cflags`
|
|
|
|
PLIST_FILES= bin/scdp
|
|
|
|
|
|
|
|
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
2001-10-05 20:15:44 +00:00
|
|
|
|
|
|
|
post-patch:
|
2002-07-14 18:51:45 +00:00
|
|
|
${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/scdp.c
|
2007-01-31 14:09:55 +00:00
|
|
|
${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|' \
|
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
2001-10-05 20:15:44 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|