mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 01:30:33 -04:00
Andriy Gapon and fix proposed by Hiroki Sato. Add xhtml2fo.xsl default XHTML1 -> FO style sheet from <http://www.antennahouse.com/XSLsample/XSLsample.htm> and install it into DATADIR; and add a pkg-message about its use. Submitted by: avg@ Obtained from: hrs@ PR: ports/183295
23 lines
814 B
Text
23 lines
814 B
Text
This patch serves two purposes:
|
|
|
|
#1 fix "noextensions" long option (accepted by upstream)
|
|
#2 avoid that w3m or others pollute $HOME/
|
|
|
|
--- ./xmlto.in.orig 2011-11-29 12:49:57.000000000 +0100
|
|
+++ ./xmlto.in 2013-10-07 23:52:57.000000000 +0200
|
|
@@ -262,7 +262,7 @@
|
|
|
|
# Process any options
|
|
ARGS=$(${GETOPT} \
|
|
- --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex \
|
|
+ --longoptions=help,version,extensions,noextensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex \
|
|
-n xmlto -- x:m:o:p:v "$@")
|
|
[ $? != 0 ] && { usage; exit 1; }
|
|
eval set -- "$ARGS"
|
|
@@ -611,4 +611,6 @@
|
|
# Extremely verbose
|
|
BASH="${BASH} -x"
|
|
fi
|
|
+make_temp -d temphome HOME || exit 1
|
|
+export HOME
|
|
${BASH} "$FORMAT" post-process || exit 1
|