pkgsrc-Changes-HG archive

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

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



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

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

Override MANDIR=man settings in project Makefiles by passing an
explicit MANDIR=${PKGMANDIR} on the make(1) command line so that
manpages are installed into the correct location under
${PKGMANDIR}.

diffstat:

 sysutils/sformat/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 9d584d1bea19 -r 36ed0b3473f6 sysutils/sformat/Makefile
--- a/sysutils/sformat/Makefile Sat Aug 19 00:25:07 2017 +0000
+++ b/sysutils/sformat/Makefile Sat Aug 19 00:25:19 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2014/10/09 14:07:00 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2017/08/19 00:25:19 jlam Exp $
 #
 
 DISTNAME=      sformat-3.5
@@ -20,7 +20,12 @@
 MAKE_ENV+=     MAKEPROG="gmake"
 MAKE_ENV+=     COPTX=${CFLAGS:M*:Q}
 MAKE_ENV+=     LDOPTX=${LDFLAGS:M*:Q}
-MAKE_FLAGS+=   INS_BASE=${DESTDIR}${LOCALBASE:Q} # won't work in MAKE_ENV!
+
+# Override settings in Makefiles by passing additional settings
+# on the command-line.
+#
+MAKE_FLAGS+=   INS_BASE=${DESTDIR}${LOCALBASE:Q}
+MAKE_FLAGS+=   MANDIR=${PKGMANDIR:Q}
 
 # if we're using a gcc which is named gcc, we need to set CCOM=gcc
 # in MAKE_ENV so the make infrastructure picks the right options.



Home | Main Index | Thread Index | Old Index