From 12a5d06cf52565ee0e68bfb9b056162206ca9a39 Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 19 Aug 2017 00:22:23 +0000 Subject: textproc/lowdown: Install manpages into ${PKGMANDIR}. Use mk/subst.mk to replace the MANDIR definition in the configure script to point into ${PKGMANDIR}. --- textproc/lowdown/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/textproc/lowdown/Makefile b/textproc/lowdown/Makefile index 601e3e46ce8..434b84d1421 100644 --- a/textproc/lowdown/Makefile +++ b/textproc/lowdown/Makefile @@ -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 @@ WRKSRC= ${WRKDIR}/lowdown-${GITHUB_TAG} 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. -- cgit v1.2.3