summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-09-12 11:18:40 +0000
committerjperkin <jperkin>2013-09-12 11:18:40 +0000
commit3b872e1b92502212bb55f5258424c2b10376a67d (patch)
tree3d26d9bc466bd1ffbcf5d0074f38e45bd42e0d0b /pkgtools/pkglint/Makefile
parent4df8ec2ca5a269c87903ef66568b39bcb0ab1ac0 (diff)
downloadpkgsrc-3b872e1b92502212bb55f5258424c2b10376a67d.tar.gz
Use CATMAN_SECTION_SUFFIX in packages which perform their own catman
page installation.
Diffstat (limited to 'pkgtools/pkglint/Makefile')
-rw-r--r--pkgtools/pkglint/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index b79a47cd1c1..944ea2057cd 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.433 2013/08/15 17:57:44 wiz Exp $
+# $NetBSD: Makefile,v 1.434 2013/09/12 11:18:41 jperkin Exp $
# Note: if you update the version number, please have a look at the
# changes between the CVS tag "pkglint_current" and HEAD.
@@ -71,7 +71,11 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pkglint.pl ${DESTDIR}${PREFIX}/bin/pkglint
${INSTALL_SCRIPT} ${WRKSRC}/plist-clash.pl ${DESTDIR}${PREFIX}/bin/plist-clash
.if !empty(MANINSTALL:Mcatinstall)
+. if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss])
+ ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/pkglint.1
+. else
${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
+. endif
.endif
.if !empty(MANINSTALL:Mmaninstall)
${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1