aboutsummaryrefslogtreecommitdiff
path: root/shells/44bsd-csh/Makefile
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2011-06-28 19:09:14 +0000
committerCy Schubert <cy@FreeBSD.org>2011-06-28 19:09:14 +0000
commit061748f3fdeed2d0bf72f3208986a9b4ad58b49b (patch)
treef989f64bb8b368f64ce85e239599c5ac47928bd5 /shells/44bsd-csh/Makefile
parent6a4cae5c4d28d09a53b42eeef1ab2e18bd8b7a36 (diff)
downloadports-061748f3fdeed2d0bf72f3208986a9b4ad58b49b.tar.gz
ports-061748f3fdeed2d0bf72f3208986a9b4ad58b49b.zip
Bring back this port.
Notes
Notes: svn path=/head/; revision=276600
Diffstat (limited to 'shells/44bsd-csh/Makefile')
-rw-r--r--shells/44bsd-csh/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/shells/44bsd-csh/Makefile b/shells/44bsd-csh/Makefile
new file mode 100644
index 000000000000..3185ecce70f8
--- /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= 20001106
+CATEGORIES= shells
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= cy
+
+MAINTAINER= cy@FreeBSD.org
+COMMENT= The traditional 4.4BSD /bin/csh C-shell
+
+USE_BZIP2= yes
+
+NO_WRKSUBDIR= yes
+MAN1= 44bsd-csh.1
+PORTDOCS= paper.ascii.gz
+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} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/USD.doc/paper.ascii.gz ${DOCSDIR}
+.endif
+ @${ECHO_MSG} "Updating /etc/shells"
+ @${CP} /etc/shells /etc/shells.bak
+ @(${GREP} -v ${PREFIX}/bin/44bsd-csh /etc/shells.bak; \
+ ${ECHO_CMD} ${PREFIX}/bin/44bsd-csh) > /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>