# -*- 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$

PortSystem          1.0

name                sstp-client
version             1.0.10
revision            1
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  c9a0e11ae717d76e6e2a520938d30cc4602a77e9 \
                    sha256  5f9084d8544c42c806724a4e70d039d8cb7b0ea06be8ea9cc5120684d4e0d424

depends_build       port:pkgconfig

depends_lib         port:libevent \
                    path:lib/libssl.dylib: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