Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
Bibparse, biblex, and bibunlex are programs for doing syntax checking
on BibTeX bibliography database files.
Biblex lexically analyzes BibTeX bibliography database files and
produces a lexical token stream from them.
Bibparse verifies a biblex or bibclean (available as a separate
package) lexical token stream or BibTeX database files.
Bibunlex reconstructs a BibTeX bibliography database file from
bibclean or biblex lexical analysis output.
Also included in this package is bibdup which checks for duplicate
abbreviations and entries in BibTeX bibliography database files.
+21
View File
@@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.12 2012/10/25 06:55:43 asau Exp $
#
DISTNAME= bibparse-1.06
CATEGORIES= textproc
MASTER_SITES= http://www.math.utah.edu/pub/bibparse/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.math.utah.edu/pub/bibparse/
COMMENT= Syntax checking tools for BibTeX bibliography databases
PKG_INSTALLATION_TYPES= overwrite pkgviews
INSTALLATION_DIRS= ${PKGMANDIR}/man1
GNU_CONFIGURE= YES
USE_TOOLS+= yacc
TEST_TARGET= check
.include "../../mk/bsd.pkg.mk"
+10
View File
@@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:17:12 joerg Exp $
bin/bibdup
bin/biblex
bin/bibparse
bin/bibunlex
man/man1/bibdup.1
man/man1/biblex.1
man/man1/bibparse.1
man/man1/bibunlex.1
share/lib/bibdup/bibdup.awk
+7
View File
@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.4 2008/06/20 01:09:37 joerg Exp $
SHA1 (bibparse-1.06.tar.gz) = 74e356264cb8c11b212d8a61c503bbf915a0729c
RMD160 (bibparse-1.06.tar.gz) = e41a53cf2f72c150252642c344b5b686e91e0e46
Size (bibparse-1.06.tar.gz) = 856432 bytes
SHA1 (patch-aa) = 2687b6d275d103368346ab57205e4f889f56bff9
SHA1 (patch-ab) = facf719e4ea6ad2857b08145857246d4ee871138
+74
View File
@@ -0,0 +1,74 @@
$NetBSD: patch-aa,v 1.3 2008/06/20 01:09:37 joerg Exp $
--- Makefile.in.orig 2004-09-23 21:15:48.000000000 +0000
+++ Makefile.in
@@ -213,6 +213,14 @@ MV = @MV@
NROFF = @NROFF@
+INSTALL_PROGRAM = $(BSD_INSTALL_PROGRAM)
+INSTALL_MAN = $(BSD_INSTALL_MAN)
+INSTALL_SCRIPT = $(BSD_INSTALL_SCRIPT)
+INSTALL_DATA = $(BSD_INSTALL_DATA)
+INSTALL_PROGRAM_DIR = $(BSD_INSTALL_PROGRAM_DIR)
+INSTALL_MAN_DIR = $(BSD_INSTALL_MAN_DIR)
+INSTALL_DATA_DIR = $(BSD_INSTALL_DATA_DIR)
+
# This variable defined to be empty, with the intent that the user can
# set it on the make command line at build time to choose fancy
# compiler-dependent optimization switches.
@@ -388,11 +396,7 @@ TXT-FILES = $(MAN-FILES:.man=.txt)
all: programs
bibdup.sh: bibdup.sin Makefile
- -$(RM) -f $@
- $(SED) -e 's=_LIBDIR_=$(SHRLIBDIR)=g' \
- -e 's=_BINDIR_=$(BINDIR)=g' \
- -e 's=_AWK_=$(AWK)=g' \
- <bibdup.sin >$@
+ CONFIG_FILES=$@:bibdup.sin CONFIG_HEADERS= $(SHELL) ./config.status
$(CHMOD) 555 $@
biblex: lexmain.c biblex.c args.h bibyydcl.h token.h
@@ -560,7 +564,7 @@ dw:
html-files: $(HTML-FILES)
-install: install-programs install-lib install-man install-show
+install: install-programs install-lib install-man
install-ftp: dist uninstall-ftp
$(CP) bibparse-$(VERSION).jar $(FTPDIR)
@@ -576,25 +580,23 @@ install-ftp: dist uninstall-ftp
$(LS) -l $(FTPDIR)/bibparse-$(VERSION)*
install-lib: uninstall-lib
- -$(MKDIR) $(SHRLIBDIR)
- $(CP) bibdup.awk $(SHRLIBDIR)/bibdup.awk
- $(CHMOD) 664 $(SHRLIBDIR)/bibdup.awk
+ $(INSTALL_DATA_DIR) ${DESTDIR}$(SHRLIBDIR)
+ $(INSTALL_DATA) bibdup.awk ${DESTDIR}$(SHRLIBDIR)/bibdup.awk
install-man: uninstall-man
+ $(INSTALL_MAN_DIR) $(MANDIR)/man$(MANEXT)
for program in $(BASEPROGS) ; \
do \
- $(CP) $$program.man $(MANDIR)/man$(MANEXT)/$$program.1 ; \
- $(CHMOD) 664 $(MANDIR)/man$(MANEXT)/$$program.1 ; \
+ $(INSTALL_MAN) $$program.man ${DESTDIR}$(MANDIR)/man$(MANEXT)/$$program.1 ; \
done
install-programs: $(PROGRAMS) bibdup.sh uninstall-programs
+ $(INSTALL_PROGRAM_DIR) ${DESTDIR}$(BINDIR)
for program in $(PROGRAMS) ; \
do \
- $(CP) $$program $(BINDIR)/$$program ; \
- $(CHMOD) 775 $(BINDIR)/$$program ; \
+ $(INSTALL_PROGRAM) $$program ${DESTDIR}$(BINDIR)/$$program ; \
done ; \
- $(CP) bibdup.sh $(BINDIR)/bibdup ; \
- $(CHMOD) 775 $(BINDIR)/bibdup
+ $(INSTALL_SCRIPT) bibdup.sh ${DESTDIR}$(BINDIR)/bibdup
install-show:
@echo ''
+22
View File
@@ -0,0 +1,22 @@
$NetBSD: patch-ab,v 1.1.1.1 2001/07/24 13:47:34 wiz Exp $
--- bibdup.sin.orig Sat May 8 22:05:18 1999
+++ bibdup.sin
@@ -11,7 +11,10 @@
# [08-May-1999] -- update for bibparse 1.04 release
# [16-Jan-1993]
-LIBDIR=_LIBDIR_
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+LIBDIR=${prefix}/share/lib/bibdup
+BINDIR=@bindir@
if test ! -d $LIBDIR
then
@@ -26,4 +29,4 @@
# NB: Use regexp notation with tr so it works with both System V and
# BSD style tr!
-_BINDIR_/biblex $* | tr '[A-Z]' '[a-z]' | _AWK_ -f $LIBDIR/bibdup.awk
+$BINDIR/biblex $* | tr '[A-Z]' '[a-z]' | @AWK@ -f $LIBDIR/bibdup.awk