# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ PortSystem 1.0 name openvpn2 version 2.0.9 revision 1 distname openvpn-${version} categories net security platforms darwin maintainers gmail.com:jordiyeh pmq description easy-to-use, robust, and highly configurable VPN long_description OpenVPN is an easy-to-use, robust, and highly \ configurable VPN (Virtual Private Network) daemon \ which can be used to securely link two or more \ private networks using an encrypted tunnel over \ the internet. homepage http://www.openvpn.net master_sites ${homepage}/release/ distname openvpn-${version} checksums sha1 6e900994bc9e4a14096173931c565ac27b0e7bb5 \ rmd160 e2b73071c8d6e9fba93afe46355a35882773d936 depends_lib port:lzo2 port:openssl configure.args --mandir=${prefix}/share/man \ --with-lzo-headers=${prefix}/include \ --with-lzo-lib=${prefix}/lib \ --with-ssl-headers=${prefix}/include \ --with-ssl-lib=${prefix}/lib \ --program-suffix=2 post-destroot { set docdir ${destroot}/${prefix}/share/doc/${name} xinstall -m 755 -d ${docdir} foreach dir "easy-rsa sample-config-files sample-scripts \ contrib sample-keys management" { file copy ${worksrcpath}/${dir} ${docdir} } foreach file "AUTHORS INSTALL NEWS PORTS README" { xinstall -m 644 -W ${worksrcpath} ${file} ${docdir} } xinstall -m 644 ${worksrcpath}/openvpn-plugin.h ${destroot}${prefix}/include } livecheck.url ${homepage}/download.html livecheck.regex openvpn-(\[0-9.\]*).tar.gz