diff options
author | obache <obache@pkgsrc.org> | 2010-01-31 11:38:48 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-01-31 11:38:48 +0000 |
commit | 75e6c418e2e221e39e1c98fc2f3b645299762341 (patch) | |
tree | d1037390907cdffb3faaaa7b278afa54af595c79 /pkgtools | |
parent | 887510d3ba212c087a96e72e43b8f5d97588b9a6 (diff) | |
download | pkgsrc-75e6c418e2e221e39e1c98fc2f3b645299762341.tar.gz |
Take care the case that MANINSTALL does not contain catinstall.
Fixes PR#42690.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/lintpkgsrc/Makefile | 4 |
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 |