Take care the case that MANINSTALL does not contain catinstall.
Fixes PR#42690.
This commit is contained in:
parent
8bb2c443ab
commit
afc4e4c5de
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue