aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-04-15 12:26:42 +0800
committerobrien <obrien@FreeBSD.org>2000-04-15 12:26:42 +0800
commitc28952c70325bfe92d50427f023a5a440481b0c0 (patch)
treef6f2929889b8e508b083717660890579cdca9057 /shells
parent99470a9b63737faa68be9f3984e012c012d588e8 (diff)
downloadfreebsd-ports-gnome-c28952c70325bfe92d50427f023a5a440481b0c0.tar.gz
freebsd-ports-gnome-c28952c70325bfe92d50427f023a5a440481b0c0.tar.zst
freebsd-ports-gnome-c28952c70325bfe92d50427f023a5a440481b0c0.zip
This is the the traditional 4.4BSD /bin/csh C-shell, with additional
FreeBSD fixes and updates since 4.4BSD Lite was released.
Diffstat (limited to 'shells')
-rw-r--r--shells/44bsd-csh/Makefile46
-rw-r--r--shells/44bsd-csh/distinfo1
-rw-r--r--shells/44bsd-csh/pkg-comment1
-rw-r--r--shells/44bsd-csh/pkg-descr2
-rw-r--r--shells/44bsd-csh/pkg-plist4
5 files changed, 54 insertions, 0 deletions
diff --git a/shells/44bsd-csh/Makefile b/shells/44bsd-csh/Makefile
new file mode 100644
index 000000000000..b19b156dc9ea
--- /dev/null
+++ b/shells/44bsd-csh/Makefile
@@ -0,0 +1,46 @@
+# ex:ts=8
+# Ports collection makefile for: csh
+# Date created: 23 January 2000
+# Whom: David O'Brien <obrien@NUXI.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= 44bsd-csh
+PORTVERSION= 20000409
+CATEGORIES= shells
+MASTER_SITES= http://people.freebsd.org/~obrien/
+
+MAINTAINER= obrien@FreeBSD.org
+
+USE_BZIP2= yes
+
+NO_WRKSUBDIR= yes
+MAN1= 44bsd-csh.1
+
+post-extract:
+ cd ${WRKSRC} ; co RCS/*,v
+ cd ${WRKSRC}/USD.doc ; co RCS/*,v
+
+post-build:
+ cd ${WRKSRC}/USD.doc ; ${MAKE}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/csh ${PREFIX}/bin/44bsd-csh
+ ${INSTALL_MAN} ${WRKSRC}/csh.1 ${PREFIX}/man/man1/44bsd-csh.1
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/44bsd-csh
+ ${INSTALL_MAN} ${WRKSRC}/USD.doc/paper.ascii.gz \
+ ${PREFIX}/share/doc/44bsd-csh
+.endif
+ @${ECHO} "Updating /etc/shells"
+ @${CP} /etc/shells /etc/shells.bak
+ @(${GREP} -v ${PREFIX}/bin/tcsh /etc/shells.bak; \
+ ${ECHO} ${PREFIX}/bin/tcsh) > /etc/shells
+ @${RM} /etc/shells.bak
+
+tarup:
+ cd ${WRKSRC} ; rm * USD.doc/*
+ cd ${WRKSRC} ; tar cvyf /tmp/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
+
+.include <bsd.port.mk>
diff --git a/shells/44bsd-csh/distinfo b/shells/44bsd-csh/distinfo
new file mode 100644
index 000000000000..33cf112924a6
--- /dev/null
+++ b/shells/44bsd-csh/distinfo
@@ -0,0 +1 @@
+MD5 (44bsd-csh-20000409.tar.bz2) = 427a55482f86629401fdb3a27809dfb4
diff --git a/shells/44bsd-csh/pkg-comment b/shells/44bsd-csh/pkg-comment
new file mode 100644
index 000000000000..f388e37661ae
--- /dev/null
+++ b/shells/44bsd-csh/pkg-comment
@@ -0,0 +1 @@
+the traditional 4.4BSD /bin/csh C-shell
diff --git a/shells/44bsd-csh/pkg-descr b/shells/44bsd-csh/pkg-descr
new file mode 100644
index 000000000000..c60360228855
--- /dev/null
+++ b/shells/44bsd-csh/pkg-descr
@@ -0,0 +1,2 @@
+This is the the traditional 4.4BSD /bin/csh C-shell, with additional
+FreeBSD fixes and updates since 4.4BSD Lite was released.
diff --git a/shells/44bsd-csh/pkg-plist b/shells/44bsd-csh/pkg-plist
new file mode 100644
index 000000000000..90d27221dd46
--- /dev/null
+++ b/shells/44bsd-csh/pkg-plist
@@ -0,0 +1,4 @@
+bin/44bsd-csh
+share/doc/44bsd-csh/paper.ascii.gz
+@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