# -*- 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 101652 2013-01-16 06:03:42Z ryandesign@macports.org $

PortSystem          1.0

name                sstp-client
version             1.0.9
categories          net
platforms           darwin
maintainers         nomaintainer
license             GPL-2+

description         client implementation of Secure Socket Tunneling Protocol (SSTP)

long_description    ${name} is a ${description} for Unix that allows access \
                    via SSTP VPN to Microsoft Windows 2008 Server. It tunnels \
                    PPP traffic over SSL.

homepage            http://sstp-client.sourceforge.net/
master_sites        sourceforge:project/sstp-client/sstp-client/${version}

checksums           rmd160  bd027587f2387e49a2588165d5560aa8b3ba53f8 \
                    sha256  d3d8a26485b2cf0b24e148301b94b3ab9cdb17700ecd7c408b8fd6ad16f7fc4e

depends_build       port:pkgconfig

depends_lib         port:libevent \
                    port:openssl

configure.args      --disable-ppp-plugin \
                    --disable-silent-rules \
                    --with-libevent=2 \
                    --with-runtime-dir=${prefix}/var/macports/sstpc

test.run            yes
test.target         check
