pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/bibparse textproc/bibparse: Install manpages ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d3b25d09dae
branches:  trunk
changeset: 366871:4d3b25d09dae
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Aug 19 00:19:49 2017 +0000

description:
textproc/bibparse: Install manpages into ${PKGMANDIR}.

Patch the project Makefile to honor @mandir@ which is substituted
for by the GNU configure script.  @mandir@ will properly expand
to point inside ${PKGMANDIR}.

diffstat:

 textproc/bibparse/Makefile         |   4 +---
 textproc/bibparse/distinfo         |   4 ++--
 textproc/bibparse/patches/patch-aa |  17 +++++++++++++++--
 3 files changed, 18 insertions(+), 7 deletions(-)

diffs (66 lines):

diff -r 30be98630f89 -r 4d3b25d09dae textproc/bibparse/Makefile
--- a/textproc/bibparse/Makefile        Sat Aug 19 00:19:37 2017 +0000
+++ b/textproc/bibparse/Makefile        Sat Aug 19 00:19:49 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2014/10/09 14:07:01 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2017/08/19 00:19:49 jlam Exp $
 #
 
 DISTNAME=      bibparse-1.06
@@ -9,8 +9,6 @@
 HOMEPAGE=      http://www.math.utah.edu/pub/bibparse/
 COMMENT=       Syntax checking tools for BibTeX bibliography databases
 
-INSTALLATION_DIRS=     ${PKGMANDIR}/man1
-
 GNU_CONFIGURE= YES
 USE_TOOLS+=    yacc
 
diff -r 30be98630f89 -r 4d3b25d09dae textproc/bibparse/distinfo
--- a/textproc/bibparse/distinfo        Sat Aug 19 00:19:37 2017 +0000
+++ b/textproc/bibparse/distinfo        Sat Aug 19 00:19:49 2017 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2015/11/04 01:59:25 agc Exp $
+$NetBSD: distinfo,v 1.6 2017/08/19 00:19:49 jlam Exp $
 
 SHA1 (bibparse-1.06.tar.gz) = 74e356264cb8c11b212d8a61c503bbf915a0729c
 RMD160 (bibparse-1.06.tar.gz) = e41a53cf2f72c150252642c344b5b686e91e0e46
 SHA512 (bibparse-1.06.tar.gz) = fe9662be5bca371c4ee1d5dbed02c531c561a5365636da172cdeaee1496231d1af09d2e0d50e15f01880e16729e441b352c82b7c7f6acff27406fae64ea67561
 Size (bibparse-1.06.tar.gz) = 856432 bytes
-SHA1 (patch-aa) = 2687b6d275d103368346ab57205e4f889f56bff9
+SHA1 (patch-aa) = 386d58601d3330adfbec31268c73ba947f04b1cb
 SHA1 (patch-ab) = facf719e4ea6ad2857b08145857246d4ee871138
diff -r 30be98630f89 -r 4d3b25d09dae textproc/bibparse/patches/patch-aa
--- a/textproc/bibparse/patches/patch-aa        Sat Aug 19 00:19:37 2017 +0000
+++ b/textproc/bibparse/patches/patch-aa        Sat Aug 19 00:19:49 2017 +0000
@@ -1,7 +1,20 @@
-$NetBSD: patch-aa,v 1.3 2008/06/20 01:09:37 joerg Exp $
+$NetBSD: patch-aa,v 1.4 2017/08/19 00:19:49 jlam Exp $
+
+Use the pkgsrc-provided macros to create directories and install
+files with the correct permissions.  Also support DESTDIR and
+PKGMANDIR.
 
 --- Makefile.in.orig   2004-09-23 21:15:48.000000000 +0000
 +++ Makefile.in
+@@ -68,7 +68,7 @@ prefix               = @prefix@
+ BINDIR                = $(prefix)/bin
+ FTPDIR                = /u/ftp/pub/bibparse
+ SHRLIBDIR     = $(prefix)/share/lib/bibdup
+-MANDIR                = $(prefix)/man
++MANDIR                = @mandir@
+ MANEXT                = 1
+ 
+ # Use lcc or gcc with extra flags for extensive error checking, or use
 @@ -213,6 +213,14 @@ MV                = @MV@
  
  NROFF         = @NROFF@
@@ -50,7 +63,7 @@
 +      $(INSTALL_DATA) bibdup.awk ${DESTDIR}$(SHRLIBDIR)/bibdup.awk
  
  install-man:  uninstall-man
-+      $(INSTALL_MAN_DIR) $(MANDIR)/man$(MANEXT)
++      $(INSTALL_MAN_DIR) ${DESTDIR}$(MANDIR)/man$(MANEXT)
        for program in $(BASEPROGS) ; \
        do \
 -              $(CP) $$program.man $(MANDIR)/man$(MANEXT)/$$program.1 ; \



Home | Main Index | Thread Index | Old Index