This commit is contained in:
espie 2000-06-10 00:35:20 +00:00
parent 6e7cc6bf00
commit 8bd0105071
9 changed files with 49 additions and 27 deletions

View File

@ -4,13 +4,12 @@
# Whom: jfieber
#
# $FreeBSD: Makefile,v 1.4 1998/01/17 17:25:46 jfieber Exp $
# $OpenBSD: Makefile,v 1.7 2000/04/09 17:38:29 espie Exp $
# $OpenBSD: Makefile,v 1.8 2000/06/10 00:35:20 espie Exp $
#
DISTNAME= linuxdoc-1.1
CATEGORIES= textproc
NEED_VERSION= 1.230
FAKE=No
MASTER_SITES= ftp://fallout.campusview.indiana.edu/pub/sgml/
MAINTAINER= matthieu@laas.fr

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.5 2000/04/09 17:38:30 espie Exp $
# $OpenBSD: Makefile,v 1.6 2000/06/10 00:35:52 espie Exp $
DISTNAME= mgdiff
PKGNAME= mgdiff-1.0
CATEGORIES= textproc
FAKE=No
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications
@ -14,8 +13,8 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_MOTIF= yes
USE_IMAKE= yes
USE_MOTIF= Yes
USE_IMAKE= Yes
post-install:
@mkdir -p ${PREFIX}/lib/X11/mgdiff

View File

@ -4,13 +4,12 @@
# Whom: jfieber
#
# $FreeBSD: Makefile,v 1.9 1998/02/21 21:59:37 jfieber Exp $
# $OpenBSD: Makefile,v 1.6 2000/04/09 17:38:32 espie Exp $
# $OpenBSD: Makefile,v 1.7 2000/06/10 00:35:21 espie Exp $
#
DISTNAME= sgmlformat-1.6
CATEGORIES= textproc print
NEED_VERSION= 1.230
FAKE=No
MASTER_SITES= ftp://fallout.campusview.indiana.edu/pub/sgml/
MAINTAINER= matthieu@laas.fr
@ -24,4 +23,6 @@ PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= nsgmls::textproc/jade
RUN_DEPENDS+= ${PREFIX}/share/sgml/linuxdoc::textproc/linuxdoc
FAKE_FLAGS=PREFIX=${PREFIX}
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
--- transpec/html.sdata.orig Wed Jul 16 18:19:53 1997
+++ transpec/html.sdata Thu Apr 2 23:19:26 1998
@@ -80,13 +80,14 @@
+++ transpec/html.sdata Sat Jun 10 02:22:36 2000
@@ -80,13 +80,14 @@ Enhancement by John R Fieber, 1996
<map from="[darr ]" to="&#38;darr;">
<map from="[copy ]" to="&#38;copy;">
<map from="[reg ]" to="&#38;reg;">

View File

@ -1,5 +1,5 @@
--- transpec/linuxdoc-roff.ts.orig Sat Jan 17 17:32:58 1998
+++ transpec/linuxdoc-roff.ts Thu Apr 2 23:20:48 1998
+++ transpec/linuxdoc-roff.ts Sat Jun 10 02:22:37 2000
@@ -98,7 +98,7 @@
. SA 0
. ftr C R
@ -9,7 +9,7 @@
.nr N 1 <!-- header at the bottom of the first page -->
.nr Pgps 0 <!-- header/footer size immune from .S -->
.nr Hy 1 <!-- hypenation on -->
@@ -603,11 +603,7 @@
@@ -603,11 +603,7 @@ ${ID}
<gi>URL
<attval>NAME .
<action>

View File

@ -1,6 +1,6 @@
--- transpec/roff.sdata.orig Thu Sep 25 19:16:26 1997
+++ transpec/roff.sdata Thu Apr 2 23:21:10 1998
@@ -92,6 +92,7 @@
+++ transpec/roff.sdata Sat Jun 10 02:22:37 2000
@@ -92,6 +92,7 @@ ISO SDATA entity translations for groff.
<map from="[excl ]" to="\N'33'">
<map from="[iexcl ]" to="\(r!">
<map from="[quot ]" to="\N'39'">

View File

@ -1,6 +1,5 @@
diff -u -r /tmp/sgmlformat-1.6/sgmlfmt/Makefile ./sgmlfmt/Makefile
--- /tmp/sgmlformat-1.6/sgmlfmt/Makefile Tue Jul 22 15:40:33 1997
+++ ./sgmlfmt/Makefile Sun Apr 5 10:39:14 1998
--- sgmlfmt/Makefile.orig Tue Jul 22 15:40:33 1997
+++ sgmlfmt/Makefile Sat Jun 10 02:31:14 2000
@@ -2,7 +2,7 @@
FILES= sgmlfmt
@ -10,3 +9,11 @@ diff -u -r /tmp/sgmlformat-1.6/sgmlfmt/Makefile ./sgmlfmt/Makefile
all: sgmlfmt
@@ -11,6 +11,6 @@ sgmlfmt: sgmlfmt.pl
afterinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${FILES} \
- ${BINDIR}
+ $(DESTDIR)${BINDIR}
.include <bsd.prog.mk>

View File

@ -1,5 +1,5 @@
--- sgmlfmt/sgmlfmt.pl.orig Sat Feb 21 22:48:24 1998
+++ sgmlfmt/sgmlfmt.pl Mon Apr 13 11:58:14 1998
+++ sgmlfmt/sgmlfmt.pl Sat Jun 10 02:22:37 2000
@@ -26,6 +26,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
@ -8,7 +8,7 @@
# Format an sgml document tagged according to the linuxdoc DTD.
# by John Fieber <jfieber@freebsd.org> for the FreeBSD documentation
@@ -68,13 +69,25 @@
@@ -68,13 +69,25 @@ $SIG{'INT'} = 'sighandler';
$SIG{'QUIT'} = 'sighandler';
#
@ -35,7 +35,7 @@
print "where <doctype> is one of: linuxdoc (default), docbook.\n";
print "and <format> is one of: ascii, html, koi8-r, latin1, ps, roff\n";
}
@@ -119,6 +132,7 @@
@@ -119,6 +132,7 @@ sub sgmlparse {
if ($defines ne "") {
$defines = "-i $defines";
}
@ -43,7 +43,7 @@
open($ifhandle, "$sgmls $defines $decl $file | " .
"sed -e 's/^f\<OSFILE\>/f/' | " .
"$instant -Dfilename=$fileroot $instantopts " .
@@ -138,6 +152,7 @@
@@ -138,6 +152,7 @@ sub gen_roff {
}
close(infile);
close(outfile);
@ -51,7 +51,7 @@
}
#
@@ -155,16 +170,22 @@
@@ -155,16 +170,22 @@ sub do_groff {
}
close(infile);
close(outfile);
@ -76,7 +76,7 @@
}
#
@@ -303,6 +324,8 @@
@@ -303,6 +324,8 @@ sub gen_html {
}
}
close(bar);
@ -85,7 +85,7 @@
open(foofile, $tmpfile);
&html2html(foofile, "boo");
@@ -623,6 +646,7 @@
@@ -623,6 +646,7 @@ sub docbook_html {
}
close(infile);
close(outfile);
@ -93,7 +93,7 @@
}
# extlink
@@ -655,7 +679,8 @@
@@ -655,7 +679,8 @@ sub extlink {
sub main {
# Check arguments
@ -103,7 +103,7 @@
&usage;
exit 1;
}
@@ -681,6 +706,12 @@
@@ -681,6 +706,12 @@ sub main {
$decl = "-c " . $sgmldir . "/linuxdoc/catalog";
}
@ -116,7 +116,7 @@
# Generate the output
if ($opt_f eq 'html') {
# Set the character encoding
@@ -705,13 +736,13 @@
@@ -705,13 +736,13 @@ sub main {
&gen_roff();
}
elsif ($opt_f eq 'ascii') {

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-transpec_Makefile,v 1.1 2000/06/10 00:35:21 espie Exp $
--- transpec/Makefile.orig Sat Jun 10 02:27:39 2000
+++ transpec/Makefile Sat Jun 10 02:27:51 2000
@@ -10,10 +10,10 @@ NOOBJ= noobj
all clean cleandir depend lint tags:
beforeinstall:
- @mkdir -p ${TRANSPEC_DIR}
+ @mkdir -p ${DESTDIR}${TRANSPEC_DIR}
afterinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} \
- ${TRANSPEC_DIR}
+ ${DESTDIR}${TRANSPEC_DIR}
.include <bsd.prog.mk>