# $Id: Portfile,v 1.1 2003/07/14 16:41:50 gwright Exp $ PortSystem 1.0 name driftnet version 0.1.6 categories net maintainers gwright@opendarwin.org description Watch the pictures go by on your net homepage http://www.ex-parrot.com/~chris/driftnet platforms darwin long_description \ Inspired by EtherPEG, Driftnet is a program which \ listens to network traffic and picks out images from \ TCP streams it observes. Fun to run on a host which \ sees lots of web traffic. master_sites http://www.ex-parrot.com/~chris/driftnet/ #bugs You need to have 'makedepend' in your path to build \ # driftnet. It usually is found in /usr/X11R6/bin. \ # Driftnet doesn't use a configure file, so the Makefile \ # has to be rudely coerced to work properly. #user_notes This program is lots of fun to use at a conference \ # where wireless networking is available. I did the port \ # at IETF 57 :-) checksums md5 8e11d77770452f97bb3c23f510489815 depends_lib lib:libjpeg:jpeg lib:libpcap:libpcap \ lib:libungif:libungif lib:libgtk.1:gtk patchfiles patch-driftnet.h patch-driftnet.c \ patch-media.c patch-Makefile configure { } build.target { } build.args CFLAGS="-no-cpp-precomp \ -I${prefix}/include \ -I${prefix}/lib/glib/include \ -I${prefix}/include/glib-1.2 \ -I${prefix}/include/gtk-1.2 \ -I/usr/X11R6/include \ -DDRIFTNET_VERSION='\\"0.1.6\\"'" install { file copy ${workpath}/${worksrcdir}/${name} \ ${destroot}${prefix}/bin file copy ${workpath}/${worksrcdir}/${name}.1 \ ${destroot}${prefix}/man/man1 }