bible-kjv supersedes brs

This commit is contained in:
naddy 2011-09-19 20:22:36 +00:00
parent 5b29c1edec
commit 272fcae15b
10 changed files with 2 additions and 170 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.141 2011/07/17 20:14:30 sthen Exp $
# $OpenBSD: Makefile,v 1.142 2011/09/19 20:22:36 naddy Exp $
# $FreeBSD: Makefile,v 1.121 1997/11/17 10:14:33 tg Exp $
#
@ -6,8 +6,8 @@
SUBDIR += WordGenerator
SUBDIR += amanda
SUBDIR += astrolog
SUBDIR += bible-kjv
SUBDIR += brltty
SUBDIR += brs
SUBDIR += bsdiff
SUBDIR += buffer
SUBDIR += calentool

View File

@ -1,33 +0,0 @@
# $OpenBSD: Makefile,v 1.14 2010/11/05 08:24:49 sthen Exp $
NOT_FOR_ARCHS= ${LP64_ARCHS}
COMMENT= bible reader
DISTNAME= brs.4.00.l1
PKGNAME= brs-4.00l1
REVISION= 0
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SUNSITE:=apps/religion/}
MAINTAINER= J Shoemaker <shoemaker@softhome.net>
# License: GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
WRKDIST= ${WRKDIR}/bible
ALL_TARGET= bible
USE_GROFF = Yes
MAKE_FLAGS= DEST=${PREFIX}
FAKE_FLAGS= DEST=${WRKINST}${PREFIX}
NO_REGRESS= Yes
.include <bsd.port.mk>

View File

@ -1,5 +0,0 @@
MD5 (brs.4.00.l1.tar.gz) = Jgt4ng/0ASk+8FgJ/EJYGw==
RMD160 (brs.4.00.l1.tar.gz) = FEXHVP/RbLsAyycAO3SKRseq2+A=
SHA1 (brs.4.00.l1.tar.gz) = EkBq1XOMrrgo4Hc6RSkO1eCYlAo=
SHA256 (brs.4.00.l1.tar.gz) = CWRNrTtcLRYJ/aKU9e8gbt0RAxPvShj4mcyRxkpTMK4=
SIZE (brs.4.00.l1.tar.gz) = 2651253

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-Makefile,v 1.2 2010/08/04 14:05:46 naddy Exp $
--- Makefile.orig Thu Dec 15 02:53:00 1994
+++ Makefile Wed Aug 4 01:13:25 2010
@@ -55,7 +55,7 @@ DESTMAN1 = $(DESTMAN)/man1
# I use environment variables for these...
#CFLAGS = -g
-CFLAGS = -O2 -fwritable-strings -DDESTLIB=\"$(DESTLIB)\"
+CFLAGS += -DDESTLIB=\"$(DESTLIB)\"
# release directories. Nobody should care about this but me
FTPHOME = /mnt/ftp
@@ -66,7 +66,7 @@ NINSTPKGDIR = $(NINSTDIR)/packages
# This is only used by the author when making a new release ftp-able.
INSTALL = .do cp
-LD = cc
+LD = ${CC}
MAKEFILE = Makefile

View File

@ -1,28 +0,0 @@
$OpenBSD: patch-bible_c,v 1.1 2010/08/04 14:05:46 naddy Exp $
--- bible.c.orig Mon Dec 12 20:30:47 1994
+++ bible.c Wed Aug 4 01:16:55 2010
@@ -137,6 +137,7 @@
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include "tsl.h"
#include "brl.h"
#include "version.h"
@@ -151,6 +152,7 @@
static char rcs_ident[]="@(#)$Header: /home/cvs/ports/misc/brs/patches/Attic/patch-bible_c,v 1.1 2010/08/04 14:05:46 naddy Exp $";
+static char gen1_1[]="Gen1:1"; /* Avoid use of literal string in call */
char *myname; /* Program Name */
int mem_limit; /* Limit on buffer space used by BRL */
@@ -977,7 +979,7 @@ char **argv;
/* read from stdin */
printf( "%s: %s\n", myname, release_version );
printf( "Hit '?' for help.\n" );
- brl_printverse( "Gen1:1", pretty_printing, line_width, outf );
+ brl_printverse( gen1_1, pretty_printing, line_width, outf );
prompter();
while(fgets(line, VSPECSZ, stdin) != NULL) {
user_input( line );

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-brl_c,v 1.1 2010/08/04 14:05:46 naddy Exp $
--- brl.c.orig Mon Dec 12 20:15:01 1994
+++ brl.c Wed Aug 4 01:20:46 2010
@@ -142,6 +142,8 @@
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <ctype.h>
#include "tsl.h"
#include "brl.h"

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-compresslib_c,v 1.1 2010/08/04 14:05:46 naddy Exp $
--- compresslib.c.orig Wed Aug 4 01:19:51 2010
+++ compresslib.c Wed Aug 4 01:20:17 2010
@@ -176,6 +176,7 @@ char_type magic_header[] = { "\037\235" }; /* 1F 9D */
static char rcs_ident[]="@(#)$Header: /home/cvs/ports/misc/brs/patches/Attic/patch-compresslib_c,v 1.1 2010/08/04 14:05:46 naddy Exp $";
#include <stdio.h>
+#include <string.h>
#include <ctype.h>
#include <sys/types.h>

View File

@ -1,50 +0,0 @@
$OpenBSD: patch-tsl_c,v 1.2 2010/08/04 14:05:46 naddy Exp $
--- tsl.c.orig Mon Dec 12 04:55:31 1994
+++ tsl.c Wed Aug 4 01:18:55 2010
@@ -95,7 +95,9 @@
\*----------------------------------------------------------------------*/
#include <stdio.h>
-#include <varargs.h>
+#include <stdlib.h>
+#include <string.h>
+#include <stdarg.h>
/* #include <search.h> */
#include "tsl.h"
@@ -109,9 +111,6 @@
static char rcs_ident[]="@(#)$Header: /home/cvs/ports/misc/brs/patches/Attic/patch-tsl_c,v 1.2 2010/08/04 14:05:46 naddy Exp $";
-char *malloc();
-char *strtok();
-
FILE *tfp; /* Text data file pointer */
FILE *cfp; /* Concordance data file pointer */
struct tsl_conc_fileheader cfh; /* Concordance file header */
@@ -145,7 +144,7 @@ int tsl_maxbuffusage=0x100000; /* Max buffer mem usage
-tsl_error( fatal, va_alist )
+tsl_error(int fatal, char *format, ...)
/*----------------------------------------------------------------------
| NAME:
| tsl_error
@@ -162,15 +161,11 @@ tsl_error( fatal, va_alist )
|
\*----------------------------------------------------------------------*/
-int fatal;
-va_dcl
{
va_list ap;
- char *format;
- va_start(ap);
+ va_start(ap, format);
- format = va_arg(ap, char *);
vfprintf(stderr, format, ap);
putc('\n', stderr);

View File

@ -1,3 +0,0 @@
BRS is a bible reader and fulltext search utility. It runs
interactively as well as the more useful function of returning a
passage requested via command line. Text is King James Version.

View File

@ -1,5 +0,0 @@
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 17:54:15 espie Exp $
bin/bible
lib/bible.data
lib/bible.data.conc
@man man/man1/bible.1