summaryrefslogtreecommitdiff
path: root/net-mgmt/cdpr/Makefile
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2002-07-12 13:33:21 +0000
committerOllivier Robert <roberto@FreeBSD.org>2002-07-12 13:33:21 +0000
commit557179b1eecabc3731707d7ce1487026ba132cde (patch)
tree2daf09ea411daeadd9ae90200585a9e0e69e5e6d /net-mgmt/cdpr/Makefile
parentUse USE_GNOMENG. (diff)
cdpr (Cisco Discovery Protocol Reporter) shows the switch and port that
a machine is connected to, provided that the device supports CDP. It can also optionally decode the full CDP packet. cdpr was written to help network/system administrators find out about the equipment that i a machine is connected to. This is done by capturing and decoding a Cisco Discovery Protocol (CDP) packet. PR: ports/40435 Submitted by: Michael L. Hostbaek <mich@freebsdcluster.org>
Notes
Notes: svn path=/head/; revision=62860
Diffstat (limited to 'net-mgmt/cdpr/Makefile')
-rw-r--r--net-mgmt/cdpr/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-mgmt/cdpr/Makefile b/net-mgmt/cdpr/Makefile
new file mode 100644
index 000000000000..d05c5d822805
--- /dev/null
+++ b/net-mgmt/cdpr/Makefile
@@ -0,0 +1,32 @@
+# ex:ts=8
+# Ports collection makefile for: cdpr
+# Date created: Tue Jul 08, 2002
+# Whom: Michael L. Hostbaek (mich@freebsdcluster.org)
+#
+# $FreeBSD$
+#
+
+PORTNAME= cdpr
+PORTVERSION= 1.0.2
+CATEGORIES= net
+MASTER_SITES= http://www.monkeymental.com/mmfiles/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= mich@freebsdcluster.org
+
+USE_GCC= yes
+ALL_TARGET= cdpr
+
+DOCSDIR?= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
+.endif
+
+.include <bsd.port.mk>