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 | 3a55435 | 2013-10-24 16:45:22 -0700 | [diff] [blame] | 8 | checksums rmd160 2029a4e57625c372fac9ba50574c5d1fd72c709c \ |
| 9 | sha256 351605a6b4e7a25ddce052f20e16fa9607ec8208d8af570cf8c7eab65f6bee04 |
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 | |
| 48 | configure.cflags -DNDNX_DIR=\\\"${ndnxdir}\\\" \ |
| 49 | -O2 -std=gnu99 |
| 50 | |
| 51 | build.env-append OPENSSL_CFLAGS=-I${prefix}/include \ |
| 52 | OPENSSL_LIBS=-L${prefix}/lib \ |
| 53 | INSTALL_BASE=${prefix} \ |
| 54 | |
| 55 | |
Alexander Afanasyev | ede8c80 | 2013-08-14 01:34:48 -0700 | [diff] [blame] | 56 | notes " |
| 57 | |
| 58 | You can add the following line into \"${ndnxdir}/ndndrc\" in order to automatically |
| 59 | start ndnx repo for the /ndn/keys prefix: |
| 60 | |
| 61 | NDNR_GLOBAL_PREFIX=/ndn/keys |
| 62 | |
Alexander Afanasyev | 903e85e | 2014-01-17 12:26:51 -0800 | [diff] [blame^] | 63 | 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] | 64 | |
Alexander Afanasyev | 903e85e | 2014-01-17 12:26:51 -0800 | [diff] [blame^] | 65 | Consider installing NDNx Control Center \(port install ndnx-control-center\) if you want the daemon |
| 66 | to automatically start and configure default route. |
Alexander Afanasyev | ede8c80 | 2013-08-14 01:34:48 -0700 | [diff] [blame] | 67 | " |