pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/i810switch sysutils/i810switch: Install manpa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db39e9fdcf54
branches:  trunk
changeset: 366878:db39e9fdcf54
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Aug 19 00:21:13 2017 +0000

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

Modify the Makefile patch to properly install manpages under
${PKGMANDIR}.  The previous rules were inconsistent -- some places
referred to "man/" and others to "${PKGMANDIR}/".

diffstat:

 sysutils/i810switch/distinfo         |  4 ++--
 sysutils/i810switch/patches/patch-aa |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 2fafa9030f54 -r db39e9fdcf54 sysutils/i810switch/distinfo
--- a/sysutils/i810switch/distinfo      Sat Aug 19 00:21:01 2017 +0000
+++ b/sysutils/i810switch/distinfo      Sat Aug 19 00:21:13 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.5 2015/11/04 01:32:17 agc Exp $
+$NetBSD: distinfo,v 1.6 2017/08/19 00:21:13 jlam Exp $
 
 SHA1 (i810switch-0.6.5.tar.gz) = 437adeb38f6530b5e68810fc5ee65fb5adaafd97
 RMD160 (i810switch-0.6.5.tar.gz) = 4acaea0c7c4197cdff30885a51f65cda3d3a6df9
 SHA512 (i810switch-0.6.5.tar.gz) = f7d14b933b39bb4274ec2c156c422927c6a5b7b16e3474a2cf9f80b9798062980642deb19d67ad7946a5a3ccc91465c3c09d113485a9526a5c75c8e625ec6079
 Size (i810switch-0.6.5.tar.gz) = 24287 bytes
-SHA1 (patch-aa) = 3ce603e429331362679a3becd2c7bfa71d5a8ac2
+SHA1 (patch-aa) = f31cd3bdc66a5404262f94840a97e9fd49a41956
 SHA1 (patch-ab) = 6257493b9b399d1c2a4ebce29a51f8e5f2fd193f
 SHA1 (patch-ac) = f54352d697787feded8af74043a0f97eabb131f3
diff -r 2fafa9030f54 -r db39e9fdcf54 sysutils/i810switch/patches/patch-aa
--- a/sysutils/i810switch/patches/patch-aa      Sat Aug 19 00:21:01 2017 +0000
+++ b/sysutils/i810switch/patches/patch-aa      Sat Aug 19 00:21:13 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2011/10/01 22:32:11 dholland Exp $
+$NetBSD: patch-aa,v 1.5 2017/08/19 00:21:13 jlam Exp $
 --- Makefile.orig      2003-12-31 09:51:40.000000000 -0500
 +++ Makefile   2006-12-03 23:40:16.000000000 -0500
 @@ -1,7 +1,5 @@
@@ -21,10 +21,10 @@
 -      install i810switch.1.gz i810rotate.1.gz $(DESTDIR)/usr/share/man/man1
 +      install -d ${DESTDIR}$(PREFIX)/bin
 +      install -d ${DESTDIR}$(PREFIX)/sbin
-+      install -d ${DESTDIR}$(PREFIX)/man/man1
++      install -d ${DESTDIR}$(PREFIX)/${PKGMANDIR}/man1
 +      install i810switch ${DESTDIR}$(PREFIX)/sbin
 +      ln -s i810switch ${DESTDIR}$(PREFIX)/sbin/i810rotate
-+      install -m $(MANMODE) i810switch.1.gz i810rotate.1.gz ${DESTDIR}$(PREFIX)/man/man1
++      install -m $(MANMODE) i810switch.1.gz i810rotate.1.gz ${DESTDIR}$(PREFIX)/${PKGMANDIR}/man1
 +      gunzip ${DESTDIR}$(PREFIX)/${PKGMANDIR}/man1/i810switch.1.gz
 +      gunzip ${DESTDIR}$(PREFIX)/${PKGMANDIR}/man1/i810rotate.1.gz
  



Home | Main Index | Thread Index | Old Index