summaryrefslogtreecommitdiff
path: root/sysutils/sformat
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2017-08-19 00:25:19 +0000
committerjlam <jlam@pkgsrc.org>2017-08-19 00:25:19 +0000
commit747680346310302142d959636370ebc2b927cd01 (patch)
tree7b7dd6068fdd3b60d28de80ea9e2867026385deb /sysutils/sformat
parent762279f7903b3c29123e77e920d3cdbd8d35cf07 (diff)
downloadpkgsrc-747680346310302142d959636370ebc2b927cd01.tar.gz
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 (limited to 'sysutils/sformat')
-rw-r--r--sysutils/sformat/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/sformat/Makefile b/sysutils/sformat/Makefile
index 2e256e7efb4..72a019df5c2 100644
--- a/sysutils/sformat/Makefile
+++ b/sysutils/sformat/Makefile
@@ -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+= ARCH=""
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.