From 8bd0105071af8b28e3b58a0979b6f0db1d6e5922 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 10 Jun 2000 00:35:20 +0000 Subject: [PATCH] Fake --- textproc/linuxdoc/Makefile | 3 +-- textproc/mgdiff/Makefile | 7 +++---- textproc/sgmlformat/Makefile | 5 +++-- textproc/sgmlformat/patches/patch-aa | 4 ++-- textproc/sgmlformat/patches/patch-ab | 4 ++-- textproc/sgmlformat/patches/patch-ac | 4 ++-- textproc/sgmlformat/patches/patch-af | 13 +++++++++--- textproc/sgmlformat/patches/patch-ag | 20 +++++++++---------- .../patches/patch-transpec_Makefile | 16 +++++++++++++++ 9 files changed, 49 insertions(+), 27 deletions(-) create mode 100644 textproc/sgmlformat/patches/patch-transpec_Makefile diff --git a/textproc/linuxdoc/Makefile b/textproc/linuxdoc/Makefile index 30410fce004..f5a01f0ec16 100644 --- a/textproc/linuxdoc/Makefile +++ b/textproc/linuxdoc/Makefile @@ -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 diff --git a/textproc/mgdiff/Makefile b/textproc/mgdiff/Makefile index 182ac45d395..5909d5d5d4a 100644 --- a/textproc/mgdiff/Makefile +++ b/textproc/mgdiff/Makefile @@ -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 diff --git a/textproc/sgmlformat/Makefile b/textproc/sgmlformat/Makefile index 1401cb4c03e..c67e70a3ca1 100644 --- a/textproc/sgmlformat/Makefile +++ b/textproc/sgmlformat/Makefile @@ -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 diff --git a/textproc/sgmlformat/patches/patch-aa b/textproc/sgmlformat/patches/patch-aa index 08fd46493d5..8815c950462 100644 --- a/textproc/sgmlformat/patches/patch-aa +++ b/textproc/sgmlformat/patches/patch-aa @@ -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 diff --git a/textproc/sgmlformat/patches/patch-ab b/textproc/sgmlformat/patches/patch-ab index 86ef600c2e2..5c470e2541b 100644 --- a/textproc/sgmlformat/patches/patch-ab +++ b/textproc/sgmlformat/patches/patch-ab @@ -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 .nr Pgps 0 .nr Hy 1 -@@ -603,11 +603,7 @@ +@@ -603,11 +603,7 @@ ${ID} URL NAME . diff --git a/textproc/sgmlformat/patches/patch-ac b/textproc/sgmlformat/patches/patch-ac index 3d80972a12d..f1ae5dfec0d 100644 --- a/textproc/sgmlformat/patches/patch-ac +++ b/textproc/sgmlformat/patches/patch-ac @@ -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. diff --git a/textproc/sgmlformat/patches/patch-af b/textproc/sgmlformat/patches/patch-af index b9e425732fd..890b474435c 100644 --- a/textproc/sgmlformat/patches/patch-af +++ b/textproc/sgmlformat/patches/patch-af @@ -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 diff --git a/textproc/sgmlformat/patches/patch-ag b/textproc/sgmlformat/patches/patch-ag index 6a613ba002f..f9a6e717bca 100644 --- a/textproc/sgmlformat/patches/patch-ag +++ b/textproc/sgmlformat/patches/patch-ag @@ -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 for the FreeBSD documentation -@@ -68,13 +69,25 @@ +@@ -68,13 +69,25 @@ $SIG{'INT'} = 'sighandler'; $SIG{'QUIT'} = 'sighandler'; # @@ -35,7 +35,7 @@ print "where is one of: linuxdoc (default), docbook.\n"; print "and 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\/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') { diff --git a/textproc/sgmlformat/patches/patch-transpec_Makefile b/textproc/sgmlformat/patches/patch-transpec_Makefile new file mode 100644 index 00000000000..697a82f899e --- /dev/null +++ b/textproc/sgmlformat/patches/patch-transpec_Makefile @@ -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