Ticket #5952: openvpn2-2.0.5.diff
File openvpn2-2.0.5.diff, 1.2 KB (added by pierre@…, 19 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name openvpn2 5 version 2.0. 55 version 2.0.4 6 6 distname openvpn-${version} 7 7 categories net security 8 8 maintainers jordiyeh@gmail.com julien.touche@touche.fr.st … … 12 12 which can be used to securely link two or more \ 13 13 private networks using an encrypted tunnel over \ 14 14 the internet. 15 homepage http://www.openvpn.net 15 homepage http://www.openvpn.net/ 16 16 master_sites ${homepage}/release/ 17 17 platforms darwin 18 18 distname openvpn-${version} 19 checksums md5 4bd7a42991c93db23842a0992debe53b19 checksums md5 de32775b88e6bcd737ae93b9a365494c 20 20 21 21 depends_lib port:lzo \ 22 22 port:openssl … … 33 33 depends_lib-delete port:lzo 34 34 } 35 35 36 post-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 management" {41 file copy ${worksrcpath}/${dir} ${docdir}42 }43 foreach file "AUTHORS INSTALL NEWS PORTS README" {44 xinstall -m 644 -W ${worksrcpath} ${file} ${docdir}45 }46 }47 48 36 platform darwin 8 { 49 37 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 50 38 }