+ndndump, renaming PyCCN port to py-pyccn
diff --git a/net/ndndump/Portfile b/net/ndndump/Portfile
new file mode 100644
index 0000000..d4a0fb0
--- /dev/null
+++ b/net/ndndump/Portfile
@@ -0,0 +1,35 @@
+# -*- 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
+
+use_configure yes
+use_autoreconf yes
+name ndndump
+version 0.1
+revision 1
+description tcpdump for NDN
+long_description \
+ A simple tcpdump-like program that decodes and print out \
+ ccnb-formatted packets (see www.ccnx.org).
+maintainers ucla.edu:alexander.afanasyev
+categories net
+platforms darwin
+homepage https://github.com/cawka/ndndump
+
+fetch.type git
+git.url https://github.com/cawka/ndndump.git
+git.branch master
+
+depends_build \
+ port:autoconf \
+ port:libtool \
+ port:pkgconfig
+depends_lib-append \
+ port:openssl \
+ port:ccnx \
+ port:boost \
+ port:libpcap
+
+configure.args-append --with-ccnx=${prefix}
+configure.args-append --with-boost=${prefix}
diff --git a/net/py-ccn/Portfile b/net/py-pyccn/Portfile
similarity index 77%
rename from net/py-ccn/Portfile
rename to net/py-pyccn/Portfile
index c2d7ff7..15b88a2 100644
--- a/net/py-ccn/Portfile
+++ b/net/py-pyccn/Portfile
@@ -1,12 +1,12 @@
# -*- 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: Portfile 78158 2011-04-26 13:15:48Z jmr@macports.org $
+# $Id$
PortSystem 1.0
PortGroup python 1.0
use_configure yes
use_autoreconf yes
-name py-ccn
+name py-pyccn
version 0.2
python.versions 27
python.default_version 27
@@ -37,14 +37,14 @@
pre-configure {
file mkdir "${worksrcpath}/build-aux"
-}
-configure.args-append --with-ccn=${prefix}
-configure.env-append OPENSSL_INCLUDES=-I${prefix}/include
-configure.env-append OPENSSL_LDFLAGS=-L${prefix}/lib
-configure.env-append OPENSSL_LIBS="-lssl -lcrypto"
-configure.env-append PYTHON_SITE_PKG=${python.pkgd}
-configure.env-append PYTHON=${python.bin}
+ configure.args-append --with-ccn=${prefix}
+ configure.env-append OPENSSL_INCLUDES=-I${prefix}/include
+ configure.env-append OPENSSL_LDFLAGS=-L${prefix}/lib
+ configure.env-append OPENSSL_LIBS="-lssl -lcrypto"
+ configure.env-append PYTHON_SITE_PKG=${python.pkgd}
+ configure.env-append PYTHON=${python.bin}
+}
build.cmd make
build.target