From 91146ef7c25aa5fce583b5695ba57e7155423350 Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 6 Aug 1999 10:39:30 +0000 Subject: Add a patch to generalise the manual page's use of /usr/local to be ${PREFIX}. Also reflect the fact that the latest version of siod is 3.4, not 3.2. --- lang/siod/Makefile | 6 +++++- lang/siod/files/patch-sum | 3 ++- lang/siod/patches/patch-ac | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 lang/siod/patches/patch-ac (limited to 'lang/siod') diff --git a/lang/siod/Makefile b/lang/siod/Makefile index dac20be1686..29bcd228fc2 100644 --- a/lang/siod/Makefile +++ b/lang/siod/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/08/06 09:43:30 agc Exp $ +# $NetBSD: Makefile,v 1.2 1999/08/06 10:39:30 agc Exp $ DISTNAME= siod PKGNAME= siod-3.0 @@ -22,4 +22,8 @@ MAKE_ENV+= CC=${CC} MAKE_ENV+= CPPFLAGS= .endif +post-patch: + ${MV} ${WRKSRC}/siod.man ${WRKSRC}/prefix-siod.man + ${SED} -e 's|@PREFIX@|${PREFIX}|g' ${WRKSRC}/prefix-siod.man > ${WRKSRC}/siod.man + .include "../../mk/bsd.pkg.mk" diff --git a/lang/siod/files/patch-sum b/lang/siod/files/patch-sum index 331fd35290a..e91c5c0a8bd 100644 --- a/lang/siod/files/patch-sum +++ b/lang/siod/files/patch-sum @@ -1,4 +1,5 @@ -$NetBSD: patch-sum,v 1.1.1.1 1999/08/06 09:43:31 agc Exp $ +$NetBSD: patch-sum,v 1.2 1999/08/06 10:39:31 agc Exp $ MD5 (patch-aa) = 8d55e0a472dd5df133d2ee7c560623a2 MD5 (patch-ab) = c0b18f06a3d53996857ec19b476c1d49 +MD5 (patch-ac) = 5d47222ca8aaea6a8329ca0e3b027fbe diff --git a/lang/siod/patches/patch-ac b/lang/siod/patches/patch-ac new file mode 100644 index 00000000000..88d8df9bbaa --- /dev/null +++ b/lang/siod/patches/patch-ac @@ -0,0 +1,52 @@ +$NetBSD: patch-ac,v 1.1 1999/08/06 10:39:31 agc Exp $ + +Generalise the location, and update the current version to reflect reality. + +--- siod.man 1999/08/06 10:15:23 1.1 ++++ siod.man 1999/08/06 10:16:38 +@@ -16,7 +16,7 @@ + .RE + .SH ARGUMENTS + The arguments are files which are loaded from the current or SIOD_LIB +-directory, by usual default /usr/local/lib/siod. Or the symbol repl ++directory, by usual default @PREFIX@/lib/siod. Or the symbol repl + to cause entry into the read-eval-print-loop, or parenthetical + expressions to be evaluated. + +@@ -73,7 +73,7 @@ + The + .I XXXXX + is a library directory to use for the require procedure. defaults +-to the environment variable SIOD_LIB or /usr/local/lib/siod. ++to the environment variable SIOD_LIB or @PREFIX@/lib/siod. + .TP + .BI \-v "XXXXX" + The +@@ -101,7 +101,7 @@ + which can be convenient for debugging WWW cgi scripts. For example: + + .EX +-#!/usr/local/bin/siod -v0,-m2 ++#!@PREFIX@/bin/siod -v0,-m2 + (define (main) + (writes nil "Hello World\n")) + .EE +@@ -144,9 +144,9 @@ + include read, pratt, and fasl. + + .SH FILES +-/usr/local/lib/siod/* +-/usr/local/lib/siod/siod.html +-/usr/local/lib/libsiod.so ++@PREFIX@/lib/siod/* ++@PREFIX@/lib/siod/siod.html ++@PREFIX@/lib/libsiod.so + .PD + .SH SEE ALSO + command csiod http://people.delphi.com/gjc/siod.html +@@ -161,4 +161,4 @@ + It does GC during EVAL with -g0, but that code may not run without modification + on all architectures. + .SH VERSION +-Current version is 3.2, 12-MAR-96, by George Carrette. GJC\@world.std.com ++Current version is 3.4, 12-MAR-96, by George Carrette. GJC\@world.std.com -- cgit v1.2.3