summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-02-15 10:42:52 +0000
committerjperkin <jperkin@pkgsrc.org>2014-02-15 10:42:52 +0000
commit9ceeaf85839d2fa4a1f09a7e81e8d35b5f65565c (patch)
tree94b42174b0cf74ad2706dad9cd1db6d3a002939a
parent29b31bb6a6dc60716a8d4f6a2f4160656b24ce76 (diff)
downloadpkgsrc-9ceeaf85839d2fa4a1f09a7e81e8d35b5f65565c.tar.gz
Only install the catman page if catinstall is defined. Noticed by tron@
-rw-r--r--devel/bmake/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/bmake/Makefile b/devel/bmake/Makefile
index dde50977db5..4285177e0bf 100644
--- a/devel/bmake/Makefile
+++ b/devel/bmake/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2014/02/14 16:09:18 jperkin Exp $
+# $NetBSD: Makefile,v 1.65 2014/02/15 10:42:52 jperkin Exp $
DISTNAME= bmake-20140214
CATEGORIES= devel
@@ -54,10 +54,12 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bmake ${DESTDIR}${PREFIX}/bin
-.if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss])
+.if !empty(MANINSTALL:Mcatinstall)
+ .if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss])
${INSTALL_MAN} ${WRKSRC}/bmake.cat1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/bmake.1
-.else
+ .else
${INSTALL_MAN} ${WRKSRC}/bmake.cat1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/bmake.0
+ .endif
.endif
${INSTALL_MAN} ${WRKSRC}/bmake.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1