pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Fixed man page handling on platforms ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dcd420551839
branches: trunk
changeset: 494322:dcd420551839
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon May 23 07:50:40 2005 +0000
description:
Fixed man page handling on platforms that don't have the mandoc macros.
Together will all the other changes of the last days, this makes up version
4.16. Most changes affected the elimination of false warnings.
diffstat:
pkgtools/pkglint/Makefile | 26 ++++++++++++--------------
1 files changed, 12 insertions(+), 14 deletions(-)
diffs (73 lines):
diff -r 7ad1ed084213 -r dcd420551839 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Mon May 23 07:30:03 2005 +0000
+++ b/pkgtools/pkglint/Makefile Mon May 23 07:50:40 2005 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.237 2005/05/18 21:06:58 wiz Exp $
+# $NetBSD: Makefile,v 1.238 2005/05/23 07:50:40 rillig Exp $
#
-DISTNAME= pkglint-4.15.1
+DISTNAME= pkglint-4.16
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= rillig%NetBSD.org@localhost
-HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html
+HOMEPAGE= http://www.netbsd.org/Documentation/pkgsrc/
COMMENT= Verifier for NetBSD packages and complete pkgsrc tree
DEPENDS+= digest>=20010101:../../pkgtools/digest
@@ -20,6 +20,7 @@
NO_CHECKSUM= yes
NO_CONFIGURE= yes
NO_TOOLS= yes
+NO_BUILD= yes
USE_LANGUAGES= # empty
DISTVER= ${DISTNAME:S/pkglint-//}
@@ -27,7 +28,7 @@
INSTALLATION_DIRS= bin man/cat1 man/man1 share/pkglint
SUBST_CLASSES+= pkglint
-SUBST_STAGE.pkglint= pre-build
+SUBST_STAGE.pkglint= post-patch
SUBST_FILES.pkglint+= lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
SUBST_FILES.pkglint+= pkglint.0 pkglint.1 pkglint.pl
SUBST_FILES.pkglint+= plist-clash.pl
@@ -40,28 +41,25 @@
.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "AIX" || ${OPSYS} == "SunOS"
+MANINSTALL= catinstall
+.endif
+
do-extract:
.for _f_ in ${SUBST_FILES.pkglint}
@${CP} ${FILESDIR}/${_f_} ${WRKSRC}/${_f_}
.endfor
-do-build:
- @${DO_NADA}
-.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
- # the pre-generated man-pages are 'mandoc'; these OS need 'man'
-. for FILE in lintpkgsrc pkglint
- nroff -man ${WRKSRC}/${FILE}.1 > ${WRKSRC}/${FILE}.0
-. endfor
-.endif
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pkglint.pl ${PREFIX}/bin/pkglint
${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc.pl ${PREFIX}/bin/lintpkgsrc
${INSTALL_SCRIPT} ${WRKSRC}/plist-clash.pl ${PREFIX}/bin/plist-clash
${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1
+.if !empty(MANINSTALL:Mmaninstall)
${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
+.endif
${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1
- ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${FILESDIR}/makevars.map ${PREFIX}/share/pkglint/
${INSTALL_DATA} ${FILESDIR}/deprecated.map ${PREFIX}/share/pkglint/
Home |
Main Index |
Thread Index |
Old Index