summaryrefslogtreecommitdiff
path: root/textproc/bibparse
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commitd8368bbc25c90072a19b5e48f0fba26251b6877f (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /textproc/bibparse
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'textproc/bibparse')
-rw-r--r--textproc/bibparse/Makefile5
-rw-r--r--textproc/bibparse/distinfo4
-rw-r--r--textproc/bibparse/patches/patch-aa16
3 files changed, 14 insertions, 11 deletions
diff --git a/textproc/bibparse/Makefile b/textproc/bibparse/Makefile
index 7b11c99afa4..ed775a8c516 100644
--- a/textproc/bibparse/Makefile
+++ b/textproc/bibparse/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/06/20 22:22:54 minskim Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/20 01:09:37 joerg Exp $
#
DISTNAME= bibparse-1.06
@@ -10,6 +10,9 @@ HOMEPAGE= http://www.math.utah.edu/pub/bibparse/
COMMENT= Syntax checking tools for BibTeX bibliography databases
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= ${PKGMANDIR}/man1
GNU_CONFIGURE= YES
USE_TOOLS+= yacc
diff --git a/textproc/bibparse/distinfo b/textproc/bibparse/distinfo
index ce61441e4a5..e87b11b42bd 100644
--- a/textproc/bibparse/distinfo
+++ b/textproc/bibparse/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 14:48:40 agc Exp $
+$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) = b9fd8a0d82d8ee2d4a0b19b68558184e38572a75
+SHA1 (patch-aa) = 2687b6d275d103368346ab57205e4f889f56bff9
SHA1 (patch-ab) = facf719e4ea6ad2857b08145857246d4ee871138
diff --git a/textproc/bibparse/patches/patch-aa b/textproc/bibparse/patches/patch-aa
index 8bee91e1d70..5c541911e81 100644
--- a/textproc/bibparse/patches/patch-aa
+++ b/textproc/bibparse/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2004/12/23 16:30:10 seb Exp $
+$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
@@ -46,29 +46,29 @@ $NetBSD: patch-aa,v 1.2 2004/12/23 16:30:10 seb Exp $
- -$(MKDIR) $(SHRLIBDIR)
- $(CP) bibdup.awk $(SHRLIBDIR)/bibdup.awk
- $(CHMOD) 664 $(SHRLIBDIR)/bibdup.awk
-+ -$(INSTALL_DATA_DIR) $(SHRLIBDIR)
-+ $(INSTALL_DATA) bibdup.awk $(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)
++ $(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 $(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) $(BINDIR)
++ $(INSTALL_PROGRAM_DIR) ${DESTDIR}$(BINDIR)
for program in $(PROGRAMS) ; \
do \
- $(CP) $$program $(BINDIR)/$$program ; \
- $(CHMOD) 775 $(BINDIR)/$$program ; \
-+ $(INSTALL_PROGRAM) $$program $(BINDIR)/$$program ; \
++ $(INSTALL_PROGRAM) $$program ${DESTDIR}$(BINDIR)/$$program ; \
done ; \
- $(CP) bibdup.sh $(BINDIR)/bibdup ; \
- $(CHMOD) 775 $(BINDIR)/bibdup
-+ $(INSTALL_SCRIPT) bibdup.sh $(BINDIR)/bibdup
++ $(INSTALL_SCRIPT) bibdup.sh ${DESTDIR}$(BINDIR)/bibdup
install-show:
@echo ''