summaryrefslogtreecommitdiff
path: root/pkgtools/lintpkgsrc
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-01-31 11:38:48 +0000
committerobache <obache@pkgsrc.org>2010-01-31 11:38:48 +0000
commitafc4e4c5ded1bccff5e9d708c4e8acff1302f3c2 (patch)
treed1037390907cdffb3faaaa7b278afa54af595c79 /pkgtools/lintpkgsrc
parent8bb2c443ab98ccf8a3d65c2e54412659114d469a (diff)
downloadpkgsrc-afc4e4c5ded1bccff5e9d708c4e8acff1302f3c2.tar.gz
Take care the case that MANINSTALL does not contain catinstall.
Fixes PR#42690.
Diffstat (limited to 'pkgtools/lintpkgsrc')
-rw-r--r--pkgtools/lintpkgsrc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/lintpkgsrc/Makefile b/pkgtools/lintpkgsrc/Makefile
index 0f5e9a44fe3..e5ec6160c48 100644
--- a/pkgtools/lintpkgsrc/Makefile
+++ b/pkgtools/lintpkgsrc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/04/09 00:48:11 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2010/01/31 11:38:48 obache Exp $
#
DISTNAME= lintpkgsrc-4.82
@@ -44,7 +44,9 @@ do-extract:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc.pl ${DESTDIR}${PREFIX}/bin/lintpkgsrc
+.if !empty(MANINSTALL:Mcatinstall)
${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
+.endif
.if !empty(MANINSTALL:Mmaninstall)
${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.endif