[67643] trunk/dports/net
jmr at macports.org
jmr at macports.org
Sat May 15 05:05:10 PDT 2010
Revision: 67643
http://trac.macports.org/changeset/67643
Author: jmr at macports.org
Date: 2010-05-15 05:05:04 -0700 (Sat, 15 May 2010)
Log Message:
-----------
New port: n2n, a simple layer 2 p2p vpn (#21827)
Added Paths:
-----------
trunk/dports/net/n2n/
trunk/dports/net/n2n/Portfile
trunk/dports/net/n2n/files/
trunk/dports/net/n2n/files/patch-Makefile.diff
Added: trunk/dports/net/n2n/Portfile
===================================================================
--- trunk/dports/net/n2n/Portfile (rev 0)
+++ trunk/dports/net/n2n/Portfile 2010-05-15 12:05:04 UTC (rev 67643)
@@ -0,0 +1,33 @@
+# -*- 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}"
Property changes on: trunk/dports/net/n2n/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/net/n2n/files/patch-Makefile.diff
===================================================================
--- trunk/dports/net/n2n/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/net/n2n/files/patch-Makefile.diff 2010-05-15 12:05:04 UTC (rev 67643)
@@ -0,0 +1,28 @@
+Index: Makefile
+===================================================================
+--- Makefile (revision 3938)
++++ Makefile (working copy)
+@@ -20,12 +20,11 @@
+ INSTALL_PROG=$(INSTALL) -m755
+ INSTALL_DOC=$(INSTALL) -m644
+
+-
+ # DESTDIR set in debian make system
+-PREFIX?=$(DESTDIR)/usr
+-BINDIR=$(PREFIX)/bin
+-SBINDIR=$(PREFIX)/sbin
+-MANDIR?=$(PREFIX)/share/man
++PREFIX?=/usr
++BINDIR=$(DESTDIR)$(PREFIX)/bin
++SBINDIR=$(DESTDIR)$(PREFIX)/sbin
++MANDIR?=$(DESTDIR)$(PREFIX)/share/man
+ MAN1DIR=$(MANDIR)/man1
+ MAN8DIR=$(MANDIR)/man8
+
+@@ -73,4 +72,4 @@
+ # Courtesy of Ole Tange <ole at tange.dk>
+
+ deb:
+- dpkg-buildpackage
+\ No newline at end of file
++ dpkg-buildpackage
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100515/1810c16e/attachment-0001.html>
More information about the macports-changes
mailing list