pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
create and enable doc option to get man pages and other documentation.
Module Name: pkgsrc-wip
Committed By: Frank Kardel <kardel%NetBSD.org@localhost>
Pushed By: kardel
Date: Mon Oct 12 14:52:41 2020 +0200
Changeset: c634800bc819683a63f6d9e85d2181819e843686
Modified Files:
frr/Makefile
frr/PLIST
Added Files:
frr/options.mk
Log Message:
create and enable doc option to get man pages and other documentation.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c634800bc819683a63f6d9e85d2181819e843686
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
frr/Makefile | 3 ++
frr/PLIST | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
frr/options.mk | 25 ++++++++++++
3 files changed, 150 insertions(+)
diffs:
diff --git a/frr/Makefile b/frr/Makefile
index d01a00e8fe..d5300c721b 100644
--- a/frr/Makefile
+++ b/frr/Makefile
@@ -22,6 +22,9 @@ GNU_CONFIGURE= yes
PKG_SYSCONFSUBDIR= frr
BUILD_DEFS= VARBASE
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
FRR_GROUP?= _frr
FRR_VTY_GROUP?= frrvty
diff --git a/frr/PLIST b/frr/PLIST
index f4dd2535ba..5ff8e3bec8 100644
--- a/frr/PLIST
+++ b/frr/PLIST
@@ -122,9 +122,27 @@ include/frr/zclient.h
include/frr/zebra.h
include/frr/zlog.h
include/frr/zlog_targets.h
+${PLIST.doc}info/frr.info
lib/frr/modules/zebra_fpm.la
lib/libfrr.la
lib/libfrrospfapiclient.la
+${PLIST.doc}man/man1/frr.1
+${PLIST.doc}man/man1/vtysh.1
+${PLIST.doc}man/man8/frr-bfdd.8
+${PLIST.doc}man/man8/frr-bgpd.8
+${PLIST.doc}man/man8/frr-eigrpd.8
+${PLIST.doc}man/man8/frr-isisd.8
+${PLIST.doc}man/man8/frr-ldpd.8
+${PLIST.doc}man/man8/frr-ospf6d.8
+${PLIST.doc}man/man8/frr-ospfd.8
+${PLIST.doc}man/man8/frr-pbrd.8
+${PLIST.doc}man/man8/frr-pimd.8
+${PLIST.doc}man/man8/frr-ripd.8
+${PLIST.doc}man/man8/frr-ripngd.8
+${PLIST.doc}man/man8/frr-staticd.8
+${PLIST.doc}man/man8/frr-watchfrr.8
+${PLIST.doc}man/man8/frr-zebra.8
+${PLIST.doc}man/man8/mtracebis.8
sbin/babeld
sbin/bfdd
sbin/bgpd
@@ -149,6 +167,110 @@ sbin/staticd
sbin/watchfrr
sbin/watchfrr.sh
sbin/zebra
+${PLIST.doc}share/doc/frr/html/.buildinfo
+${PLIST.doc}share/doc/frr/html/_images/fig-normal-processing.png
+${PLIST.doc}share/doc/frr/html/_images/fig-rs-processing.png
+${PLIST.doc}share/doc/frr/html/_images/fig-vnc-commercial-route-reflector.png
+${PLIST.doc}share/doc/frr/html/_images/fig-vnc-frr-route-reflector.png
+${PLIST.doc}share/doc/frr/html/_images/fig-vnc-gw.png
+${PLIST.doc}share/doc/frr/html/_images/fig-vnc-mesh.png
+${PLIST.doc}share/doc/frr/html/_images/fig-vnc-redundant-route-reflectors.png
+${PLIST.doc}share/doc/frr/html/_images/fig_topologies_full.png
+${PLIST.doc}share/doc/frr/html/_images/fig_topologies_rs.png
+${PLIST.doc}share/doc/frr/html/_sources/babeld.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/basic.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/bfd.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/bgp.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/bmp.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/bugs.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/eigrpd.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/fabricd.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/filter.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/glossary.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/index.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/installation.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/ipv6.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/isisd.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/kernel.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/ldpd.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/nhrpd.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/ospf6d.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/ospfd.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/overview.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/packet-dumps.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/pbr.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/pim.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/ripd.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/ripngd.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/routemap.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/setup.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/sharp.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/snmp.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/static.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/vnc.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/vrrp.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/vtysh.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/watchfrr.rst.txt
+${PLIST.doc}share/doc/frr/html/_sources/zebra.rst.txt
+${PLIST.doc}share/doc/frr/html/_static/basic.css
+${PLIST.doc}share/doc/frr/html/_static/classic.css
+${PLIST.doc}share/doc/frr/html/_static/default.css
+${PLIST.doc}share/doc/frr/html/_static/doctools.js
+${PLIST.doc}share/doc/frr/html/_static/documentation_options.js
+${PLIST.doc}share/doc/frr/html/_static/file.png
+${PLIST.doc}share/doc/frr/html/_static/frr-icon.svg
+${PLIST.doc}share/doc/frr/html/_static/frr-logo-icon.png
+${PLIST.doc}share/doc/frr/html/_static/jquery-3.4.1.js
+${PLIST.doc}share/doc/frr/html/_static/jquery.js
+${PLIST.doc}share/doc/frr/html/_static/language_data.js
+${PLIST.doc}share/doc/frr/html/_static/minus.png
+${PLIST.doc}share/doc/frr/html/_static/overrides.css
+${PLIST.doc}share/doc/frr/html/_static/overrides.js
+${PLIST.doc}share/doc/frr/html/_static/plus.png
+${PLIST.doc}share/doc/frr/html/_static/pygments.css
+${PLIST.doc}share/doc/frr/html/_static/searchtools.js
+${PLIST.doc}share/doc/frr/html/_static/sidebar.js
+${PLIST.doc}share/doc/frr/html/_static/underscore-1.3.1.js
+${PLIST.doc}share/doc/frr/html/_static/underscore.js
+${PLIST.doc}share/doc/frr/html/babeld.html
+${PLIST.doc}share/doc/frr/html/basic.html
+${PLIST.doc}share/doc/frr/html/bfd.html
+${PLIST.doc}share/doc/frr/html/bgp.html
+${PLIST.doc}share/doc/frr/html/bmp.html
+${PLIST.doc}share/doc/frr/html/bugs.html
+${PLIST.doc}share/doc/frr/html/eigrpd.html
+${PLIST.doc}share/doc/frr/html/fabricd.html
+${PLIST.doc}share/doc/frr/html/filter.html
+${PLIST.doc}share/doc/frr/html/genindex.html
+${PLIST.doc}share/doc/frr/html/glossary.html
+${PLIST.doc}share/doc/frr/html/index.html
+${PLIST.doc}share/doc/frr/html/installation.html
+${PLIST.doc}share/doc/frr/html/ipv6.html
+${PLIST.doc}share/doc/frr/html/isisd.html
+${PLIST.doc}share/doc/frr/html/kernel.html
+${PLIST.doc}share/doc/frr/html/ldpd.html
+${PLIST.doc}share/doc/frr/html/nhrpd.html
+${PLIST.doc}share/doc/frr/html/objects.inv
+${PLIST.doc}share/doc/frr/html/ospf6d.html
+${PLIST.doc}share/doc/frr/html/ospfd.html
+${PLIST.doc}share/doc/frr/html/overview.html
+${PLIST.doc}share/doc/frr/html/packet-dumps.html
+${PLIST.doc}share/doc/frr/html/pbr.html
+${PLIST.doc}share/doc/frr/html/pim.html
+${PLIST.doc}share/doc/frr/html/ripd.html
+${PLIST.doc}share/doc/frr/html/ripngd.html
+${PLIST.doc}share/doc/frr/html/routemap.html
+${PLIST.doc}share/doc/frr/html/search.html
+${PLIST.doc}share/doc/frr/html/searchindex.js
+${PLIST.doc}share/doc/frr/html/setup.html
+${PLIST.doc}share/doc/frr/html/sharp.html
+${PLIST.doc}share/doc/frr/html/snmp.html
+${PLIST.doc}share/doc/frr/html/static.html
+${PLIST.doc}share/doc/frr/html/vnc.html
+${PLIST.doc}share/doc/frr/html/vrrp.html
+${PLIST.doc}share/doc/frr/html/vtysh.html
+${PLIST.doc}share/doc/frr/html/watchfrr.html
+${PLIST.doc}share/doc/frr/html/zebra.html
share/examples/frr/configsamples/babeld.conf.sample
share/examples/frr/configsamples/bfdd.conf.sample
share/examples/frr/configsamples/bgpd.conf.sample
diff --git a/frr/options.mk b/frr/options.mk
new file mode 100644
index 0000000000..4939c96d38
--- /dev/null
+++ b/frr/options.mk
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.frr
+PKG_SUPPORTED_OPTIONS= doc
+PKG_SUGGESTED_OPTIONS= doc
+
+PLIST_VARS+= doc
+
+.include "../../mk/bsd.options.mk"
+
+# Package-specific option-handling
+
+###
+### doc/man support
+###
+.if !empty(PKG_OPTIONS:Mdoc)
+USE_TOOLS+= makeinfo
+CONFIGURE_ARGS+= --enable-doc-html
+CONFIGURE_ARGS+= --infodir=${PREFIX}/info
+DEPENDS+= ${PYPKGPREFIX}-sphinx>=2.4.4:../../textproc/py-sphinx
+PLIST.doc= yes
+INFO_FILES= yes
+.else
+CONFIGURE_ARGS+= --disable-doc
+.endif
Home |
Main Index |
Thread Index |
Old Index