1 | # $Id: Portfile 74622 2010-12-24 04:37:23Z nomaintainer@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name sstp-client |
---|
6 | version 1.0.7 |
---|
7 | categories net |
---|
8 | platforms darwin |
---|
9 | maintainers nomaintainer |
---|
10 | license GPLv2+ |
---|
11 | description \ |
---|
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 | |
---|
16 | long_description ${description} |
---|
17 | |
---|
18 | homepage http://sstp-client.sourceforge.net |
---|
19 | master_sites sourceforge:sstp-client |
---|
20 | |
---|
21 | extract.suffix .tar.gz |
---|
22 | checksums md5 c15bf9128f3601267c6cf91d6af0bb40 \ |
---|
23 | sha1 03c2f23d189b8907483f846a8aa043ce192015e1 |
---|
24 | |
---|
25 | worksrcdir ${name}-${version} |
---|
26 | depends_build port:pkgconfig |
---|
27 | depends_lib port:openssl port:libevent |
---|
28 | |
---|
29 | use_configure yes |
---|
30 | universal_variant no |
---|
31 | |
---|
32 | configure.args \ |
---|
33 | --with-runtime-dir=${prefix}/var/macports/sstpc \ |
---|
34 | --disable-ppp-plugin \ |
---|
35 | --with-libevent=2 |
---|
36 | |
---|
37 | test.run yes |
---|
38 | test.target check |
---|
39 | destroot.args PREFIX=${prefix} |
---|
40 | livecheck.type regex |
---|
41 | livecheck.url http://sourceforge.net/projects/sstp-client/files/sstp-client/${version}/ |
---|
42 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)+)" |
---|