pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/rconfig sysutils/rconfig: Install manpages in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d584d1bea19
branches:  trunk
changeset: 366894:9d584d1bea19
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Aug 19 00:25:07 2017 +0000

description:
sysutils/rconfig: Install manpages into ${PKGMANDIR}.

Patch the project Makefile to copy manpages to the correct location
under ${PKGMANDIR}.

diffstat:

 sysutils/rconfig/distinfo               |   3 ++-
 sysutils/rconfig/patches/patch-Makefile |  23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 601c4b30408c -r 9d584d1bea19 sysutils/rconfig/distinfo
--- a/sysutils/rconfig/distinfo Sat Aug 19 00:24:50 2017 +0000
+++ b/sysutils/rconfig/distinfo Sat Aug 19 00:25:07 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.32 2015/11/04 01:32:28 agc Exp $
+$NetBSD: distinfo,v 1.33 2017/08/19 00:25:07 jlam Exp $
 
 SHA1 (rconfig-0.47.tbz) = a81537dd6bca3fe2d708114636f072a049ad6800
 RMD160 (rconfig-0.47.tbz) = de82c2df65af2ae84632141ce94dd949d2ab6775
 SHA512 (rconfig-0.47.tbz) = c965bf500eb81e282b9de56c25603e1e70042431f22e6ad36d125e881ad491359b63b825d18f18487e3311594c145e3032efe978b5cf89189aaefd086c1aaabb
 Size (rconfig-0.47.tbz) = 13390 bytes
+SHA1 (patch-Makefile) = e172ca1488e01e805bdd7734d2890f852843bdf8
diff -r 601c4b30408c -r 9d584d1bea19 sysutils/rconfig/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/rconfig/patches/patch-Makefile   Sat Aug 19 00:25:07 2017 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-Makefile,v 1.1 2017/08/19 00:25:07 jlam Exp $
+
+--- Makefile.orig      2009-02-11 22:56:54.000000000 +0000
++++ Makefile
+@@ -15,6 +15,7 @@ INSTALL_PROGRAM ?= install -m 0755
+ INSTALL_SCRIPT        ?= install -m 0755
+ SYSCONFDIR    ?= ${PREFIX}/etc
+ PREFIX                ?= /usr/local
++PKGMANDIR     ?= man
+ 
+ LIBEXEC               = ${PREFIX}/libexec
+ 
+@@ -39,8 +40,8 @@ install: ${PKGNAME}.${MANSECTION}
+       ${INSTALL_DIR} ${DESTDIR}${LIBEXEC}
+       ${INSTALL_SCRIPT} probe.sh ${DESTDIR}${LIBEXEC}/rconfig_probe
+       ${INSTALL_SCRIPT} ssh.sh ${DESTDIR}${LIBEXEC}/rconfig_ssh
+-      ${INSTALL_DIR} ${DESTDIR}${PREFIX}/man/man${MANSECTION}
+-      ${INSTALL_MAN} ${PKGNAME}.${MANSECTION} ${DESTDIR}${PREFIX}/man/man${MANSECTION}
++      ${INSTALL_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man${MANSECTION}
++      ${INSTALL_MAN} ${PKGNAME}.${MANSECTION} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man${MANSECTION}
+ 
+ # GENFILES
+ 



Home | Main Index | Thread Index | Old Index