# $Id: Portfile,v 1.3 2005/07/04 04:15:28 pguyot Exp $

PortSystem 1.0

name			ArpSpyX
version			1.1
categories		aqua net
platforms		darwin
maintainers		mww@opendarwin.org
description		ArpSpyX displays ARP packets received by your computer
long_description	ArpSpyX will passively sniff your network for ARP packets \
					and display the IP and MAC address of the machine that \
					generated the packet.

homepage		http://www.thebends.org/~allen/arpspyx/
master_sites	http://www.thebends.org/~allen/code/
distfiles		${distname}-source.tgz
checksums		md5 e5c2fdb34ce4539a5cbbf340cef39ba3

worksrcdir		ArpSpyX

extract.cmd		cat
extract.pre_args

use_configure	no

build.type		pbx
build.target
build.args		-buildstyle Deployment

set xcodebuilddir		build
platform darwin 8 {
	if {$xcodeversion == "2.1"} {
		set xcodebuilddir	build/Deployment
	}
}

destroot	{
	xinstall -m 755 -d ${destroot}/Applications/DarwinPorts/
	file copy ${worksrcpath}/${xcodebuilddir}/ArpSpyX.app \
		${destroot}/Applications/DarwinPorts/
}
