diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-10-07 16:33:04 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-10-07 16:33:04 +0000 |
commit | b054015461968443cd97fe23ac07a7c3853bf6b9 (patch) | |
tree | e0f995e2205d5710eade5728be2891378a366c6a /textproc/docbook-to-man/files | |
parent | Add p5-Crypt-PassGen, a perl module to generate random passwords that (diff) |
New port docbook-to-man version 1.0: A DocBook SGML DTD into
nroff/troff -man macros converter
PR: 31060
Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
Diffstat (limited to 'textproc/docbook-to-man/files')
4 files changed, 106 insertions, 0 deletions
diff --git a/textproc/docbook-to-man/files/patch-Instant::Imakefile b/textproc/docbook-to-man/files/patch-Instant::Imakefile new file mode 100644 index 000000000000..91ea4acd7823 --- /dev/null +++ b/textproc/docbook-to-man/files/patch-Instant::Imakefile @@ -0,0 +1,29 @@ +--- Instant/Imakefile.orig Mon Jun 17 05:50:29 1996 ++++ Instant/Imakefile Fri Oct 5 18:18:22 2001 +@@ -1,14 +1,18 @@ + #define IHaveSubdirs + #define PassCDebugFlags ++#undef BuildInstallHtmlManPage ++#define BuildInstallHtmlManPage(x,y,z) /**/ + + SUBDIRS = tptregexp + +-ROOT = /usr/local ++PREFIX ?= /usr/local ++ROOT = ${PREFIX} ++MANPATH = ${ROOT}/man + BINDIR = $(ROOT)/bin + + INCLUDES = -Itptregexp + LOCAL_LIBRARIES = -Ltptregexp -ltptregexp +-TPTLIB = $(ROOT)/lib/tpt ++TPTLIB = $(ROOT)/share/sgml/otranspec + DEFINES = -DDEF_TPT_LIB=\"$(TPTLIB)\" + + SRCS = main.c util.c info.c translate.c traninit.c tranvar.c tables.c \ +@@ -19,4 +23,4 @@ + MakeSubdirs($(SUBDIRS)) + DependSubdirs($(SUBDIRS)) + +-ComplexProgramTarget(instant) ++ComplexProgramTarget(oinstant) diff --git a/textproc/docbook-to-man/files/patch-Transpec::Imakefile b/textproc/docbook-to-man/files/patch-Transpec::Imakefile new file mode 100644 index 000000000000..0944099cd2bd --- /dev/null +++ b/textproc/docbook-to-man/files/patch-Transpec::Imakefile @@ -0,0 +1,11 @@ +--- Transpec/Imakefile.orig Mon Jun 17 05:50:28 1996 ++++ Transpec/Imakefile Fri Oct 5 18:20:17 2001 +@@ -1,5 +1,6 @@ +-ROOT = /usr/local +-TPTLIB = $(ROOT)/lib/tpt ++PREFIX ?= /usr/local ++ROOT = ${PREFIX} ++TPTLIB = $(ROOT)/share/sgml/otranspec + + all:: + diff --git a/textproc/docbook-to-man/files/patch-cmd::Imakefile b/textproc/docbook-to-man/files/patch-cmd::Imakefile new file mode 100644 index 000000000000..7104dc40892d --- /dev/null +++ b/textproc/docbook-to-man/files/patch-cmd::Imakefile @@ -0,0 +1,9 @@ +--- cmd/Imakefile.orig Mon Jun 17 05:50:30 1996 ++++ cmd/Imakefile Fri Oct 5 18:18:22 2001 +@@ -1,4 +1,5 @@ +-ROOT = /usr/local ++PREFIX ?= /usr/local ++ROOT = ${PREFIX} + BINDIR = $(ROOT)/bin + + all:: diff --git a/textproc/docbook-to-man/files/patch-cmd::docbook-to-man.sh b/textproc/docbook-to-man/files/patch-cmd::docbook-to-man.sh new file mode 100644 index 000000000000..462f0707d5b7 --- /dev/null +++ b/textproc/docbook-to-man/files/patch-cmd::docbook-to-man.sh @@ -0,0 +1,57 @@ +--- cmd/docbook-to-man.sh.orig Mon Jun 17 05:50:30 1996 ++++ cmd/docbook-to-man.sh Fri Oct 5 18:18:22 2001 +@@ -40,9 +40,9 @@ + # ***** change the following paths if your installation of nsgmls and / or + # ***** DocBook isn't into the default places. + +-ROOT=/usr/local +-SGMLS=$ROOT/lib/sgml +-DOCBOOK=$SGMLS/Davenport/dtd ++ROOT=%%PREFIX%% ++SGMLS=$ROOT/share/sgml ++DOCBOOK=$SGMLS/docbook + + + # ***** modify the following line (to "=false") if you're not using the +@@ -51,19 +51,16 @@ + doElanPSInclude=true + + +- + # Everything below this line should be pretty standard and not require + # modification. + + #ulimit -c unlimited + + PARSER=nsgmls +-INSTANT=instant ++INSTANT=oinstant + INSTANT_OPT=-d + +-CATALOG=$DOCBOOK/docbook.cat +-DECL=$DOCBOOK/docbook.dcl +-#PROLOG=$DOCBOOK/docbook.prolog ++CATALOG=$DOCBOOK/catalog + + error=false + +@@ -159,17 +156,8 @@ + .ds f4\" + ! + +- +-#if [ ! -f $PROLOG ] +-#then cat > $PROLOG <<! +-#<!DOCTYPE RefEntry PUBLIC "-//Davenport//DTD DocBook V2.4.1//EN" [ +-#<!ENTITY npzwc ""> +-#]> +-#! +-#fi +- + (cat /tmp/dtm.$$.psinc; +- $PARSER -gl -m$CATALOG $DECL $INSTANCE | ++ $PARSER -gl -c $CATALOG $INSTANCE | + $INSTANT $INSTANT_OPT -croff.cmap -sroff.sdata -tdocbook-to-man.ts) + +-rm -f /tmp/dtm.$$.psinc ++rm -f /tmp/dtm.$$.psinc |