summaryrefslogtreecommitdiff
path: root/textproc/biblook
diff options
context:
space:
mode:
authortv <tv>2006-01-31 20:19:02 +0000
committertv <tv>2006-01-31 20:19:02 +0000
commit1bf85a33a7f0af352174332dac11865971217df5 (patch)
treeac38b597af8194f97ef08d4fd0ea67ec8fae54d6 /textproc/biblook
parentfb412398b2a8cd982d1920218452cdaea52847a6 (diff)
downloadpkgsrc-tv_libtool_1_5_18_tmpdirfix.tar.gz
Backport a change from 1.5.22 to 1.5.18 that fixes some issues withtv_libtool_1_5_18_tmpdirfix
temp dir creation when using relink-based finalization.
Diffstat (limited to 'textproc/biblook')
-rw-r--r--textproc/biblook/DESCR10
-rw-r--r--textproc/biblook/Makefile22
-rw-r--r--textproc/biblook/PLIST5
-rw-r--r--textproc/biblook/distinfo8
-rw-r--r--textproc/biblook/patches/patch-aa51
-rw-r--r--textproc/biblook/patches/patch-ab23
-rw-r--r--textproc/biblook/patches/patch-ac56
7 files changed, 0 insertions, 175 deletions
diff --git a/textproc/biblook/DESCR b/textproc/biblook/DESCR
deleted file mode 100644
index a8c3bca0068..00000000000
--- a/textproc/biblook/DESCR
+++ /dev/null
@@ -1,10 +0,0 @@
-Bibindex and biblook are programs for fast lookup in BibTeX
-bibliography data bases.
-
-Bibindex converts a .bib file to a .bix file, which is a compact
-binary representation of the .bib file containing hash tables for fast
-lookup, as well as byte offset positions into the corresponding .bib
-file.
-
-Biblook provides an interactive lookup facility using the .bix and
-.bib files.
diff --git a/textproc/biblook/Makefile b/textproc/biblook/Makefile
deleted file mode 100644
index 3d7e842959a..00000000000
--- a/textproc/biblook/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: Makefile,v 1.9 2005/10/12 07:10:57 seb Exp $
-#
-
-DISTNAME= biblook
-PKGNAME= ${DISTNAME}-2.9
-CATEGORIES= textproc
-MASTER_SITES= http://compgeom.cs.uiuc.edu/~jeffe/files/
-
-MAINTAINER= seb@NetBSD.org
-HOMEPAGE= http://compgeom.cs.uiuc.edu/~jeffe/biblook.html
-COMMENT= Indexing and searching tools for BibTeX bibliography databases
-
-WRKSRC= ${WRKDIR}
-MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
-MAKE_FLAGS= CC="${CC}"
-
-# override definitions in the package's Makefile via command line
-MAKE_FLAGS+= OPT="${CFLAGS} -Dunix"
-MAKE_FLAGS+= DEF_H_FILES="-DHAVE_STDLIB_H -DHAVE_NETINET_IN_H"
-MAKE_FLAGS+= DEF_MORE='-DMOREPATH="\"/usr/bin/more\"" -DMORE="\"more\""'
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/biblook/PLIST b/textproc/biblook/PLIST
deleted file mode 100644
index cb8f220223c..00000000000
--- a/textproc/biblook/PLIST
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:56:20 zuntum Exp $
-bin/bibindex
-bin/biblook
-man/man1/bibindex.1
-man/man1/biblook.1
diff --git a/textproc/biblook/distinfo b/textproc/biblook/distinfo
deleted file mode 100644
index c54d26feeaa..00000000000
--- a/textproc/biblook/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/10/04 21:40:19 reed Exp $
-
-SHA1 (biblook.tar.gz) = 2bb056b806db4518c07e245fc86097c12938443b
-RMD160 (biblook.tar.gz) = 116f8209e7f36d98a770b1fd911ce9a985dc2b45
-Size (biblook.tar.gz) = 44691 bytes
-SHA1 (patch-aa) = 0a4555904c32474998336803d6bd805d3dd1d5cb
-SHA1 (patch-ab) = 7063e2d7b92a45b1f055ca201fe1d6b11bfec7bc
-SHA1 (patch-ac) = 4d6ae0e4301a184b40c777712ee91ea739d7fbfe
diff --git a/textproc/biblook/patches/patch-aa b/textproc/biblook/patches/patch-aa
deleted file mode 100644
index b69699af3e3..00000000000
--- a/textproc/biblook/patches/patch-aa
+++ /dev/null
@@ -1,51 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2005/10/04 21:40:19 reed Exp $
-
---- Makefile.orig 1995-01-31 12:15:22.000000000 -0800
-+++ Makefile 2005-10-04 14:26:20.000000000 -0700
-@@ -68,12 +68,15 @@
- # [13-Sep-1993]
- #=======================================================================
-
--DEST = /usr/local
-+DEST = $(PREFIX)
-
- BINDIR = $(DEST)/bin
-
- CATDIR = $(DEST)/man/cat1
-
-+INSTALL_PROGRAM = $(BSD_INSTALL_PROGRAM)
-+INSTALL_MAN = $(BSD_INSTALL_MAN)
-+
- # Compilation with a C++ compiler is preferable. SunOS 4.1 CC cannot be
- # used, however, because of its erroneous function prototypes in stdlib.h
- # which use char* instead of void* in many places. There is no such
-@@ -148,7 +151,7 @@
- LIBS = /usr/lib/debug/malloc.o
- LIBS =
-
--MANDIR = $(DEST)/man/man1
-+MANDIR ?= $(DEST)/man/man1
-
- MANEXT = 1
-
-@@ -243,16 +246,10 @@
- -$(RM) TAGS
-
- install: bibindex biblook
-- -$(CP) bibindex $(BINDIR)
-- -$(STRIP) $(BINDIR)/bibindex
-- -chmod 775 $(BINDIR)/bibindex
-- -$(CP) biblook $(BINDIR)
-- -$(STRIP) $(BINDIR)/biblook
-- -chmod 775 $(BINDIR)/biblook
-- -$(CP) bibindex.man $(MANDIR)/bibindex.$(MANEXT)
-- -chmod 774 $(MANDIR)/bibindex.$(MANEXT)
-- -$(CP) biblook.man $(MANDIR)/biblook.$(MANEXT)
-- -chmod 774 $(MANDIR)/biblook.$(MANEXT)
-+ $(INSTALL_PROGRAM) bibindex $(BINDIR)
-+ $(INSTALL_PROGRAM) biblook $(BINDIR)
-+ $(INSTALL_MAN) bibindex.man $(MANDIR)/bibindex.$(MANEXT)
-+ $(INSTALL_MAN) biblook.man $(MANDIR)/biblook.$(MANEXT)
-
- install-ftp: $(FTPFILES)
- -for f in $? ; \
diff --git a/textproc/biblook/patches/patch-ab b/textproc/biblook/patches/patch-ab
deleted file mode 100644
index ea994ab4094..00000000000
--- a/textproc/biblook/patches/patch-ab
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2004/05/23 23:28:29 danw Exp $
-
---- biblook.h.orig Mon Mar 30 18:31:04 1998
-+++ biblook.h
-@@ -73,9 +73,6 @@ extern uint16 ntohs (uint16 netshort);
- /* around broken g++ libc.h */
- #else
- #include <unistd.h>
--#if HAVE_MALLOC_H
--#include <malloc.h>
--#endif /* HAVE_MALLOC_H */
- #endif /* __NeXT__ */
-
- #if (__STDC__ || __cplusplus || c_plusplus)
-@@ -206,7 +203,7 @@ u_short ntohs(u_short netshort);
- #define MAJOR_VERSION 2 /* program version */
- #define MINOR_VERSION 9
-
--#define MAXWORD 31 /* maximum length of word indexed */
-+#define MAXWORD 255 /* maximum length of word indexed */
- #define MAXSTRING 4095 /* maximum length of line handled */
- typedef char Word[MAXWORD+1];
- typedef char String[MAXSTRING+1];
diff --git a/textproc/biblook/patches/patch-ac b/textproc/biblook/patches/patch-ac
deleted file mode 100644
index 930838ffe81..00000000000
--- a/textproc/biblook/patches/patch-ac
+++ /dev/null
@@ -1,56 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2001/05/31 10:54:22 agc Exp $
-
-Use mkstemp() in preference to tempnam().
-Note use of snprintf(), as not all platforms have strlcpy().
-
---- biblook.c 2001/05/31 08:55:19 1.1
-+++ biblook.c 2001/05/31 09:02:25
-@@ -1276,6 +1276,8 @@
- putc('\n', ofp);
- }
-
-+#include <sys/param.h>
-+
- /* ----------------------------------------------------------------- *\
- | void PrintResults(char *filename)
- |
-@@ -1288,6 +1290,9 @@
- FILE *ofp;
- char *pager;
- char *the_tmpfile = (char*)NULL;
-+#if (defined(BSD) && BSD >= 199306)
-+ char f[MAXPATHLEN];
-+#endif
- #if unix
- int childpid;
- #else
-@@ -1315,8 +1320,19 @@
- }
- else
- {
-+#if (defined(BSD) && BSD >= 199306)
-+ int fd;
-+
-+ (void) snprintf(f, sizeof(f), "/tmp/bibl.XXXXXX");
-+ if ((fd = mkstemp(f)) < 0) {
-+ perror("\tCan't open temp file");
-+ return;
-+ }
-+ ofp = fdopen(fd, "w");
-+#else
- the_tmpfile = (char*)tempnam(NULL, "bibl.");
- ofp = fopen(the_tmpfile, "w");
-+#endif
- if (!ofp)
- {
- perror("\tCan't open temp file");
-@@ -1386,7 +1402,9 @@
- #endif
-
- unlink(the_tmpfile);
-+#if !(defined(BSD) && BSD >= 199306)
- free(the_tmpfile); /* malloc'ed by tempnam() */
-+#endif
- putchar('\n');
- }
- }