summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-07-08 08:53:19 +0000
committerwiz <wiz@pkgsrc.org>2003-07-08 08:53:19 +0000
commit439cadab5f566c49ddc0e236dcea8acc8f75ed4b (patch)
treefc558d864db0269ca0d895e75e6f4d00ed82bc11 /misc
parentef44e6a9cff4c69d8a8df41a0f3d7a45470d697a (diff)
downloadpkgsrc-439cadab5f566c49ddc0e236dcea8acc8f75ed4b.tar.gz
Initial import of brs, a program to read the King James Version Bible.
Submitted by Bryan Carter Vyhmeister in PR 22087.
Diffstat (limited to 'misc')
-rw-r--r--misc/brs/DESCR5
-rw-r--r--misc/brs/Makefile15
-rw-r--r--misc/brs/PLIST5
-rw-r--r--misc/brs/distinfo5
-rw-r--r--misc/brs/patches/patch-aa40
-rw-r--r--misc/brs/patches/patch-ab26
6 files changed, 96 insertions, 0 deletions
diff --git a/misc/brs/DESCR b/misc/brs/DESCR
new file mode 100644
index 00000000000..f0bccb458ec
--- /dev/null
+++ b/misc/brs/DESCR
@@ -0,0 +1,5 @@
+Bible Retrieval System (BRS) consists of a textual database of the
+Authorized ("King James") Version of the Old and New Testaments, a set
+of libraries for finding and retrieving text, and a program ("bible")
+which uses the libraries to retrieve Bible passages given references
+on the command line or from standard input.
diff --git a/misc/brs/Makefile b/misc/brs/Makefile
new file mode 100644
index 00000000000..6a90b36a763
--- /dev/null
+++ b/misc/brs/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/07/08 08:53:19 wiz Exp $
+
+DISTNAME= brs.4.00.l1
+PKGNAME= brs-4.0
+WRKSRC= ${WRKDIR}/bible
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SUNSITE:=apps/religion/}
+
+MAINTAINER= bcv@hub3.net
+HOMEPAGE= http://bible.theverge.com/brs.html
+COMMENT= Interactive King James Version Bible
+
+ALL_TARGET=
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/brs/PLIST b/misc/brs/PLIST
new file mode 100644
index 00000000000..5586b007b46
--- /dev/null
+++ b/misc/brs/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/08 08:53:19 wiz Exp $
+bin/bible
+lib/bible.data
+lib/bible.data.conc
+man/man1/bible.1
diff --git a/misc/brs/distinfo b/misc/brs/distinfo
new file mode 100644
index 00000000000..b139131613c
--- /dev/null
+++ b/misc/brs/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/07/08 08:53:19 wiz Exp $
+
+SHA1 (brs.4.00.l1.tar.gz) = 12406ad5738caeb828e0773a45290ed5e098940a
+SHA1 (patch-aa) = e56ae128d024387784921ab91a89400be825d304
+SHA1 (patch-ab) = 392a451cea87ba91f9a4316dc07c278dc86635b9
diff --git a/misc/brs/patches/patch-aa b/misc/brs/patches/patch-aa
new file mode 100644
index 00000000000..23adc2923d7
--- /dev/null
+++ b/misc/brs/patches/patch-aa
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/07/08 08:53:19 wiz Exp $
+
+--- Makefile.orig Thu Dec 15 02:53:00 1994
++++ Makefile
+@@ -46,7 +46,7 @@ DATA = $(PROGRAM).data
+ NINSTPKG = $(PROGRAM).pkg
+
+ # where to install this stuff
+-DEST = /usr
++DEST = $(PREFIX)
+ #DEST = $(HOME)/local
+ DESTBIN = $(DEST)/bin
+ DESTLIB = $(DEST)/lib
+@@ -405,23 +405,20 @@ install:
+ @if [ $(DESTBIN) != . ]; then \
+ ((cd $(DESTBIN);rm -f $(PROGRAM)); \
+ cp $(PROGRAM) $(DESTBIN)); \
+- chown bin $(DESTBIN)/$(PROGRAM); \
+- chgrp bin $(DESTBIN)/$(PROGRAM); \
++ chown root:wheel $(DESTBIN)/$(PROGRAM); \
+ chmod 755 $(DESTBIN)/$(PROGRAM); fi
+ @echo Installing $(DATA) and $(DATA).conc in $(DESTLIB)
+ @if [ ! -r $(DESTLIB) ]; then mkdir $(DESTLIB); fi
+ @if [ $(DESTLIB) != . ]; then \
+ cp $(DATA) $(DATA).conc $(DESTLIB); \
+- chown bin $(DESTLIB)/$(DATA) $(DESTLIB)/$(DATA).conc; \
+- chgrp bin $(DESTLIB)/$(DATA) $(DESTLIB)/$(DATA).conc; \
++ chown root:wheel $(DESTLIB)/$(DATA) $(DESTLIB)/$(DATA).conc; \
+ chmod 644 $(DESTLIB)/$(DATA) $(DESTLIB)/$(DATA).conc; fi
+ @if [ ! -r $(DESTMAN) ]; then mkdir $(DESTMAN); fi
+ @echo Installing $(MAN) in $(DESTMAN1)
+ @if [ ! -r $(DESTMAN1) ]; then mkdir $(DESTMAN1); fi
+ @if [ $(DESTMAN1) != . ]; then \
+ cp $(MAN) $(DESTMAN1)/$(MAN); \
+- chown bin $(DESTMAN1)/$(MAN); \
+- chgrp bin $(DESTMAN1)/$(MAN); \
++ chown root:wheel $(DESTMAN1)/$(MAN); \
+ chmod 644 $(DESTMAN1)/$(MAN); fi
+
+ uninstall:; @echo Un-installing $(PROGRAM), $(DATA) and $(MAN)
diff --git a/misc/brs/patches/patch-ab b/misc/brs/patches/patch-ab
new file mode 100644
index 00000000000..b9a46c1b567
--- /dev/null
+++ b/misc/brs/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/07/08 08:53:19 wiz Exp $
+
+--- bible.1.orig Mon Dec 12 20:05:28 1994
++++ bible.1
+@@ -314,17 +314,17 @@ and
+ Miscellaneous program control commands:
+
+ .TP 15 "\w'\-t\ prefix\ \ 'u"
+-.B \?, ?h, ?help
++.B ?, ?h, ?help
+ Prints help text.
+ .TP
+-.B \?f
++.B ?f
+ Toggles output formatting modes.
+ .TP
+-.BI \?w file
++.BI ?w file
+ Begin writing program output to a file. If file exists, output is
+ appended to what's there already.
+ .TP
+-.B \?w
++.B ?w
+ Stop writing to a file.
+ .TP
+ .B \>, \<