blob: 6fb1d29f0210b6915ef7f2917afde7cd87136894 [file] [log] [blame]
Alexander Afanasyevede8c802013-08-14 01:34:48 -07001# -*- 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
2# $Id$
3
4PortSystem 1.0
5PortGroup github 1.0
6
Alexander Afanasyev903e85e2014-01-17 12:26:51 -08007github.setup named-data ndnx cdd3afd7a192b3d1fe8a223505f0c551869bb655
Alexander Afanasyev3a554352013-10-24 16:45:22 -07008checksums rmd160 2029a4e57625c372fac9ba50574c5d1fd72c709c \
9 sha256 351605a6b4e7a25ddce052f20e16fa9607ec8208d8af570cf8c7eab65f6bee04
Alexander Afanasyevede8c802013-08-14 01:34:48 -070010
11name ndnx
12homepage http://www.named-data.net
13license GPL-2+ LGPL-2.1+
Alexander Afanasyev903e85e2014-01-17 12:26:51 -080014version 0.2-git-cdd3a
15revision 1
Alexander Afanasyevede8c802013-08-14 01:34:48 -070016
17categories net
18platforms darwin
19maintainers ucla.edu:alexander.afanasyev
20
21description NDNx library and ndnd forwarding daemon
22
23long_description NDNx library and ndnd forwarding daemon
24
25depends_lib-append port:openssl \
26 port:expat \
27 port:libpcap \
28 port:libxml2 \
29 port:asciidoc
30
Alexander Afanasyevede8c802013-08-14 01:34:48 -070031default_variants +java +apps
32
33variant java description {Enable Java API build} {
34 configure.env-delete BUILD_JAVA=false
35}
36
37variant apps requires java description {Enable build of reference applications} {
38 configure.env-delete BUILD_APPS=false
39}
40
Alexander Afanasyevede8c802013-08-14 01:34:48 -070041configure.env-append OPENSSL_CFLAGS=-I${prefix}/include \
42 OPENSSL_LIBS=-L${prefix}/lib \
43 INSTALL_BASE=${prefix} \
44 INSTALL_MAN=${prefix}/share/man \
45 BUILD_JAVA=false \
46 BUILD_APPS=false \
47
48configure.cflags -DNDNX_DIR=\\\"${ndnxdir}\\\" \
49 -O2 -std=gnu99
50
51build.env-append OPENSSL_CFLAGS=-I${prefix}/include \
52 OPENSSL_LIBS=-L${prefix}/lib \
53 INSTALL_BASE=${prefix} \
54
55
Alexander Afanasyevede8c802013-08-14 01:34:48 -070056notes "
57
58You can add the following line into \"${ndnxdir}/ndndrc\" in order to automatically
59start ndnx repo for the /ndn/keys prefix:
60
61 NDNR_GLOBAL_PREFIX=/ndn/keys
62
Alexander Afanasyev903e85e2014-01-17 12:26:51 -080063For more information and documentation, refer to man pages and http://www.named-data.net website.
Alexander Afanasyevede8c802013-08-14 01:34:48 -070064
Alexander Afanasyev903e85e2014-01-17 12:26:51 -080065Consider installing NDNx Control Center \(port install ndnx-control-center\) if you want the daemon
66to automatically start and configure default route.
Alexander Afanasyevede8c802013-08-14 01:34:48 -070067"