diff options
author | jlam <jlam@pkgsrc.org> | 2017-08-19 00:22:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2017-08-19 00:22:23 +0000 |
commit | 12a5d06cf52565ee0e68bfb9b056162206ca9a39 (patch) | |
tree | 4ec5126ffe1ea11dbc04caeeadf7ed7d6d3b52c3 | |
parent | 109342cd4223a8b0f29f95c2a01fdd83befb9fb6 (diff) | |
download | pkgsrc-12a5d06cf52565ee0e68bfb9b056162206ca9a39.tar.gz |
textproc/lowdown: Install manpages into ${PKGMANDIR}.
Use mk/subst.mk to replace the MANDIR definition in the configure
script to point into ${PKGMANDIR}.
-rw-r--r-- | textproc/lowdown/Makefile | 5 |
1 files 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. |