# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 58271 2009-09-25 03:17:55Z ryandesign@macports.org $

PortSystem          1.0

name                snoopy
version             2.9.95
categories          games
maintainers         gmail.com:pandagoat
description         Warcraft III Hosting Utility
long_description    Snoopy helps hosts host by showing pings, locations, and other utilities. \
                    It has a banlist also and utilities for both clients and hosts.
homepage            http://snoopy.tuxfamily.org/
platforms           darwin

master_sites        ${homepage}files/

checksums           md5     932afb4743d9215f733b3858d5bf91d0 \
                    sha1    4199712f30ca4e60e81f1212c8d06278954d3416 \
                    rmd160  f8aa6b528f6ee455128dcf235a19feccb3573011

depends_lib         port:gcc43 \
                    port:dsniff \
                    port:gettext \
                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:libgeoip \
                    port:libiconv \
                    port:libpcap

platform darwin {
    patchfiles          patch-brain.c.diff
}

configure.compiler  macports-gcc-4.3

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
