summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-02-14 16:09:18 +0000
committerjperkin <jperkin@pkgsrc.org>2014-02-14 16:09:18 +0000
commit3ed88cf3becaa01b1214d8bf95dbe46dfa93de0e (patch)
treeb7814be17b2a0fd922c2c4051dae921a62aa24ad /devel
parentf13f8a5c077ae308e2582ea3a56fd137cd0a9ef6 (diff)
downloadpkgsrc-3ed88cf3becaa01b1214d8bf95dbe46dfa93de0e.tar.gz
bmake-20140214: Install the catman page.
Diffstat (limited to 'devel')
-rw-r--r--devel/bmake/Makefile12
-rw-r--r--devel/bmake/PLIST3
2 files changed, 10 insertions, 5 deletions
diff --git a/devel/bmake/Makefile b/devel/bmake/Makefile
index 7ff7850eab3..dde50977db5 100644
--- a/devel/bmake/Makefile
+++ b/devel/bmake/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.63 2013/02/26 00:52:20 christos Exp $
+# $NetBSD: Makefile,v 1.64 2014/02/14 16:09:18 jperkin Exp $
-DISTNAME= bmake-20110606
-PKGREVISION= 1
+DISTNAME= bmake-20140214
CATEGORIES= devel
MASTER_SITES= # empty
DISTFILES= # empty
@@ -24,7 +23,7 @@ USE_FEATURES= nbcompat
makesyspath= ${PREFIX}/share/mk
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
@@ -55,6 +54,11 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bmake ${DESTDIR}${PREFIX}/bin
+.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
+ ${INSTALL_MAN} ${WRKSRC}/bmake.cat1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/bmake.0
+.endif
${INSTALL_MAN} ${WRKSRC}/bmake.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
do-test:
diff --git a/devel/bmake/PLIST b/devel/bmake/PLIST
index 3b83a55a529..04c91385846 100644
--- a/devel/bmake/PLIST
+++ b/devel/bmake/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2006/07/14 15:18:17 jlam Exp $
+@comment $NetBSD: PLIST,v 1.3 2014/02/14 16:09:18 jperkin Exp $
bin/bmake
+man/cat1/bmake.0
man/man1/bmake.1