pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/lowdown textproc/lowdown: Install manpages in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6853fb683b5f
branches:  trunk
changeset: 366883:6853fb683b5f
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Aug 19 00:22:23 2017 +0000

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

Use mk/subst.mk to replace the MANDIR definition in the configure
script to point into ${PKGMANDIR}.

diffstat:

 textproc/lowdown/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 0989a4483025 -r 6853fb683b5f textproc/lowdown/Makefile
--- a/textproc/lowdown/Makefile Sat Aug 19 00:22:11 2017 +0000
+++ b/textproc/lowdown/Makefile Sat Aug 19 00:22:23 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2017/03/08 15:05:02 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2017/08/19 00:22:23 jlam Exp $
 
 DISTNAME=      lowdown-0.1.9
 CATEGORIES=    textproc
@@ -14,7 +14,8 @@
 HAS_CONFIGURE= yes
 
 SUBST_CLASSES+=                install
-SUBST_SED.install+=    -e 's,/usr/local,${PREFIX},'
+SUBST_SED.install+=    -e 's,/usr/local,${PREFIX},' \
+                       -e 's,^MANDIR=.*,MANDIR=${PREFIX}/${PKGMANDIR},'
 SUBST_FILES.install+=  configure
 SUBST_STAGE.install=   pre-configure
 SUBST_MESSAGE.install= Fixing installation path.



Home | Main Index | Thread Index | Old Index