From 4847aa708812228d467f615d246b430749647738 Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 27 Jul 2001 19:52:45 +0000 Subject: 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. --- shells/standalone-tcsh/Makefile | 19 +++++++++++++++++++ shells/standalone-tcsh/pkg/DESCR | 5 +++++ shells/standalone-tcsh/pkg/PLIST | 5 +++++ 3 files changed, 29 insertions(+) create mode 100644 shells/standalone-tcsh/Makefile create mode 100644 shells/standalone-tcsh/pkg/DESCR create mode 100644 shells/standalone-tcsh/pkg/PLIST (limited to 'shells') diff --git a/shells/standalone-tcsh/Makefile b/shells/standalone-tcsh/Makefile new file mode 100644 index 00000000000..b9733243f3a --- /dev/null +++ b/shells/standalone-tcsh/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/07/27 19:52:45 agc Exp $ +# + +NO_MTREE= YES + +.include "../../shells/tcsh/Makefile" + +WRKSRC:= ${WRKDIR}/${PKGNAME} +PKGNAME:= standalone-${PKGNAME} +COMMENT:= Standlone version of the ${COMMENT} + +LDFLAGS+= -static +LOCALBASE= / +NLSDIR= usr/share/nls +CONFIGURE_ARGS= --prefix=${PREFIX} --bindir=/bin +CONFIGURE_ARGS+= --mandir=/usr/share/man + +DISTINFO_FILE= ${.CURDIR}/../../shells/tcsh/distinfo +PATCHDIR= ${.CURDIR}/../../shells/tcsh/patches diff --git a/shells/standalone-tcsh/pkg/DESCR b/shells/standalone-tcsh/pkg/DESCR new file mode 100644 index 00000000000..6894bee0893 --- /dev/null +++ b/shells/standalone-tcsh/pkg/DESCR @@ -0,0 +1,5 @@ +TCSH is an extended C-shell with many useful features like +filename completion, history editing, etc. + +This version installs a statically-linked version of tcsh into +/bin, for use as a standalone shell. diff --git a/shells/standalone-tcsh/pkg/PLIST b/shells/standalone-tcsh/pkg/PLIST new file mode 100644 index 00000000000..6f82e2da016 --- /dev/null +++ b/shells/standalone-tcsh/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/27 19:52:45 agc Exp $ +bin/tcsh +@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells +@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells +usr/share/man/man1/tcsh.1 -- cgit v1.2.3