PortSystem          1.0
PortGroup           ruby 1.0

ruby.setup          {pcap ruby-pcap} 0.6 extconf.rb

categories          ruby net
license             GPL-2
maintainers         atnan.com:nathan openmaintainer
description         Ruby interface to LBL Packet Capture library (libpcap).
long_description    Ruby interface to LBL Packet Capture library (libpcap). \
                    This library also includes classes to access packet header \
                    fields. It is much easier to code in Ruby/Pcap than to code \
                    in C and use libpcap directly.
homepage            http://www.goto.info.waseda.ac.jp/~fukusima/ruby/pcap-e.html
platforms           darwin
master_sites        http://www.goto.info.waseda.ac.jp/~fukusima/ruby/ \
                    ftp://ftp.iDaemons.org/pub/distfiles/ruby/

worksrcdir          pcap
patchfiles          patch-Pcap.c.diff
checksums           md5 bf8024831bfbbf0cfbf7c7ca27c1b16a \
                    sha1 d098a04e4bb5e414fc10d267b3d6dcf9490bccd3 \
                    rmd160 6422c9fe0a5a35f5cc1fe6cba418223d0e764766

depends_lib-append  port:libpcap
