From 691ca55fcfdaf7ef0121c9081bb9148a333d5a01 Mon Sep 17 00:00:00 2001 From: seb Date: Fri, 15 Feb 2002 11:56:18 +0000 Subject: Set empty DISTFILES so no fetch is really attempted. Unconditionally set PKGSRC_LOCKTYPE to `none' to avoid bootstrapping problem. Do not generate formatted manual and do not install source manual on Solaris or else we would need to make this package depends on textproc/groff. IMHO this should be avoided for this package as it can be considered a prerequisite for building further packages. --- pkgtools/shlock/Makefile | 13 +++++++++++-- pkgtools/shlock/files/Makefile | 6 +++++- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'pkgtools/shlock') diff --git a/pkgtools/shlock/Makefile b/pkgtools/shlock/Makefile index 9314f86d999..0ad0b484593 100644 --- a/pkgtools/shlock/Makefile +++ b/pkgtools/shlock/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/01/15 13:20:27 agc Exp $ +# $NetBSD: Makefile,v 1.2 2002/02/15 11:56:18 seb Exp $ # DISTNAME= shlock-20020114 CATEGORIES= pkgtools sysutils -MASTER_SITES= # +MASTER_SITES= # empty +DISTFILES= # empty MAINTAINER= packages@netbsd.org #HOMEPAGE= @@ -20,6 +21,14 @@ BUILD_DEFS+= MANINSTALL MAKE_ENV+= BINDIR=${LOCALBASE}/bin MANDIR=${LOCALBASE}/man +.include "../../mk/bsd.prefs.mk" + +PKGSRC_LOCKTYPE= none # avoid "bootstrapping problem" + +.if ${OPSYS} == "SunOS" +MANINSTALL= +.endif + post-extract: @for FILE in Makefile shlock.c shlock.1; do \ ${CP} ${FILESDIR}/$$FILE ${WRKSRC}; \ diff --git a/pkgtools/shlock/files/Makefile b/pkgtools/shlock/files/Makefile index 1a39d6ebf24..1eeb75fe362 100644 --- a/pkgtools/shlock/files/Makefile +++ b/pkgtools/shlock/files/Makefile @@ -1,5 +1,9 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/01/15 13:20:28 agc Exp $ +# $NetBSD: Makefile,v 1.2 2002/02/15 11:56:19 seb Exp $ PROG= shlock +.if (${OPSYS} == SunOS) +NOMAN= YES +.endif + .include -- cgit v1.2.3