diff options
author | wiz <wiz@pkgsrc.org> | 2001-07-24 13:47:34 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-07-24 13:47:34 +0000 |
commit | 0c5d73604504ad721f7320ce80937c2513731ad3 (patch) | |
tree | 2e16bcd5feb3c80c3de4714ba58eb7cd4a7dd008 /textproc/bibparse/patches | |
parent | c762959d801d6b9fbec23b97ca2a2b1ea5e1ee26 (diff) | |
download | pkgsrc-0c5d73604504ad721f7320ce80937c2513731ad3.tar.gz |
Initial import of bibparse, a syntax checking tools for BibTeX
bibliography databases.
Package provided by Stoned Elipot in pkg/13514.
Diffstat (limited to 'textproc/bibparse/patches')
-rw-r--r-- | textproc/bibparse/patches/patch-aa | 97 | ||||
-rw-r--r-- | textproc/bibparse/patches/patch-ab | 22 |
2 files changed, 119 insertions, 0 deletions
diff --git a/textproc/bibparse/patches/patch-aa b/textproc/bibparse/patches/patch-aa new file mode 100644 index 00000000000..6f6c50e9eff --- /dev/null +++ b/textproc/bibparse/patches/patch-aa @@ -0,0 +1,97 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/07/24 13:47:34 wiz Exp $ + +--- Makefile.in.orig Thu Oct 21 18:08:35 1999 ++++ Makefile.in +@@ -62,7 +62,12 @@ + # [16-Jan-1993] + # ====================================================================== + +-prefix = /usr/local ++prefix = @prefix@ ++ ++srcdir = @srcdir@ ++VPATH = @srcdir@ ++ ++top_builddir = . + + # Change these to suit local conventions: + BINDIR = $(prefix)/bin +@@ -213,6 +218,15 @@ + + 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. +@@ -387,16 +401,13 @@ + + 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 >$@ ++bibdup.sh: $(srcdir)/bibdup.sin $(top_builddir)/config.status ++ cd $(top_builddir) \ ++ && CONFIG_FILES=$@:bibdup.sin CONFIG_HEADERS= $(SHELL) ./config.status + $(CHMOD) 555 $@ + + biblex: lexmain.c biblex.c args.h bibyydcl.h token.h +- $(CC) $(CFLAGS) -o biblex lexmain.c biblex.c $(LDFLAGS) $(LIBS) ++ $(CC) $(CFLAGS) -o biblex $(srcdir)/lexmain.c biblex.c $(LDFLAGS) $(LIBS) + + biblex.c: biblex.l + +@@ -555,7 +566,7 @@ + + html-files: $(HTML-FILES) + +-install: install-programs install-lib install-man install-show ++install: install-programs install-lib install-man + + install-ftp: bibparse.jar bibparse.shr bibparse.tar bibparse.zip \ + bibparse.zoo uninstall-ftp +@@ -572,25 +583,23 @@ + $(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) $(SHRLIBDIR) ++ $(INSTALL_DATA) $(srcdir)/bibdup.awk $(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) $(srcdir)/$$program.man $(MANDIR)/man$(MANEXT)/$$program.1 ; \ + done + + install-programs: $(PROGRAMS) bibdup.sh uninstall-programs ++ -$(INSTALL_PROGRAM_DIR) $(BINDIR) + for program in $(PROGRAMS) ; \ + do \ +- $(CP) $$program $(BINDIR)/$$program ; \ +- $(CHMOD) 775 $(BINDIR)/$$program ; \ ++ $(INSTALL_PROGRAM) $$program $(BINDIR)/$$program ; \ + done ; \ +- $(CP) bibdup.sh $(BINDIR)/bibdup ; \ +- $(CHMOD) 775 $(BINDIR)/bibdup ++ $(INSTALL_SCRIPT) bibdup.sh $(BINDIR)/bibdup + + install-show: + @echo '' diff --git a/textproc/bibparse/patches/patch-ab b/textproc/bibparse/patches/patch-ab new file mode 100644 index 00000000000..e727a2d05c9 --- /dev/null +++ b/textproc/bibparse/patches/patch-ab @@ -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 |