# -*- 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                n2n
version             1.3.2
categories          net
maintainers         lavabit.com:msmk \
                    openmaintainer
description         a layer 2 p2p vpn
long_description    n2n is a layer-two peer-to-peer virtual private network \
                    (VPN) which allows users to exploit features typical of \
                    P2P applications at network instead of application level.
homepage            http://www.ntop.org/n2n/
platforms           darwin

fetch.type          svn
svn.url             https://svn.ntop.org/svn/ntop/trunk/n2n
svn.revision        3938

depends_run         port:tuntaposx

use_configure       no

worksrcdir          n2n
patchfiles          patch-Makefile.diff

build.args          CC="${configure.cc}" \
                    DEBUG="" \
                    OPTIONS="${configure.cflags}" \
                    PLATOPTS="${configure.cc_archflags}"
destroot.args       PREFIX="${prefix}"