head	1.14;
access;
symbols
	pkgsrc-2026Q1:1.14.0.8
	pkgsrc-2026Q1-base:1.14
	pkgsrc-2025Q4:1.14.0.6
	pkgsrc-2025Q4-base:1.14
	pkgsrc-2025Q3:1.14.0.4
	pkgsrc-2025Q3-base:1.14
	pkgsrc-2025Q2:1.14.0.2
	pkgsrc-2025Q2-base:1.14
	pkgsrc-2025Q1:1.12.0.90
	pkgsrc-2025Q1-base:1.12
	pkgsrc-2024Q4:1.12.0.88
	pkgsrc-2024Q4-base:1.12
	pkgsrc-2024Q3:1.12.0.86
	pkgsrc-2024Q3-base:1.12
	pkgsrc-2024Q2:1.12.0.84
	pkgsrc-2024Q2-base:1.12
	pkgsrc-2024Q1:1.12.0.82
	pkgsrc-2024Q1-base:1.12
	pkgsrc-2023Q4:1.12.0.80
	pkgsrc-2023Q4-base:1.12
	pkgsrc-2023Q3:1.12.0.78
	pkgsrc-2023Q3-base:1.12
	pkgsrc-2023Q2:1.12.0.76
	pkgsrc-2023Q2-base:1.12
	pkgsrc-2023Q1:1.12.0.74
	pkgsrc-2023Q1-base:1.12
	pkgsrc-2022Q4:1.12.0.72
	pkgsrc-2022Q4-base:1.12
	pkgsrc-2022Q3:1.12.0.70
	pkgsrc-2022Q3-base:1.12
	pkgsrc-2022Q2:1.12.0.68
	pkgsrc-2022Q2-base:1.12
	pkgsrc-2022Q1:1.12.0.66
	pkgsrc-2022Q1-base:1.12
	pkgsrc-2021Q4:1.12.0.64
	pkgsrc-2021Q4-base:1.12
	pkgsrc-2021Q3:1.12.0.62
	pkgsrc-2021Q3-base:1.12
	pkgsrc-2021Q2:1.12.0.60
	pkgsrc-2021Q2-base:1.12
	pkgsrc-2021Q1:1.12.0.58
	pkgsrc-2021Q1-base:1.12
	pkgsrc-2020Q4:1.12.0.56
	pkgsrc-2020Q4-base:1.12
	pkgsrc-2020Q3:1.12.0.54
	pkgsrc-2020Q3-base:1.12
	pkgsrc-2020Q2:1.12.0.50
	pkgsrc-2020Q2-base:1.12
	pkgsrc-2020Q1:1.12.0.30
	pkgsrc-2020Q1-base:1.12
	pkgsrc-2019Q4:1.12.0.52
	pkgsrc-2019Q4-base:1.12
	pkgsrc-2019Q3:1.12.0.48
	pkgsrc-2019Q3-base:1.12
	pkgsrc-2019Q2:1.12.0.46
	pkgsrc-2019Q2-base:1.12
	pkgsrc-2019Q1:1.12.0.44
	pkgsrc-2019Q1-base:1.12
	pkgsrc-2018Q4:1.12.0.42
	pkgsrc-2018Q4-base:1.12
	pkgsrc-2018Q3:1.12.0.40
	pkgsrc-2018Q3-base:1.12
	pkgsrc-2018Q2:1.12.0.38
	pkgsrc-2018Q2-base:1.12
	pkgsrc-2018Q1:1.12.0.36
	pkgsrc-2018Q1-base:1.12
	pkgsrc-2017Q4:1.12.0.34
	pkgsrc-2017Q4-base:1.12
	pkgsrc-2017Q3:1.12.0.32
	pkgsrc-2017Q3-base:1.12
	pkgsrc-2017Q2:1.12.0.28
	pkgsrc-2017Q2-base:1.12
	pkgsrc-2017Q1:1.12.0.26
	pkgsrc-2017Q1-base:1.12
	pkgsrc-2016Q4:1.12.0.24
	pkgsrc-2016Q4-base:1.12
	pkgsrc-2016Q3:1.12.0.22
	pkgsrc-2016Q3-base:1.12
	pkgsrc-2016Q2:1.12.0.20
	pkgsrc-2016Q2-base:1.12
	pkgsrc-2016Q1:1.12.0.18
	pkgsrc-2016Q1-base:1.12
	pkgsrc-2015Q4:1.12.0.16
	pkgsrc-2015Q4-base:1.12
	pkgsrc-2015Q3:1.12.0.14
	pkgsrc-2015Q3-base:1.12
	pkgsrc-2015Q2:1.12.0.12
	pkgsrc-2015Q2-base:1.12
	pkgsrc-2015Q1:1.12.0.10
	pkgsrc-2015Q1-base:1.12
	pkgsrc-2014Q4:1.12.0.8
	pkgsrc-2014Q4-base:1.12
	pkgsrc-2014Q3:1.12.0.6
	pkgsrc-2014Q3-base:1.12
	pkgsrc-2014Q2:1.12.0.4
	pkgsrc-2014Q2-base:1.12
	pkgsrc-2014Q1:1.12.0.2
	pkgsrc-2014Q1-base:1.12
	pkgsrc-2013Q4:1.11.0.12
	pkgsrc-2013Q4-base:1.11
	pkgsrc-2013Q3:1.11.0.10
	pkgsrc-2013Q3-base:1.11
	pkgsrc-2013Q2:1.11.0.8
	pkgsrc-2013Q2-base:1.11
	pkgsrc-2013Q1:1.11.0.6
	pkgsrc-2013Q1-base:1.11
	pkgsrc-2012Q4:1.11.0.4
	pkgsrc-2012Q4-base:1.11
	pkgsrc-2012Q3:1.11.0.2
	pkgsrc-2012Q3-base:1.11
	pkgsrc-2012Q2:1.10.0.20
	pkgsrc-2012Q2-base:1.10
	pkgsrc-2012Q1:1.10.0.18
	pkgsrc-2012Q1-base:1.10
	pkgsrc-2011Q4:1.10.0.16
	pkgsrc-2011Q4-base:1.10
	pkgsrc-2011Q3:1.10.0.14
	pkgsrc-2011Q3-base:1.10
	pkgsrc-2011Q2:1.10.0.12
	pkgsrc-2011Q2-base:1.10
	pkgsrc-2011Q1:1.10.0.10
	pkgsrc-2011Q1-base:1.10
	pkgsrc-2010Q4:1.10.0.8
	pkgsrc-2010Q4-base:1.10
	pkgsrc-2010Q3:1.10.0.6
	pkgsrc-2010Q3-base:1.10
	pkgsrc-2010Q2:1.10.0.4
	pkgsrc-2010Q2-base:1.10
	pkgsrc-2010Q1:1.10.0.2
	pkgsrc-2010Q1-base:1.10
	pkgsrc-2009Q4:1.9.0.6
	pkgsrc-2009Q4-base:1.9
	pkgsrc-2009Q3:1.9.0.4
	pkgsrc-2009Q3-base:1.9
	pkgsrc-2009Q2:1.9.0.2
	pkgsrc-2009Q2-base:1.9
	pkgsrc-2009Q1:1.7.0.12
	pkgsrc-2009Q1-base:1.7
	pkgsrc-2008Q4:1.7.0.10
	pkgsrc-2008Q4-base:1.7
	pkgsrc-2008Q3:1.7.0.8
	pkgsrc-2008Q3-base:1.7
	cube-native-xorg:1.7.0.6
	cube-native-xorg-base:1.7
	pkgsrc-2008Q2:1.7.0.4
	pkgsrc-2008Q2-base:1.7
	cwrapper-base:1.7
	cwrapper:1.7.0.2
	pkgsrc-2008Q1:1.4.0.6
	pkgsrc-2008Q1-base:1.4
	pkgsrc-2007Q4:1.4.0.4
	pkgsrc-2007Q4-base:1.4
	pkgsrc-2007Q3:1.4.0.2
	pkgsrc-2007Q3-base:1.4
	pkgsrc-2007Q2:1.2.0.8
	pkgsrc-2007Q2-base:1.2
	pkgsrc-2007Q1:1.2.0.6
	pkgsrc-2007Q1-base:1.2
	pkgsrc-2006Q4:1.2.0.4
	pkgsrc-2006Q4-base:1.2
	pkgsrc-2006Q3:1.2.0.2
	pkgsrc-2006Q3-base:1.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.14
date	2025.04.21.15.58.55;	author wiz;	state Exp;
branches;
next	1.13;
commitid	Rg8MkvEAA3Il2WRF;

1.13
date	2025.04.19.08.07.27;	author wiz;	state Exp;
branches;
next	1.12;
commitid	ihnGLXtCRt4BuDRF;

1.12
date	2014.03.03.03.30.52;	author obache;	state Exp;
branches;
next	1.11;
commitid	RGe4yMnOqcXLCcrx;

1.11
date	2012.09.11.23.19.34;	author asau;	state Exp;
branches;
next	1.10;

1.10
date	2010.02.06.10.26.09;	author obache;	state Exp;
branches;
next	1.9;

1.9
date	2009.04.09.00.48.10;	author joerg;	state Exp;
branches;
next	1.8;

1.8
date	2009.04.08.22.43.24;	author joerg;	state Exp;
branches;
next	1.7;

1.7
date	2008.06.19.18.36.51;	author joerg;	state Exp;
branches;
next	1.6;

1.6
date	2008.06.19.18.12.18;	author joerg;	state Exp;
branches;
next	1.5;

1.5
date	2008.04.12.22.43.09;	author jlam;	state Exp;
branches;
next	1.4;

1.4
date	2007.07.02.13.34.14;	author tnn;	state Exp;
branches;
next	1.3;

1.3
date	2007.07.01.23.27.43;	author tnn;	state Exp;
branches;
next	1.2;

1.2
date	2006.08.24.17.46.53;	author wiz;	state Exp;
branches
	1.2.8.1;
next	1.1;

1.1
date	2006.07.17.14.21.31;	author jlam;	state Exp;
branches
	1.1.1.1;
next	;

1.2.8.1
date	2007.07.09.14.10.58;	author ghen;	state Exp;
branches;
next	;

1.1.1.1
date	2006.07.17.14.21.31;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.14
log
@bootstrap-extra-files: update to 20250308.

Remove Interix support.
@
text
@# $NetBSD: Makefile,v 1.13 2025/04/19 08:07:27 wiz Exp $

PKGNAME=	bootstrap-extra-files-20250308
CATEGORIES=	pkgtools

MAINTAINER=	pkgsrc-users@@NetBSD.org
COMMENT=	Extra bootstrap files and scripts for ${OPSYS}

POLICY_UPDATE_LIMITED=	bootstrap

BOOTSTRAP_PKG=	yes

NO_CONFIGURE=	yes
NO_BUILD=	yes

.include "../../mk/bsd.prefs.mk"

EXTRA_FILES=	fakeldd mkdir strip
PLIST_VARS+=	${EXTRA_FILES}

.PHONY: ${EXTRA_FILES:S/^/do-install-/}

NEED_FAKELDD=		Haiku IRIX
.if !empty(NEED_FAKELDD:M${OPSYS})
PLIST.fakeldd=		yes
do-install:		do-install-fakeldd
.endif

NEED_MKDIR=		UnixWare
.if !empty(NEED_MKDIR:M${OPSYS})
PLIST.mkdir=		yes
do-install:		do-install-mkdir
.endif

NEED_STRIP=		AIX
.if !empty(NEED_STRIP:M${OPSYS})
PLIST.strip=		yes
do-install:		do-install-strip
.endif

do-extract:
	${CP} -R ${FILESDIR} ${WRKSRC}

do-install:
	@@${ECHO} ${.ALLSRC}

do-install-fakeldd:
	${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/sbin
.if ${OPSYS} == "Haiku"
	${INSTALL_SCRIPT} ${WRKSRC}/fakeldd-${OPSYS} ${DESTDIR}${PREFIX}/sbin/fakeldd
.else
	${INSTALL_SCRIPT} ${WRKSRC}/fakeldd ${DESTDIR}${PREFIX}/sbin/fakeldd
.endif

do-install-mkdir:
	${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/mkdir-sh ${DESTDIR}${PREFIX}/bin/mkdir-sh

do-install-strip:
	${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/strip-sh ${DESTDIR}${PREFIX}/bin/strip

.include "../../mk/bsd.pkg.mk"
@


1.13
log
@*: mark bootstrap packages with POLICY_UPDATE_LIMITED=bootstrap
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2014/03/03 03:30:52 obache Exp $
d3 1
a3 1
PKGNAME=	bootstrap-extra-files-20070702
d18 1
a18 1
EXTRA_FILES=	fakeldd mkdir strip xargs
a40 6
NEED_XARGS=		Interix
.if !empty(NEED_XARGS:M${OPSYS})
PLIST.xargs=		yes
do-install:		do-install-xargs
.endif

a62 4
do-install-xargs:
	${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/xargs-sh ${DESTDIR}${PREFIX}/bin/xargs

@


1.12
log
@Just define PKGNAME and use it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2012/09/11 23:19:34 asau Exp $
d9 2
@


1.11
log
@"user-destdir" is default these days
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2010/02/06 10:26:09 obache Exp $
d3 1
a3 1
DISTNAME=	bootstrap-extra-files-20070702
a4 2
MASTER_SITES=	# empty
DISTFILES=	# empty
@


1.10
log
@Added fakeldd for Haiku.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2009/04/09 00:48:10 joerg Exp $
a10 1
PKG_DESTDIR_SUPPORT=	user-destdir
@


1.9
log
@Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2009/04/08 22:43:24 joerg Exp $
d24 1
a24 1
NEED_FAKELDD=		IRIX
d56 3
d60 1
@


1.8
log
@Remove the remaining NO_MTREE definitions, it has been a nop for a
while.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2008/06/19 18:36:51 joerg Exp $
a13 1
NO_CHECKSUM=	yes
@


1.7
log
@Add a marker for bootstrap packages to allow special cases them during
bulk builds.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2008/06/19 18:12:18 joerg Exp $
a14 1
NO_MTREE=	yes
@


1.6
log
@Add DESTDIR support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2008/04/12 22:43:09 jlam Exp $
d12 1
@


1.5
log
@Convert to use PLIST_VARS instead of manually passing "@@comment "
through PLIST_SUBST to the plist module.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2007/07/02 13:34:14 tnn Exp $
d11 2
d56 2
a57 2
	${INSTALL_SCRIPT_DIR} ${PREFIX}/sbin
	${INSTALL_SCRIPT} ${WRKSRC}/fakeldd ${PREFIX}/sbin/fakeldd
d60 2
a61 2
	${INSTALL_SCRIPT_DIR} ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/mkdir-sh ${PREFIX}/bin/mkdir-sh
d64 2
a65 2
	${INSTALL_SCRIPT_DIR} ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/strip-sh ${PREFIX}/bin/strip
d68 2
a69 2
	${INSTALL_SCRIPT_DIR} ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/xargs-sh ${PREFIX}/bin/xargs
@


1.4
log
@Correct previous. (sigh, I am not good with numbers)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2007/07/01 23:27:43 tnn Exp $
d18 28
a45 19
OPSYSVARS+=		NEED_FAKELDD
NEED_FAKELDD.IRIX=	# empty
NEED_FAKELDD.*=		"@@comment "
PLIST_SUBST+=		NEED_FAKELDD=${NEED_FAKELDD}

OPSYSVARS+=		NEED_MKDIR
NEED_MKDIR.UnixWare=	# empty
NEED_MKDIR.*=		"@@comment "
PLIST_SUBST+=		NEED_MKDIR=${NEED_MKDIR}

OPSYSVARS+=		NEED_STRIP
NEED_STRIP.AIX=		# empty
NEED_STRIP.*=		"@@comment "
PLIST_SUBST+=		NEED_STRIP=${NEED_STRIP}

OPSYSVARS+=		NEED_XARGS
NEED_XARGS.Interix=	# empty
NEED_XARGS.*=		"@@comment "
PLIST_SUBST+=		NEED_XARGS=${NEED_XARGS}
d51 17
a67 20
	if ${TEST} -z ${NEED_FAKELDD:M*:Q}""; then			\
		${INSTALL_SCRIPT_DIR} ${PREFIX}/sbin;			\
		${INSTALL_SCRIPT} ${WRKSRC}/fakeldd			\
			${PREFIX}/sbin/fakeldd;				\
	fi
	if ${TEST} -z ${NEED_MKDIR:M*:Q}""; then			\
		${INSTALL_SCRIPT_DIR} ${PREFIX}/bin;			\
		${INSTALL_SCRIPT} ${WRKSRC}/mkdir-sh			\
			${PREFIX}/bin/mkdir-sh;				\
	fi
	if ${TEST} -z ${NEED_STRIP:M*:Q}""; then			\
		${INSTALL_SCRIPT_DIR} ${PREFIX}/bin;			\
		${INSTALL_SCRIPT} ${WRKSRC}/strip-sh			\
			${PREFIX}/bin/strip;				\
	fi
	if ${TEST} -z ${NEED_XARGS:M*:Q}""; then			\
		${INSTALL_SCRIPT_DIR} ${PREFIX}/bin;			\
		${INSTALL_SCRIPT} ${WRKSRC}/xargs-sh			\
			${PREFIX}/bin/xargs;				\
	fi
@


1.3
log
@xargs(1) on Interix is broken. It executes the utility on the command line
even if standard input is the empty string. Install a wrapper script
bundled with pkgtools/bootstrap-extras to deal with this. This is an
attempt at a permanent workaround for the problem described in PR pkg/25777
which has regressed since it was initially fixed.

We can now bootstrap again on Interix 3.5.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2006/08/24 17:46:53 wiz Exp $
d3 1
a3 1
DISTNAME=	bootstrap-extra-files-20070202
@


1.2
log
@Fix a pasto.
Correct installation logic -- it was reversed.
Bump version number, since package was completely broken.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2006/07/17 14:21:31 jlam Exp $
d3 1
a3 1
DISTNAME=	bootstrap-extra-files-20060824
d33 5
d57 5
@


1.2.8.1
log
@Pullup ticket 2127 - requested by tnn
build fix for bootstrap

- pkgsrc/bootstrap/bootstrap				1.99
- pkgsrc/pkgtools/bootstrap-extras/Makefile		1.3
- pkgsrc/pkgtools/bootstrap-extras/PLIST		1.2
- pkgsrc/pkgtools/bootstrap-extras/files/xargs-sh	1.1

   Module Name:	pkgsrc
   Committed By:	tnn
   Date:		Sun Jul  1 23:27:43 UTC 2007

   Modified Files:
	   pkgsrc/bootstrap: bootstrap
	   pkgsrc/pkgtools/bootstrap-extras: Makefile PLIST
   Added Files:
	   pkgsrc/pkgtools/bootstrap-extras/files: xargs-sh

   Log Message:
   xargs(1) on Interix is broken. It executes the utility on the command
   line even if standard input is the empty string. Install a wrapper
   script bundled with pkgtools/bootstrap-extras to deal with this. This
   is an attempt at a permanent workaround for the problem described in PR
   pkg/25777 which has regressed since it was initially fixed.

   We can now bootstrap again on Interix 3.5.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2006/08/24 17:46:53 wiz Exp $
d3 1
a3 1
DISTNAME=	bootstrap-extra-files-20070202
a32 5
OPSYSVARS+=		NEED_XARGS
NEED_XARGS.Interix=	# empty
NEED_XARGS.*=		"@@comment "
PLIST_SUBST+=		NEED_XARGS=${NEED_XARGS}

a51 5
	if ${TEST} -z ${NEED_XARGS:M*:Q}""; then			\
		${INSTALL_SCRIPT_DIR} ${PREFIX}/bin;			\
		${INSTALL_SCRIPT} ${WRKSRC}/xargs-sh			\
			${PREFIX}/bin/xargs;				\
	fi
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	bootstrap-extra-files-20060714
d9 1
a9 1
COMMENT=	extra bootstrap files and scripts for ${OPSYS}
d24 2
a25 2
NEED_STRIP.UnixWare=	# empty
NEED_STRIP.*=		"@@comment "
d34 1
a34 1
	@@${CP} -R ${FILESDIR} ${WRKSRC}
d37 1
a37 1
	if ${TEST} -n ${NEED_FAKELDD:M*:Q}""; then			\
d42 1
a42 1
	if ${TEST} -n ${NEED_MKDIR:M*:Q}""; then			\
d47 1
a47 1
	if ${TEST} -n ${NEED_STRIP:M*:Q}""; then			\
@


1.1.1.1
log
@This package provides extra files and scripts needed to bootstrap pkgsrc
on this platform.  These files come from pkgsrc/bootstrap.
@
text
@@
