# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name vde2 version 2.3.1 revision 2 categories net platforms darwin maintainers nomaintainer license GPL-2 LGPL-2.1 BSD-old description ethernet compliant virtual network long_description VDE is an ethernet compliant virtual network that can be \ spawned over a set of physical computer over the Internet. homepage http://vde.sourceforge.net/ master_sites sourceforge:vde use_bzip2 yes checksums sha1 10e199a2dbc3d207ee29269e34f05cc5140878d9 \ rmd160 a1d0055422f34871ad3762b6093b1d39d9657184 depends_lib path:lib/libssl.dylib:openssl patchfiles patch-configure.ac.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/configure.ac } use_autoreconf yes configure.args --disable-kernel-switch \ --disable-experimental \ --disable-tuntap \ --disable-pcap \ --enable-cryptcab post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} \ COPYING \ COPYING.libvdeplug \ COPYING.slirpvde \ Changelog \ README \ doc/README.UML \ doc/README.VirtualBox \ doc/README.bochs \ doc/README.qemu \ doc/README.slirpvde \ doc/README.vde_over_ns \ doc/freebsd_tap-HOWTO \ doc/vde_autolink-HOWTO \ doc/vdeqemu-HOWTO \ ${docdir} } variant tuntap description {Enable support for TAP devices} { depends_lib-append port:tuntaposx configure.args-replace "s|--disable-tuntap|--enable-tuntap|" } variant pcap description {Enable support for packet capturing} { depends_lib-append port:libpcap configure.args-replace "s|--disable-pcap|--enable-pcap|" } variant experimental description {Enable support for experimental features} { configure.args-replace "s|--disable-experimental|--enable-experimental|" } livecheck.type sourceforge livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)${extract.suffix}"