aboutsummaryrefslogtreecommitdiff
path: root/sysutils/nut-devel
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-21 19:48:33 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-21 19:48:33 +0000
commit69ad700f1e2afd6380406f10462b4311ee87eee3 (patch)
treea6d6b77dfb85ff96df17f409db41f25e88ad59d9 /sysutils/nut-devel
parenta2d20dfc70d67949f9680d7793ab87346f797bcb (diff)
downloadports-69ad700f1e2afd6380406f10462b4311ee87eee3.tar.gz
ports-69ad700f1e2afd6380406f10462b4311ee87eee3.zip
Update textproc/asciidoc to 9.0.0rc2
Notes
Notes: svn path=/head/; revision=532404
Diffstat (limited to 'sysutils/nut-devel')
-rw-r--r--sysutils/nut-devel/files/patch-configure.ac11
-rw-r--r--sysutils/nut-devel/files/patch-docs_Makefile.am17
-rw-r--r--sysutils/nut-devel/files/patch-docs_man_Makefile.am11
3 files changed, 39 insertions, 0 deletions
diff --git a/sysutils/nut-devel/files/patch-configure.ac b/sysutils/nut-devel/files/patch-configure.ac
new file mode 100644
index 000000000000..185104be2596
--- /dev/null
+++ b/sysutils/nut-devel/files/patch-configure.ac
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2020-02-09 18:44:01 UTC
++++ configure.ac
+@@ -818,7 +818,7 @@ dnl not fail if we have no tools to generate it (so ad
+ AC_MSG_CHECKING([if we can build ${nut_doc_build_target_base}])
+ can_build_doc_man=no
+ if test "${nut_have_asciidoc}" = yes ; then
+- ( cd "$DOCTESTDIR" && ${A2X} --format manpage --destination-dir=. --xsltproc-opts "--nonet" "${abs_srcdir}"/docs/man/snmp-ups.txt && test -s snmp-ups.8 ) && can_build_doc_man=yes
++ ( cd "$DOCTESTDIR" && ${A2X} --format manpage --destination-dir=. --xsltproc-opts="--nonet" "${abs_srcdir}"/docs/man/snmp-ups.txt && test -s snmp-ups.8 ) && can_build_doc_man=yes
+ rm -f "${DOCTESTDIR}"/snmp-ups.8
+ fi
+ if test "${can_build_doc_man}" = yes ; then
diff --git a/sysutils/nut-devel/files/patch-docs_Makefile.am b/sysutils/nut-devel/files/patch-docs_Makefile.am
new file mode 100644
index 000000000000..c927aeb66568
--- /dev/null
+++ b/sysutils/nut-devel/files/patch-docs_Makefile.am
@@ -0,0 +1,17 @@
+--- docs/Makefile.am.orig 2020-02-09 18:44:01 UTC
++++ docs/Makefile.am
+@@ -102,10 +102,10 @@ solaris-usb.html solaris-usb.chunked solaris-usb.pdf:
+ # variable ASCIIDOC_VERBOSE to "-v", ie:
+ # $ ASCIIDOC_VERBOSE=-v make
+ A2X_COMMON_OPTS = $(ASCIIDOC_VERBOSE) --attribute icons \
+- --xsltproc-opts "--nonet" \
+- --xsltproc-opts "--stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d`\"" \
+- --xsltproc-opts "--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S`\"" \
+- --xsltproc-opts "--stringparam nut.nutversion \"@PACKAGE_VERSION@\"" \
++ --xsltproc-opts="--nonet" \
++ --xsltproc-opts="--stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d`\"" \
++ --xsltproc-opts="--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S`\"" \
++ --xsltproc-opts="--stringparam nut.nutversion \"@PACKAGE_VERSION@\"" \
+ --attribute iconsdir=$(srcdir)/images \
+ --attribute=badges \
+ --attribute=external_title \
diff --git a/sysutils/nut-devel/files/patch-docs_man_Makefile.am b/sysutils/nut-devel/files/patch-docs_man_Makefile.am
new file mode 100644
index 000000000000..dfc2b72acd60
--- /dev/null
+++ b/sysutils/nut-devel/files/patch-docs_man_Makefile.am
@@ -0,0 +1,11 @@
+--- docs/man/Makefile.am.orig 2020-02-09 18:44:01 UTC
++++ docs/man/Makefile.am
+@@ -745,7 +745,7 @@ if HAVE_ASCIIDOC
+ ### Prior to Asciidoc ~8.6.8, the --destination-dir flag didn't seem to affect the location of the intermediate .xml file.
+ ### This parameter is currently required; see docs/Makefile.am for more detail.
+ A2X_MANPAGE_OPTS = --doctype manpage --format manpage \
+- --xsltproc-opts "--nonet" \
++ --xsltproc-opts="--nonet" \
+ --attribute mansource="Network UPS Tools" \
+ --attribute manversion="@PACKAGE_VERSION@" \
+ --attribute manmanual="NUT Manual" \