# $Id: Portfile,v 1.5 2006/08/05 17:42:25 markd Exp $

PortSystem	1.0

name				cdpr   
version				2.2.1
revision			1
categories			net
maintainers			markd@opendarwin.org
platforms			darwin

description			Cisco Discovery Protocol Reporter
long_description	        CDPR will show which switch and port the machine running  \
				it is connected to.  It also supports sending cdp data  \
				back to a central server. \

homepage			http://www.monkeymental.com/
					
master_sites                    sourceforge

checksums			md5 1e682e7e9c03f9b004c1f97c0ed25431

depends_lib			port:libpcap

use_configure	no

build.target
build.args	CFLAGS="-Wall -ggdb -lpcap -I. -I${prefix}/include" \
			LDFLAGS="-L${prefix}/lib -lpcap"

destroot {
	xinstall -m 755 ${worksrcpath}/cdpr ${destroot}${prefix}/bin
}
