[86434] trunk/dports/net/openvpn/Portfile

jmr at macports.org jmr at macports.org
Tue Oct 25 11:55:10 PDT 2011


Revision: 86434
          http://trac.macports.org/changeset/86434
Author:   jmr at macports.org
Date:     2011-10-25 11:55:10 -0700 (Tue, 25 Oct 2011)
Log Message:
-----------
openvpn: install easy-rsa scripts (#27683), add missing openssl dependency

Modified Paths:
--------------
    trunk/dports/net/openvpn/Portfile

Modified: trunk/dports/net/openvpn/Portfile
===================================================================
--- trunk/dports/net/openvpn/Portfile	2011-10-25 18:37:06 UTC (rev 86433)
+++ trunk/dports/net/openvpn/Portfile	2011-10-25 18:55:10 UTC (rev 86434)
@@ -3,6 +3,7 @@
 PortSystem 1.0
 name              openvpn
 version           1.6.0
+revision          1
 categories        net security
 maintainers       touche.fr.st:julien.touche
 description       easy-to-use, robust, and highly configurable VPN
@@ -14,13 +15,18 @@
 homepage          http://openvpn.sourceforge.net/
 master_sites      sourceforge
 platforms         darwin openbsd
-depends_lib       lib:liblzo:lzo
+depends_lib       port:lzo port:openssl
 checksums         md5 9eab3719b280a12d19ef1fda286cc363
 configure.args	  --mandir=${prefix}/share/man \
 		  --with-lzo-headers=${prefix}/include \
 		  --with-lzo-lib=${prefix}/lib
 
+post-destroot {
+    xinstall -d ${destroot}${prefix}/share/${name}
+    copy ${worksrcpath}/easy-rsa ${destroot}${prefix}/share/${name}
+}
+
 variant no_lzo {
 	configure.args-append --disable-lzo
-	depends_lib-delete lib:liblzo:lzo
+	depends_lib-delete port:lzo
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111025/3f1adf38/attachment.html>


More information about the macports-changes mailing list