ccnx: adding ability to disable autoconfiguration (e.g., if ccnx is a hub node)
diff --git a/net/ccnx/Portfile b/net/ccnx/Portfile
index b5b0509..9762460 100644
--- a/net/ccnx/Portfile
+++ b/net/ccnx/Portfile
@@ -110,6 +110,11 @@
 startupitem.stop        "su ${ccnxuser} -c \"${prefix}/bin/ccndstop\""
 startupitem.restart     "su ${ccnxuser} -c \"${prefix}/bin/ccndc -f ${prefix}/etc/ccnx/ccnd.conf\" && su ${ccnxuser} -c \"${prefix}/bin/ccnd-autoconfig\""
 
+variant no_autoconf {
+    startupitem.start       "su ${ccnxuser} -c \"${prefix}/bin/ccndstart\""
+    startupitem.restart     "su ${ccnxuser} -c \"${prefix}/bin/ccndc -f ${prefix}/etc/ccnx/ccnd.conf\""
+}
+
 startupitem.create      yes
 startupitem.name        ${name}