summaryrefslogtreecommitdiff
path: root/textproc/biblook
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/biblook
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'textproc/biblook')
-rw-r--r--textproc/biblook/Makefile6
-rw-r--r--textproc/biblook/distinfo4
-rw-r--r--textproc/biblook/patches/patch-aa10
3 files changed, 12 insertions, 8 deletions
diff --git a/textproc/biblook/Makefile b/textproc/biblook/Makefile
index 5df4fe1c136..b992a1d911c 100644
--- a/textproc/biblook/Makefile
+++ b/textproc/biblook/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/02/22 19:27:13 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2008/06/20 01:09:37 joerg Exp $
#
DISTNAME= biblook
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://compgeom.cs.uiuc.edu/~jeffe/biblook.html
COMMENT= Indexing and searching tools for BibTeX bibliography databases
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
MAKE_FLAGS+= CC=${CC:Q}
@@ -19,4 +21,6 @@ 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\""'
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/biblook/distinfo b/textproc/biblook/distinfo
index c54d26feeaa..528cc712d35 100644
--- a/textproc/biblook/distinfo
+++ b/textproc/biblook/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2005/10/04 21:40:19 reed Exp $
+$NetBSD: distinfo,v 1.5 2008/06/20 01:09:37 joerg Exp $
SHA1 (biblook.tar.gz) = 2bb056b806db4518c07e245fc86097c12938443b
RMD160 (biblook.tar.gz) = 116f8209e7f36d98a770b1fd911ce9a985dc2b45
Size (biblook.tar.gz) = 44691 bytes
-SHA1 (patch-aa) = 0a4555904c32474998336803d6bd805d3dd1d5cb
+SHA1 (patch-aa) = d6dd58fbb58c173ca23bb16d1d2418e2d8685c26
SHA1 (patch-ab) = 7063e2d7b92a45b1f055ca201fe1d6b11bfec7bc
SHA1 (patch-ac) = 4d6ae0e4301a184b40c777712ee91ea739d7fbfe
diff --git a/textproc/biblook/patches/patch-aa b/textproc/biblook/patches/patch-aa
index b69699af3e3..7dfe23fa1e5 100644
--- a/textproc/biblook/patches/patch-aa
+++ b/textproc/biblook/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2005/10/04 21:40:19 reed Exp $
+$NetBSD: patch-aa,v 1.3 2008/06/20 01:09:37 joerg Exp $
--- Makefile.orig 1995-01-31 12:15:22.000000000 -0800
+++ Makefile 2005-10-04 14:26:20.000000000 -0700
@@ -42,10 +42,10 @@ $NetBSD: patch-aa,v 1.2 2005/10/04 21:40:19 reed Exp $
- -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_PROGRAM) bibindex ${DESTDIR}$(BINDIR)
++ $(INSTALL_PROGRAM) biblook ${DESTDIR}$(BINDIR)
++ $(INSTALL_MAN) bibindex.man ${DESTDIR}$(MANDIR)/bibindex.$(MANEXT)
++ $(INSTALL_MAN) biblook.man ${DESTDIR}$(MANDIR)/biblook.$(MANEXT)
install-ftp: $(FTPFILES)
-for f in $? ; \