pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/gdbm_primitive honor PKGMANDIR



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9471665eaf43
branches:  trunk
changeset: 575223:9471665eaf43
user:      sbd <sbd%pkgsrc.org@localhost>
date:      Thu May 06 09:15:55 2010 +0000

description:
honor PKGMANDIR

diffstat:

 databases/gdbm_primitive/Makefile         |   3 ++-
 databases/gdbm_primitive/distinfo         |   4 ++--
 databases/gdbm_primitive/patches/patch-aa |  22 ++++++++++++++++++++--
 3 files changed, 24 insertions(+), 5 deletions(-)

diffs (63 lines):

diff -r 3cc4655b4e19 -r 9471665eaf43 databases/gdbm_primitive/Makefile
--- a/databases/gdbm_primitive/Makefile Thu May 06 07:34:49 2010 +0000
+++ b/databases/gdbm_primitive/Makefile Thu May 06 09:15:55 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2010/01/29 17:00:26 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2010/05/06 09:15:55 sbd Exp $
 #
 
 DISTNAME=      gdbm-prim-1.15
@@ -16,6 +16,7 @@
 
 EXTRACT_OPTS=          -f tar
 MAKE_ENV+=             BUILDLINK_LDFLAGS=${BUILDLINK_LDFLAGS:Q}
+MAKE_ENV+=             PKGMANDIR=${PKGMANDIR:Q}
 WRKSRC=                        ${WRKDIR}/${PKGNAME_NOREV}
 
 .include "../../databases/gdbm/buildlink3.mk"
diff -r 3cc4655b4e19 -r 9471665eaf43 databases/gdbm_primitive/distinfo
--- a/databases/gdbm_primitive/distinfo Thu May 06 07:34:49 2010 +0000
+++ b/databases/gdbm_primitive/distinfo Thu May 06 09:15:55 2010 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2010/01/29 17:00:26 joerg Exp $
+$NetBSD: distinfo,v 1.5 2010/05/06 09:15:55 sbd Exp $
 
 SHA1 (gdbm-prim-1.15.tar.gz-link.gz) = 40c8802ccd8fa66b858ff5059771780b1e28f43a
 RMD160 (gdbm-prim-1.15.tar.gz-link.gz) = 89b0f140c4205a9b22b4c420a51bc0133fd1f749
 Size (gdbm-prim-1.15.tar.gz-link.gz) = 10532 bytes
-SHA1 (patch-aa) = 929e776082aed7c55bae39562ef60d21589393ce
+SHA1 (patch-aa) = e87eaf22d525d4dfadd72067fa7c0f819f16a1c3
diff -r 3cc4655b4e19 -r 9471665eaf43 databases/gdbm_primitive/patches/patch-aa
--- a/databases/gdbm_primitive/patches/patch-aa Thu May 06 07:34:49 2010 +0000
+++ b/databases/gdbm_primitive/patches/patch-aa Thu May 06 09:15:55 2010 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.3 2010/01/29 17:00:26 joerg Exp $
+$NetBSD: patch-aa,v 1.4 2010/05/06 09:15:55 sbd Exp $
 
---- Makefile.orig      Thu Nov 30 07:44:57 2000
+--- Makefile.orig      2000-11-30 06:44:57.000000000 +0000
 +++ Makefile
 @@ -9,17 +9,19 @@
  # Copyright (c) 2000 Jonathan B. Leffert <jonathan%leffert.net@localhost>
@@ -25,3 +25,21 @@
  
  .c.o:
        $(CC) $(CFLAGS) -c $<
+@@ -33,13 +35,13 @@ clean:
+ 
+ install: all
+       mkdir -p $(INSTALL_PREFIX)/bin
+-      mkdir -p $(INSTALL_PREFIX)/man/man1
++      mkdir -p $(INSTALL_PREFIX)/$(PKGMANDIR)/man1
+       strip $(PROGS)
+       cp $(PROGS) $(INSTALL_PREFIX)/bin
+-      cp doc/gdbm_primitive.1 $(INSTALL_PREFIX)/man/man1
++      cp doc/gdbm_primitive.1 $(INSTALL_PREFIX)/$(PKGMANDIR)/man1
+       for file in $(PROGS);\
+-              do ln -sf $(INSTALL_PREFIX)/man/man1/gdbm_primitive.1\
+-                      $(INSTALL_PREFIX)/man/man1/$${file}.1;\
++              do ln -sf $(INSTALL_PREFIX)/$(PKGMANDIR)/man1/gdbm_primitive.1\
++                      $(INSTALL_PREFIX)/$(PKGMANDIR)/man1/$${file}.1;\
+       done
+ 
+ gdbm-clear: gdbm-clear.o db.o



Home | Main Index | Thread Index | Old Index