Alexander Afanasyev | ede8c80 | 2013-08-14 01:34:48 -0700 | [diff] [blame] | 1 | # -*- 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 | |
| 4 | PortSystem 1.0 |
| 5 | PortGroup github 1.0 |
| 6 | |
Alexander Afanasyev | 903e85e | 2014-01-17 12:26:51 -0800 | [diff] [blame] | 7 | github.setup named-data ndnx cdd3afd7a192b3d1fe8a223505f0c551869bb655 |
Alexander Afanasyev | 66227e5 | 2014-01-17 12:33:44 -0800 | [diff] [blame^] | 8 | checksums rmd160 4e8323ac71252a350999fa22956ec169e4b47401 \ |
| 9 | sha256 079aae0cccbc80ad7582d73eff419054803aac5b62f9d5d494164b19314f8366 |
Alexander Afanasyev | ede8c80 | 2013-08-14 01:34:48 -0700 | [diff] [blame] | 10 | |
| 11 | name ndnx |
| 12 | homepage http://www.named-data.net |
| 13 | license GPL-2+ LGPL-2.1+ |
Alexander Afanasyev | 903e85e | 2014-01-17 12:26:51 -0800 | [diff] [blame] | 14 | version 0.2-git-cdd3a |
| 15 | revision 1 |
Alexander Afanasyev | ede8c80 | 2013-08-14 01:34:48 -0700 | [diff] [blame] | 16 | |
| 17 | categories net |
| 18 | platforms darwin |
| 19 | maintainers ucla.edu:alexander.afanasyev |
| 20 | |
| 21 | description NDNx library and ndnd forwarding daemon |
| 22 | |
| 23 | long_description NDNx library and ndnd forwarding daemon |
| 24 | |
| 25 | depends_lib-append port:openssl \ |
| 26 | port:expat \ |
| 27 | port:libpcap \ |
| 28 | port:libxml2 \ |
| 29 | port:asciidoc |
| 30 | |
Alexander Afanasyev | ede8c80 | 2013-08-14 01:34:48 -0700 | [diff] [blame] | 31 | default_variants +java +apps |
| 32 | |
| 33 | variant java description {Enable Java API build} { |
| 34 | configure.env-delete BUILD_JAVA=false |
| 35 | } |
| 36 | |
| 37 | variant apps requires java description {Enable build of reference applications} { |
| 38 | configure.env-delete BUILD_APPS=false |
| 39 | } |
| 40 | |
Alexander Afanasyev | ede8c80 | 2013-08-14 01:34:48 -0700 | [diff] [blame] | 41 | configure.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 | |
Alexander Afanasyev | 66227e5 | 2014-01-17 12:33:44 -0800 | [diff] [blame^] | 48 | configure.cflags -O2 -std=gnu99 |
Alexander Afanasyev | ede8c80 | 2013-08-14 01:34:48 -0700 | [diff] [blame] | 49 | |
| 50 | build.env-append OPENSSL_CFLAGS=-I${prefix}/include \ |
| 51 | OPENSSL_LIBS=-L${prefix}/lib \ |
| 52 | INSTALL_BASE=${prefix} \ |
| 53 | |
| 54 | |
Alexander Afanasyev | ede8c80 | 2013-08-14 01:34:48 -0700 | [diff] [blame] | 55 | notes " |
| 56 | |
Alexander Afanasyev | 66227e5 | 2014-01-17 12:33:44 -0800 | [diff] [blame^] | 57 | You can add the following line into \"~/.ndnx/ndndrc\" in order to automatically |
Alexander Afanasyev | ede8c80 | 2013-08-14 01:34:48 -0700 | [diff] [blame] | 58 | start ndnx repo for the /ndn/keys prefix: |
| 59 | |
| 60 | NDNR_GLOBAL_PREFIX=/ndn/keys |
| 61 | |
Alexander Afanasyev | 903e85e | 2014-01-17 12:26:51 -0800 | [diff] [blame] | 62 | For more information and documentation, refer to man pages and http://www.named-data.net website. |
Alexander Afanasyev | ede8c80 | 2013-08-14 01:34:48 -0700 | [diff] [blame] | 63 | |
Alexander Afanasyev | 903e85e | 2014-01-17 12:26:51 -0800 | [diff] [blame] | 64 | Consider installing NDNx Control Center \(port install ndnx-control-center\) if you want the daemon |
| 65 | to automatically start and configure default route. |
Alexander Afanasyev | ede8c80 | 2013-08-14 01:34:48 -0700 | [diff] [blame] | 66 | " |