head	1.43;
access;
symbols
	pkgsrc-2026Q1:1.43.0.34
	pkgsrc-2026Q1-base:1.43
	pkgsrc-2025Q4:1.43.0.32
	pkgsrc-2025Q4-base:1.43
	pkgsrc-2025Q3:1.43.0.30
	pkgsrc-2025Q3-base:1.43
	pkgsrc-2025Q2:1.43.0.28
	pkgsrc-2025Q2-base:1.43
	pkgsrc-2025Q1:1.43.0.26
	pkgsrc-2025Q1-base:1.43
	pkgsrc-2024Q4:1.43.0.24
	pkgsrc-2024Q4-base:1.43
	pkgsrc-2024Q3:1.43.0.22
	pkgsrc-2024Q3-base:1.43
	pkgsrc-2024Q2:1.43.0.20
	pkgsrc-2024Q2-base:1.43
	pkgsrc-2024Q1:1.43.0.18
	pkgsrc-2024Q1-base:1.43
	pkgsrc-2023Q4:1.43.0.16
	pkgsrc-2023Q4-base:1.43
	pkgsrc-2023Q3:1.43.0.14
	pkgsrc-2023Q3-base:1.43
	pkgsrc-2023Q2:1.43.0.12
	pkgsrc-2023Q2-base:1.43
	pkgsrc-2023Q1:1.43.0.10
	pkgsrc-2023Q1-base:1.43
	pkgsrc-2022Q4:1.43.0.8
	pkgsrc-2022Q4-base:1.43
	pkgsrc-2022Q3:1.43.0.6
	pkgsrc-2022Q3-base:1.43
	pkgsrc-2022Q2:1.43.0.4
	pkgsrc-2022Q2-base:1.43
	pkgsrc-2022Q1:1.43.0.2
	pkgsrc-2022Q1-base:1.43
	pkgsrc-2021Q4:1.38.0.2
	pkgsrc-2021Q4-base:1.38
	pkgsrc-2021Q3:1.29.0.20
	pkgsrc-2021Q3-base:1.29
	pkgsrc-2021Q2:1.29.0.18
	pkgsrc-2021Q2-base:1.29
	pkgsrc-2021Q1:1.29.0.16
	pkgsrc-2021Q1-base:1.29
	pkgsrc-2020Q4:1.29.0.14
	pkgsrc-2020Q4-base:1.29
	pkgsrc-2020Q3:1.29.0.12
	pkgsrc-2020Q3-base:1.29
	pkgsrc-2020Q2:1.29.0.10
	pkgsrc-2020Q2-base:1.29
	pkgsrc-2020Q1:1.29.0.6
	pkgsrc-2020Q1-base:1.29
	pkgsrc-2019Q4:1.29.0.8
	pkgsrc-2019Q4-base:1.29
	pkgsrc-2019Q3:1.29.0.4
	pkgsrc-2019Q3-base:1.29
	pkgsrc-2019Q2:1.29.0.2
	pkgsrc-2019Q2-base:1.29
	pkgsrc-2019Q1:1.28.0.16
	pkgsrc-2019Q1-base:1.28
	pkgsrc-2018Q4:1.28.0.14
	pkgsrc-2018Q4-base:1.28
	pkgsrc-2018Q3:1.28.0.12
	pkgsrc-2018Q3-base:1.28
	pkgsrc-2018Q2:1.28.0.10
	pkgsrc-2018Q2-base:1.28
	pkgsrc-2018Q1:1.28.0.8
	pkgsrc-2018Q1-base:1.28
	pkgsrc-2017Q4:1.28.0.6
	pkgsrc-2017Q4-base:1.28
	pkgsrc-2017Q3:1.28.0.4
	pkgsrc-2017Q3-base:1.28
	pkgsrc-2017Q2:1.27.0.8
	pkgsrc-2017Q2-base:1.27
	pkgsrc-2017Q1:1.27.0.6
	pkgsrc-2017Q1-base:1.27
	pkgsrc-2016Q4:1.27.0.4
	pkgsrc-2016Q4-base:1.27
	pkgsrc-2016Q3:1.27.0.2
	pkgsrc-2016Q3-base:1.27
	pkgsrc-2016Q2:1.26.0.8
	pkgsrc-2016Q2-base:1.26
	pkgsrc-2016Q1:1.26.0.6
	pkgsrc-2016Q1-base:1.26
	pkgsrc-2015Q4:1.26.0.4
	pkgsrc-2015Q4-base:1.26
	pkgsrc-2015Q3:1.26.0.2
	pkgsrc-2015Q3-base:1.26
	pkgsrc-2015Q2:1.25.0.4
	pkgsrc-2015Q2-base:1.25
	pkgsrc-2015Q1:1.25.0.2
	pkgsrc-2015Q1-base:1.25
	pkgsrc-2014Q4:1.23.0.22
	pkgsrc-2014Q4-base:1.23
	pkgsrc-2014Q3:1.23.0.20
	pkgsrc-2014Q3-base:1.23
	pkgsrc-2014Q2:1.23.0.18
	pkgsrc-2014Q2-base:1.23
	pkgsrc-2014Q1:1.23.0.16
	pkgsrc-2014Q1-base:1.23
	pkgsrc-2013Q4:1.23.0.14
	pkgsrc-2013Q4-base:1.23
	pkgsrc-2013Q3:1.23.0.12
	pkgsrc-2013Q3-base:1.23
	pkgsrc-2013Q2:1.23.0.10
	pkgsrc-2013Q2-base:1.23
	pkgsrc-2013Q1:1.23.0.8
	pkgsrc-2013Q1-base:1.23
	pkgsrc-2012Q4:1.23.0.6
	pkgsrc-2012Q4-base:1.23
	pkgsrc-2012Q3:1.23.0.4
	pkgsrc-2012Q3-base:1.23
	pkgsrc-2012Q2:1.23.0.2
	pkgsrc-2012Q2-base:1.23
	pkgsrc-2012Q1:1.22.0.24
	pkgsrc-2012Q1-base:1.22
	pkgsrc-2011Q4:1.22.0.22
	pkgsrc-2011Q4-base:1.22
	pkgsrc-2011Q3:1.22.0.20
	pkgsrc-2011Q3-base:1.22
	pkgsrc-2011Q2:1.22.0.18
	pkgsrc-2011Q2-base:1.22
	pkgsrc-2011Q1:1.22.0.16
	pkgsrc-2011Q1-base:1.22
	pkgsrc-2010Q4:1.22.0.14
	pkgsrc-2010Q4-base:1.22
	pkgsrc-2010Q3:1.22.0.12
	pkgsrc-2010Q3-base:1.22
	pkgsrc-2010Q2:1.22.0.10
	pkgsrc-2010Q2-base:1.22
	pkgsrc-2010Q1:1.22.0.8
	pkgsrc-2010Q1-base:1.22
	pkgsrc-2009Q4:1.22.0.6
	pkgsrc-2009Q4-base:1.22
	pkgsrc-2009Q3:1.22.0.4
	pkgsrc-2009Q3-base:1.22
	pkgsrc-2009Q2:1.22.0.2
	pkgsrc-2009Q2-base:1.22
	pkgsrc-2009Q1:1.21.0.8
	pkgsrc-2009Q1-base:1.21
	pkgsrc-2008Q4:1.21.0.6
	pkgsrc-2008Q4-base:1.21
	pkgsrc-2008Q3:1.21.0.4
	pkgsrc-2008Q3-base:1.21
	cube-native-xorg:1.21.0.2
	cube-native-xorg-base:1.21
	pkgsrc-2008Q2:1.20.0.16
	pkgsrc-2008Q2-base:1.20
	cwrapper:1.20.0.14
	pkgsrc-2008Q1:1.20.0.12
	pkgsrc-2008Q1-base:1.20
	pkgsrc-2007Q4:1.20.0.10
	pkgsrc-2007Q4-base:1.20
	pkgsrc-2007Q3:1.20.0.8
	pkgsrc-2007Q3-base:1.20
	pkgsrc-2007Q2:1.20.0.6
	pkgsrc-2007Q2-base:1.20
	pkgsrc-2007Q1:1.20.0.4
	pkgsrc-2007Q1-base:1.20
	pkgsrc-2006Q4:1.20.0.2
	pkgsrc-2006Q4-base:1.20
	pkgsrc-2006Q3:1.19.0.8
	pkgsrc-2006Q3-base:1.19
	pkgsrc-2006Q2:1.19.0.6
	pkgsrc-2006Q2-base:1.19
	pkgsrc-2006Q1:1.19.0.4
	pkgsrc-2006Q1-base:1.19
	pkgsrc-2005Q4:1.19.0.2
	pkgsrc-2005Q4-base:1.19
	pkgsrc-2005Q3:1.16.0.2
	pkgsrc-2005Q3-base:1.16
	pkgsrc-2005Q2:1.15.0.4
	pkgsrc-2005Q2-base:1.15
	pkgsrc-2005Q1:1.15.0.2
	pkgsrc-2005Q1-base:1.15
	pkgsrc-2004Q4:1.14.0.8
	pkgsrc-2004Q4-base:1.14
	pkgsrc-2004Q3:1.14.0.6
	pkgsrc-2004Q3-base:1.14
	pkgsrc-2004Q2:1.14.0.4
	pkgsrc-2004Q2-base:1.14
	pkgsrc-2004Q1:1.14.0.2
	pkgsrc-2004Q1-base:1.14
	pkgsrc-2003Q4:1.10.0.2
	pkgsrc-2003Q4-base:1.10
	netbsd-1-6-1:1.5.0.2
	netbsd-1-6-1-base:1.5
	netbsd-1-6:1.3.0.4
	netbsd-1-6-RELEASE-base:1.3
	pkgviews:1.2.0.4
	pkgviews-base:1.2
	buildlink2:1.2.0.2
	buildlink2-base:1.2
	netbsd-1-5-PATCH003:1.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.43
date	2022.03.17.08.27.31;	author nia;	state Exp;
branches;
next	1.42;
commitid	ymSIkctI8iwuTxwD;

1.42
date	2022.03.03.07.39.00;	author nia;	state Exp;
branches;
next	1.41;
commitid	TdH7Fzdpsm8G4KuD;

1.41
date	2022.03.03.07.30.47;	author nia;	state Exp;
branches;
next	1.40;
commitid	FNQ6qXPbjcvN1KuD;

1.40
date	2022.03.03.03.33.47;	author mrg;	state Exp;
branches;
next	1.39;
commitid	US5fkQpDTYcxIIuD;

1.39
date	2022.02.05.05.39.55;	author mrg;	state Exp;
branches;
next	1.38;
commitid	JVz4Cnyr3MisforD;

1.38
date	2021.12.09.19.55.39;	author kim;	state Exp;
branches;
next	1.37;
commitid	MGKrPOUn14iwP0kD;

1.37
date	2021.11.18.10.20.47;	author kim;	state Exp;
branches;
next	1.36;
commitid	k5iM1RsJeTL9lghD;

1.36
date	2021.11.15.19.54.11;	author kim;	state Exp;
branches;
next	1.35;
commitid	q82q0xslyvIWBVgD;

1.35
date	2021.11.15.17.11.57;	author kim;	state Exp;
branches;
next	1.34;
commitid	f6HgJeDdnBBUBUgD;

1.34
date	2021.11.14.22.36.12;	author kim;	state Exp;
branches;
next	1.33;
commitid	w0bBzlxhC8i0xOgD;

1.33
date	2021.11.14.22.15.13;	author kim;	state Exp;
branches;
next	1.32;
commitid	jiGAPADusPNhqOgD;

1.32
date	2021.11.14.21.53.15;	author mrg;	state Exp;
branches;
next	1.31;
commitid	GtMgjpUGXM9wiOgD;

1.31
date	2021.11.13.06.53.10;	author kim;	state Exp;
branches;
next	1.30;
commitid	jB4fDdZ3P1OGlBgD;

1.30
date	2021.11.11.22.47.55;	author kim;	state Exp;
branches;
next	1.29;
commitid	S3V3EX1cAZBrHqgD;

1.29
date	2019.05.09.11.32.36;	author leot;	state Exp;
branches;
next	1.28;
commitid	OrOvJID5CzhxqwmB;

1.28
date	2017.08.23.17.52.47;	author jlam;	state Exp;
branches;
next	1.27;
commitid	OVyeUPDbzD0ABm4A;

1.27
date	2016.09.07.21.03.21;	author joerg;	state Exp;
branches;
next	1.26;
commitid	q5WwNgd3by4iUolz;

1.26
date	2015.09.03.15.58.22;	author sevan;	state Exp;
branches;
next	1.25;
commitid	GzM322wS376b5Pzy;

1.25
date	2015.03.15.18.32.12;	author tnn;	state Exp;
branches;
next	1.24;
commitid	3PZbHDP7raTIuJdy;

1.24
date	2015.01.11.02.15.51;	author dholland;	state Exp;
branches;
next	1.23;
commitid	HIkpBFSZq8xH6y5y;

1.23
date	2012.05.22.08.46.53;	author marino;	state Exp;
branches;
next	1.22;

1.22
date	2009.04.08.22.43.25;	author joerg;	state Exp;
branches;
next	1.21;

1.21
date	2008.08.12.14.51.45;	author joerg;	state Exp;
branches;
next	1.20;

1.20
date	2006.10.05.01.11.41;	author rillig;	state Exp;
branches;
next	1.19;

1.19
date	2005.12.19.14.12.31;	author abs;	state Exp;
branches;
next	1.18;

1.18
date	2005.12.05.23.55.19;	author rillig;	state Exp;
branches;
next	1.17;

1.17
date	2005.12.05.20.50.59;	author rillig;	state Exp;
branches;
next	1.16;

1.16
date	2005.07.29.18.32.18;	author jlam;	state Exp;
branches;
next	1.15;

1.15
date	2005.02.24.12.19.13;	author wiz;	state Exp;
branches;
next	1.14;

1.14
date	2004.01.29.10.03.08;	author grant;	state Exp;
branches;
next	1.13;

1.13
date	2004.01.20.12.25.54;	author agc;	state Exp;
branches;
next	1.12;

1.12
date	2004.01.11.23.06.54;	author grant;	state Exp;
branches;
next	1.11;

1.11
date	2004.01.10.06.56.15;	author grant;	state dead;
branches;
next	1.10;

1.10
date	2003.09.18.22.59.38;	author grant;	state Exp;
branches;
next	1.9;

1.9
date	2003.05.05.10.54.13;	author agc;	state Exp;
branches;
next	1.8;

1.8
date	2003.05.01.21.45.46;	author agc;	state Exp;
branches;
next	1.7;

1.7
date	2003.04.04.17.32.51;	author abs;	state Exp;
branches;
next	1.6;

1.6
date	2003.03.29.12.42.26;	author jmmv;	state Exp;
branches;
next	1.5;

1.5
date	2002.11.17.09.02.01;	author salo;	state Exp;
branches;
next	1.4;

1.4
date	2002.10.31.11.55.30;	author wiz;	state Exp;
branches;
next	1.3;

1.3
date	2002.07.25.11.15.58;	author kim;	state Exp;
branches;
next	1.2;

1.2
date	2001.07.27.20.32.01;	author agc;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	2001.07.27.19.52.45;	author agc;	state Exp;
branches
	1.1.1.1;
next	;

1.2.4.1
date	2002.07.22.17.11.22;	author agc;	state Exp;
branches;
next	;

1.1.1.1
date	2001.07.27.19.52.45;	author agc;	state Exp;
branches;
next	;


desc
@@


1.43
log
@standalone-tcsh: revert my changes for now
@
text
@# $NetBSD: Makefile,v 1.42 2022/03/03 07:39:00 nia Exp $
#

# FIXME: This is because of PREFIX=/ below.
CHECK_FILES_SUPPORTED=	no
NOT_FOR_UNPRIVILEGED=	yes

PKGNAME=		standalone-${DISTNAME}

PATCHDIR=		../../shells/tcsh/patches
PKGDIR=			../../shells/tcsh
DESCR_SRC=		../../shells/tcsh/DESCR DESCR

# This package only makes sense on platforms that don't themselves ship tcsh
# in /bin. Otherwise it clobbers the native copy, which really isn't what
# anyone wants.
ONLY_FOR_PLATFORM+=	NetBSD-*-* OpenBSD-*-* SunOS-*-*

MKPIE_SUPPORTED= no

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

.if ${OS_VARIANT} == "OmniOS"
NOT_FOR_PLATFORM+=	SunOS-*-*
.endif

.include "../../shells/tcsh/Makefile.common"
.include "../../mk/bsd.pkg.mk"

COMMENT:=		Standalone version of the Extended C-shell
MAINTAINER=		agc@@NetBSD.org

# FIXME: Packages shall only install into ${LOCALBASE} or a subdirectory.
PREFIX=			/
PKGMANDIR=		usr/share/man
EGDIR=			usr/share/examples/tcsh
NLSDIR=			usr/share/nls
NOT_FOR_BULK_PLATFORM=	*-*-*

CONFIGURE_ARGS+=	--prefix=${PREFIX:Q}
CONFIGURE_ARGS+=	--bindir=${PREFIX:S/\/$//:Q}/bin
CONFIGURE_ARGS+=	--localedir=${PREFIX:S/\/$//:Q}/${NLSDIR}
CONFIGURE_ARGS+=	--mandir=${PREFIX:S/\/$//:Q}/${PKGMANDIR}

PLIST_AWK+=		-f ${.CURDIR}/plist-examples.awk
PLIST_AWK_ENV+=		EGDIR=${EGDIR}

PLIST_AWK+=		-f ${.CURDIR}/plist-nls.awk
PLIST_AWK_ENV+=		NLSDIR=${NLSDIR}
@


1.42
log
@standalone-tcsh: actually this check doesn't need to be limited to netbsd
either
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2022/03/03 07:30:47 nia Exp $
d19 2
a22 4
.if !defined(OPSYS_HAS_STATIC_PIE)
MKPIE_SUPPORTED= no
.endif

@


1.41
log
@standalone-tcsh: Don't hardcode our own list of archs on which to disable
static PIE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2022/03/03 03:33:47 mrg Exp $
d21 1
a21 1
.if "${OPSYS}" == "NetBSD" && !defined(OPSYS_HAS_STATIC_PIE)
@


1.40
log
@mipsn64eb also requires no pie (probably el too) currently.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2022/02/05 05:39:55 mrg Exp $
d19 3
a21 3
.if "${OPSYS}" == "NetBSD" && \
    (${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "aarch64eb" || \
     ${MACHINE_ARCH} == "mipsn64-el" || ${MACHINE_ARCH} == "mipsn64eb")
a24 2
.include "../../mk/bsd.prefs.mk"

@


1.39
log
@disable PIE on arm64 - ./configure fails without this.

there is some PIE vs static issue, but i did not learn anything
useful about what is causing it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2021/12/09 19:55:39 kim Exp $
d20 2
a21 1
    (${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "aarch64eb")
@


1.38
log
@{,standalone-,static-}tcsh: Update to 6.23.01

Changes since 6.23.00:

  8. V6.23.01 - 20211209
  7. add \cc and \Uhhh, and document escape sequences
  6. add $'string with escapes' ("dollar-single-quotes") (Kimmo Suominen)
  5. don't glob the filetest builtin arguments twice
  4. remove the duplicate echo escape parsing code and use parseescape
  3. add \x{hh} \xhh \uhhh (H.Merijn Brand)
  2. fix and document ln=target
  1. Merge in patches from pkgsrc:
     - Modernize the installation targets so that they use INSTALL_DATA,
       INSTALL_PROGRAM, and MKDIR_P.
     - Enable SYSMALLOC and SHORT_STRINGS on NetBSD.
     - Enable NO_FIX_MALLOC and SHORT_STRINGS on OpenBSD.

For pkgsrc, items 1, 2, and 5 had already been applied via patches.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2021/11/18 10:20:47 kim Exp $
d19 5
@


1.37
log
@{,standalone-,static-}tcsh: Pull in some additional patches

- Fix off-by-one, found by Coverity
- Don't glob the filetest builtin arguments twice
- Add more detail to "jobs -Z" usage
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2021/11/15 19:54:11 kim Exp $
a8 1
PKGREVISION=		3
@


1.36
log
@standalone-tcsh: pkglint: Relative package directories must be canonical
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2021/11/15 17:11:57 kim Exp $
d9 1
a9 1
PKGREVISION=		2
@


1.35
log
@{,standalone-,static-}tcsh: Add build options for nls and static. Cleanup.

For tcsh and defaults for other variants, unless otherwise noted:
- Option nls enables building of NLS catalogs. Enabled by default.
- Option static enables static linking. Disabled by default.

For standalone-tcsh:
- Option static is enabled by default, except on SunOS.
- Fix building of NLS catalogs, which possibly worked at some point
  in time given the existence of the NLSDIR variable in Makefile.
- Use PLIST from tcsh, with some awk to transform the entries.
- Use DESCR from tcsh as base, with an additional local DESCR. Adjust the
  local DESCR to not say that the package is static, as that is controlled
  by an option now (and never was true for all platforms).
- Remove unnecessary DISTINFO_FILE, INSTALLATION_DIRS, and WRKSRC.

For static-tcsh:
- Option static is not available: the package is always built like tcsh
  with the static option enabled.
- Remove unnecessary DISTINFO_FILE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2021/11/14 22:36:12 kim Exp $
d11 3
a13 3
PATCHDIR=		${.CURDIR}/../../shells/tcsh/patches
PKGDIR=			${.CURDIR}/../../shells/tcsh
DESCR_SRC=		${.CURDIR}/../../shells/tcsh/DESCR ${.CURDIR}/DESCR
@


1.34
log
@standalone-tcsh: Use ../../shells/tcsh/Makefile.common

Additionally, since the binary package will not include the locale
catalogues, disable building them (and unnecessarily stuffing them
in DESTDIR/share/locale).

Finally, fix installation of example files, so that the completion
rules (and csh-mode.el) are included with the package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2021/11/14 22:15:13 kim Exp $
d9 1
a9 1
PKGREVISION=		1
a10 1
WRKSRC=			${WRKDIR}/${DISTNAME}
d12 2
a28 2
INSTALLATION_DIRS+=	usr/share/man/man1

d34 3
a36 1
EGDIR=			/usr/share/examples/tcsh
a38 1
NLSDIR=			usr/share/nls
d40 3
a42 3
CONFIGURE_ARGS+=	--bindir=/bin
CONFIGURE_ARGS+=	--mandir=/usr/share/man
CONFIGURE_ARGS+=	--disable-nls-catalogs
d44 2
a45 1
DISTINFO_FILE=		${.CURDIR}/../../shells/tcsh/distinfo
d47 2
a48 3
.if ${OPSYS} != "SunOS"
LDFLAGS+=		-static
.endif
@


1.33
log
@{,standalone-,static-}tcsh: fix and document ln=target
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2021/11/14 21:53:15 mrg Exp $
d9 1
a9 1
PKGREVISION=		1	# ALWAYS needs to be set; 0 if none.
d25 2
a26 2
# XXX This should use Makefile.common, not Makefile
.include "../../shells/tcsh/Makefile"
d35 1
d42 1
@


1.32
log
@revert back to rev 1.29.  the 'make package' step fails with 1.31.

add a note that this should use tcsh/Makefile.common, not just
the main Makefile directly.

ok: kim@@
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2021/11/13 06:53:10 kim Exp $
d9 1
a9 1
PKGREVISION=		0	# ALWAYS needs to be set; 0 if none.
d25 1
a25 1
+# XXX This should use Makefile.common, not Makefile
@


1.31
log
@standalone-tcsh: Add "bin" to INSTALLATION_DIRS

This package installs DESTDIR/bin/tcsh so add "bin" to INSTALLATION_DIRS.

XXX: Creating the binary package still fails.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2021/11/11 22:47:55 kim Exp $
a3 2
.include "../../shells/tcsh/Makefile.common"

d9 1
d25 3
a27 1
INSTALLATION_DIRS+=	bin
a46 2

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


1.30
log
@{,standalone-,static-}tcsh: Use shells/tcsh/Makefile.common
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2019/05/09 11:32:36 leot Exp $
d26 1
@


1.29
log
@{standalone-,static-,}tcsh: Update to 6.21.00

pkgsrc changes:
 - Add patch-nls_Makefile.in to avoid +x bit in *.cat files
 - Remove no longer needed patches (all applied upstream):
   patch-ed.chared.c, patch-ed.inputl.c, patch-nls-catgen, patch-sh.func.c,
   patch-tw.init.c

Changes:
V6.21.00 - 20190508
-------------------
 - Abort history loading on words and lines too long
     https://bugzilla.redhat.com/show_bug.cgi?id=1598502
 - PR/37: Introduce GetCmdChar() to avoid open coding array access.
   make closem() not close sockets so as not to affect nss_ldap.
     tcsh never creates sockets so that's ok (Miloslav Trmac)
 - PR/597: Make rmstar work with aliased rm
 - convert match() from recursive to backtracking.
 - Handle 8 bit characters in bindkey (Werner Fink)
 - Look for tgetent in libtinfo as well (Werner Fink)
 - Don't play pointer tricks that are undefined in modern c (Brooks Davis)
 - Fix out of bounds read (Brooks Davis)
 - Fix type of read in prompt confirmation (eg. rmstar) (David Kaspar)
 - PR/471: Delay arginp parsing

ok <kim>, thanks!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2017/08/23 17:52:47 jlam Exp $
d4 2
a10 1
PKGREVISION=		0	# ALWAYS needs to be set; 0 if none.
a25 2
.include "../../shells/tcsh/Makefile"

d45 2
@


1.28
log
@shells/{,static-,standalone}tcsh: Fix PKGREVISION & MAINTAINER.

The tcsh package Makefile is included directly by the static-tcsh
and standalone-tcsh Makefiles.  Modify some of the variables that
really need to be package-specific to be set with ?= in
tcsh/Makefile and document the package Makefiles that directly
include it.

Set PKGREVISION directly in static-tcsh and standalone-tcsh now
that they can have independent PKGREVISION values.

Bump the PKGREVISION of static-tcsh due to the MAINTAINER now
correctly being listed as agc@@ due to this change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2016/09/07 21:03:21 joerg Exp $
d9 1
a9 1
PKGREVISION=		2	# ALWAYS needs to be set; 0 if none.
@


1.27
log
@Since this violates the general prefix rules and won't build e.g. with
the recommendated setup of read-only root, mark it as not for bulk
builds.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2015/09/03 15:58:22 sevan Exp $
d9 1
@


1.26
log
@Exclude this package on OmniOS which ships with a copy of tcsh.
OmniOS is an Illumos distro which falls under the SunOS variant for us.
Include mk/bsd.prefs.mk before the shells/tcsh/Makefile so the
OS_VARIANT variable is available for testing.

Reviewed by agc@@ wiz@@
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2015/03/15 18:32:12 tnn Exp $
d33 1
@


1.25
log
@cannot be installed in UNPRIVILEGED mode
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2015/01/11 02:15:51 dholland Exp $
d18 6
@


1.24
log
@Mark this ONLY_FOR_PLATFORM and list the platforms where tcsh is *not*
already in /bin. Otherwise, building and installing it naively clobbers
the native tcsh, which isn't what anyone wants.

I believe these platforms to be: NetBSD, OpenBSD, Solaris -- if anyone
can confirm that others (especially old ones I can't readily check)
don't have a native tcsh, please add.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2012/05/22 08:46:53 marino Exp $
d6 1
@


1.23
log
@shells/standalone-tcsh: Mark NOT-FOR-DRAGONFLY

This package will install tcsh in the /bin directory (not ${LOCALBASE}/bin).
DragonFly already has tcsh in the base system, so this package will replace
it with no ability to restore the system version.  This is not desired.

shells/tcsh still works should there be any need for a pkgsrc version installed
at ${LOCALBASE}/bin.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2009/04/08 22:43:25 joerg Exp $
d12 4
a15 4
# DragonFly already has native /bin/tcsh
# This package is not restricted to ${LOCALBASE} and will replace system tcsh
# Instead, see shells/tcsh which installs at ${LOCALBASE}/bin/tcsh
NOT_FOR_PLATFORM+=	DragonFly-*-*
@


1.22
log
@Remove the remaining NO_MTREE definitions, it has been a nop for a
while.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2008/08/12 14:51:45 joerg Exp $
d12 5
@


1.21
log
@More changes to give it a chance to work.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2006/10/05 01:11:41 rillig Exp $
a6 2
NO_MTREE=		YES

@


1.20
log
@Prevent this package from scanning the whole filesystem during the
install phase.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2005/12/19 14:12:31 abs Exp $
d16 2
@


1.19
log
@Remove the following which breaks under the current pkgsrc infrastructure:
PKG_INFO:=              ${PKG_INFO}
PKG_CREATE:=            ${PKG_CREATE}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2005/12/05 23:55:19 rillig Exp $
d4 3
d19 1
d21 1
@


1.18
log
@Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2005/12/05 20:50:59 rillig Exp $
a15 2
PKG_INFO:=		${PKG_INFO}
PKG_CREATE:=		${PKG_CREATE}
@


1.17
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2005/07/29 18:32:18 jlam Exp $
d20 1
a20 1
CONFIGURE_ARGS+=	--prefix=${PREFIX}
@


1.16
log
@* Separate out the shell registration into a separately unpacked script
  +SHELL.

* Turn PKG_REGISTER_SHELLS into a variable that can be set in the shell
  environment so that admins can make a choice when installing from
  binary packages.

* PKG_SHELL is now a list of paths, and if the path is relative, then it
  is taken to be relative to ${PREFIX}.  Convert packages that set
  PKG_SHELL to take advantage of this new feature by changing the full
  paths to the shells into relative paths.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2005/02/24 12:19:13 wiz Exp $
d20 2
a21 1
CONFIGURE_ARGS=		--prefix=${PREFIX} --bindir=/bin
@


1.15
log
@agc agreed to maintain this package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2004/01/29 10:03:08 grant Exp $
a7 2
PKG_SHELL=		/bin/tcsh

@


1.14
log
@define PATCHDIR before the inclusion of bsd.prefs.mk. fixes implicit
gpatch build dependency.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2004/01/20 12:25:54 agc Exp $
d16 1
@


1.13
log
@Move WRKSRC definition away from the first paragraph in a Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2004/01/11 23:06:54 grant Exp $
d11 1
a16 1
PATCH:=			${PATCH}
a24 1
PATCHDIR=		${.CURDIR}/../../shells/tcsh/patches
@


1.12
log
@move the various static shell packages back to their previous names.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2003/09/18 22:59:38 grant Exp $
a6 1
WRKSRC=			${WRKDIR}/${DISTNAME}
d10 2
@


1.11
log
@rename standalone-tcsh to tcsh-standalone. the convention in pkgsrc is
for mutations of packages to be named <pkg>-<mutation>.

add a CONFLICT on standalone-tcsh for obvious reasons.
@
text
@@


1.10
log
@override PREFIX, not LOCALBASE.

noted by abs on tech-pkg@@.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2003/05/05 10:54:13 agc Exp $
@


1.9
log
@Nail down the definitions of ${PKG_INFO} and ${PKG_CREATE} before resetting
${LOCALBASE} - makes this package install successfully on systems where the
package tools may reside under ${LOCALBASE}.

On Solaris, don't set "-static" into LDFLAGS, so that the package builds
properly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2003/05/01 21:45:46 agc Exp $
d18 1
a18 1
LOCALBASE=		/
@


1.8
log
@Nail down the value of ${PATCH} before changing ${LOCALBASE}, so that
systems which can define ${PATCH} in terms of ${LOCALBASE} (like
Solaris) can build this package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2003/04/04 17:32:51 abs Exp $
a14 1
LDFLAGS+=		-static
d16 2
d25 4
@


1.7
log
@Shorten COMMENT
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2003/03/29 12:42:26 jmmv Exp $
d16 1
@


1.6
log
@Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2002/11/17 09:02:01 salo Exp $
d13 1
a13 1
COMMENT:=		Standalone version of the ${COMMENT}
@


1.5
log
@Convert packages to PKG_REGISTER_SHELLS framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2002/10/31 11:55:30 wiz Exp $
d6 1
a7 1
PKGNAME=		standalone-${DISTNAME}
@


1.4
log
@Sync with tcsh package. Fixes PR 18861.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2002/07/25 11:15:58 kim Exp $
d8 2
@


1.3
log
@PKGNAME is not defined, use DISTNAME.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2001/07/27 20:32:01 agc Exp $
d6 3
a10 2
WRKSRC:=		${WRKDIR}/${DISTNAME}
PKGNAME:=		standalone-${DISTNAME}
@


1.2
log
@Fix a typo in the comment field. I wish I could type properly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2001/07/27 19:52:45 agc Exp $
d8 2
a9 2
WRKSRC:=		${WRKDIR}/${PKGNAME}
PKGNAME:=		standalone-${PKGNAME}
@


1.2.4.1
log
@Make this package work with package views.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2001/07/27 20:32:01 agc Exp $
a19 3

pre-install:
	${INSTALL_PROGRAM_DIR} ${PREFIX}/bin
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d10 1
a10 1
COMMENT:=		Standlone version of the ${COMMENT}
@


1.1.1.1
log
@Add a standalone version of tcsh, which installs a statically-linked
version of tcsh into /bin, but still using most of the standard tcsh
package framework, for ease of maintenance.

@
text
@@
