summaryrefslogtreecommitdiff
path: root/shells/standalone-tcsh
diff options
context:
space:
mode:
authoragc <agc>2001-07-27 19:52:45 +0000
committeragc <agc>2001-07-27 19:52:45 +0000
commit9a8f0ef9a52e623e9ad900a7b3201e7dc83cb202 (patch)
treeaeacc74d89cb3b1e81e06621cf19f05e61d20816 /shells/standalone-tcsh
parent10a4daf2326f2c42a17b6e9070b3fa135e3060d4 (diff)
downloadpkgsrc-9a8f0ef9a52e623e9ad900a7b3201e7dc83cb202.tar.gz
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.
Diffstat (limited to 'shells/standalone-tcsh')
-rw-r--r--shells/standalone-tcsh/Makefile19
-rw-r--r--shells/standalone-tcsh/pkg/DESCR5
-rw-r--r--shells/standalone-tcsh/pkg/PLIST5
3 files changed, 29 insertions, 0 deletions
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