Ticket #34203: Portfile

File Portfile, 1.3 KB (added by enaess (Eivind Næss), 13 years ago)
Line 
1# $Id: Portfile 74622 2010-12-24 04:37:23Z nomaintainer@macports.org $
2
3PortSystem 1.0
4
5name                sstp-client
6version             1.0.7
7categories          net
8platforms           darwin
9maintainers         nomaintainer
10license             GPLv2+
11description \
12    A client implementation of Secure Socket Tunneling Protocol (SSTP) for Unix \
13    that allows access via SSTP VPN to Microsoft Windows 2008 Server. It tunnels \
14    PPP traffic over SSL.
15
16long_description    ${description}
17
18homepage            http://sstp-client.sourceforge.net
19master_sites        sourceforge:sstp-client
20
21extract.suffix      .tar.gz
22checksums           md5  c15bf9128f3601267c6cf91d6af0bb40 \
23                    sha1 03c2f23d189b8907483f846a8aa043ce192015e1
24
25worksrcdir          ${name}-${version}
26depends_build       port:pkgconfig
27depends_lib         port:openssl port:libevent
28
29use_configure       yes
30universal_variant   no
31
32configure.args      \
33    --with-runtime-dir=${prefix}/var/macports/sstpc \
34    --disable-ppp-plugin \
35    --with-libevent=2
36
37test.run            yes
38test.target         check
39destroot.args       PREFIX=${prefix}
40livecheck.type      regex
41livecheck.url       http://sourceforge.net/projects/sstp-client/files/sstp-client/${version}/
42livecheck.regex     "${name}-(\\d+(?:\\.\\d+)+)"