source: trunk/dports/net/openvpn2/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name            openvpn2
6version         2.0.9
7revision        1
8distname        openvpn-${version}
9categories      net security
10platforms       darwin
11maintainers     gmail.com:jordiyeh pmq
12
13description     easy-to-use, robust, and highly configurable VPN
14long_description        OpenVPN is an easy-to-use, robust, and highly \
15                        configurable VPN (Virtual Private Network) daemon \
16                        which can be used to securely link two or more \
17                        private networks using an encrypted tunnel over \
18                        the internet.
19
20homepage        http://www.openvpn.net
21master_sites    ${homepage}/release/
22distname        openvpn-${version}
23checksums       sha1 6e900994bc9e4a14096173931c565ac27b0e7bb5 \
24                rmd160 e2b73071c8d6e9fba93afe46355a35882773d936
25
26depends_lib     port:lzo2 port:openssl
27
28configure.args  --mandir=${prefix}/share/man \
29                --with-lzo-headers=${prefix}/include \
30                --with-lzo-lib=${prefix}/lib \
31                --with-ssl-headers=${prefix}/include \
32                --with-ssl-lib=${prefix}/lib \
33                --program-suffix=2
34
35post-destroot {
36        set docdir ${destroot}/${prefix}/share/doc/${name}
37        xinstall -m 755 -d ${docdir}
38        foreach dir "easy-rsa sample-config-files sample-scripts \
39                contrib sample-keys management"  {
40                file copy ${worksrcpath}/${dir} ${docdir}
41        }
42        foreach file "AUTHORS INSTALL NEWS PORTS README" {
43                xinstall -m 644 -W ${worksrcpath} ${file} ${docdir}
44        }
45        xinstall -m 644 ${worksrcpath}/openvpn-plugin.h ${destroot}${prefix}/include
46}
47
48livecheck.url   ${homepage}/download.html
49livecheck.regex openvpn-(\[0-9.\]*).tar.gz
Note: See TracBrowser for help on using the repository browser.