| # -*- 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 |
| PortGroup github 1.0 |
| |
| github.setup named-data ndnx cdd3afd7a192b3d1fe8a223505f0c551869bb655 |
| checksums rmd160 4e8323ac71252a350999fa22956ec169e4b47401 \ |
| sha256 079aae0cccbc80ad7582d73eff419054803aac5b62f9d5d494164b19314f8366 |
| |
| name ndnx |
| homepage http://www.named-data.net |
| license GPL-2+ LGPL-2.1+ |
| version 0.2-git-cdd3a |
| revision 1 |
| |
| categories net |
| platforms darwin |
| maintainers ucla.edu:alexander.afanasyev |
| |
| description NDNx library and ndnd forwarding daemon |
| |
| long_description NDNx library and ndnd forwarding daemon |
| |
| depends_lib-append port:openssl \ |
| port:expat \ |
| port:libpcap \ |
| port:libxml2 \ |
| port:asciidoc |
| |
| default_variants +java +apps |
| |
| variant java description {Enable Java API build} { |
| configure.env-delete BUILD_JAVA=false |
| } |
| |
| variant apps requires java description {Enable build of reference applications} { |
| configure.env-delete BUILD_APPS=false |
| } |
| |
| configure.env-append OPENSSL_CFLAGS=-I${prefix}/include \ |
| OPENSSL_LIBS=-L${prefix}/lib \ |
| INSTALL_BASE=${prefix} \ |
| INSTALL_MAN=${prefix}/share/man \ |
| BUILD_JAVA=false \ |
| BUILD_APPS=false \ |
| |
| configure.cflags -O2 -std=gnu99 |
| |
| build.env-append OPENSSL_CFLAGS=-I${prefix}/include \ |
| OPENSSL_LIBS=-L${prefix}/lib \ |
| INSTALL_BASE=${prefix} \ |
| |
| |
| notes " |
| |
| You can add the following line into \"~/.ndnx/ndndrc\" in order to automatically |
| start ndnx repo for the /ndn/keys prefix: |
| |
| NDNR_GLOBAL_PREFIX=/ndn/keys |
| |
| For more information and documentation, refer to man pages and http://www.named-data.net website. |
| |
| Consider installing NDNx Control Center \(port install ndnx-control-center\) if you want the daemon |
| to automatically start and configure default route. |
| " |