Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0

name ArpSpyX
version 1.1
categories aqua net
platforms darwin
maintainers nomaintainer@macports.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/MacPorts/
file copy ${worksrcpath}/${xcodebuilddir}/ArpSpyX.app \
${destroot}/Applications/MacPorts/
}