New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

root/trunk/dports/net/openvpn2/Portfile

Revision 84323, 1.5 KB (checked in by ryandesign@…, 5 months ago)

openvpn2: Fix build on Lion; see #30253

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