diff options
author | Clive Lin <clive@FreeBSD.org> | 2001-03-01 15:57:14 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2001-03-01 15:57:14 +0000 |
commit | 4696656653469e86ee97348c3b4648c0d382cb6f (patch) | |
tree | d5f8e775db7a48b22fd670aba0265bb5bd7af8ba /shells | |
parent | e9a0272325b79aa236cf46276503f268ecbe2c6b (diff) | |
download | ports-4696656653469e86ee97348c3b4648c0d382cb6f.tar.gz ports-4696656653469e86ee97348c3b4648c0d382cb6f.zip |
New port: mudsh: An "intelligent" game-like shell
PR: ports/25441
Submitted by: George Reid <greid@dogma.freebsd-uk.eu.org>
Notes
Notes:
svn path=/head/; revision=38941
Diffstat (limited to 'shells')
-rw-r--r-- | shells/Makefile | 1 | ||||
-rw-r--r-- | shells/mudsh/Makefile | 39 | ||||
-rw-r--r-- | shells/mudsh/distinfo | 1 | ||||
-rw-r--r-- | shells/mudsh/pkg-comment | 1 | ||||
-rw-r--r-- | shells/mudsh/pkg-descr | 10 | ||||
-rw-r--r-- | shells/mudsh/pkg-plist | 3 |
6 files changed, 55 insertions, 0 deletions
diff --git a/shells/Makefile b/shells/Makefile index c7ed5640dfc9..218075b67a98 100644 --- a/shells/Makefile +++ b/shells/Makefile @@ -8,6 +8,7 @@ SUBDIR += esh SUBDIR += flash SUBDIR += ksh93 + SUBDIR += mudsh SUBDIR += osh SUBDIR += pash SUBDIR += pdksh diff --git a/shells/mudsh/Makefile b/shells/mudsh/Makefile new file mode 100644 index 000000000000..c17a310ccf8d --- /dev/null +++ b/shells/mudsh/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: mudsh +# Date created: 28 February 2001 +# Whom: George Reid <greid@ukug.uk.freebsd.org> +# +# $FreeBSD$ +# + +PORTNAME= mudsh +PORTVERSION= 20010228 +CATEGORIES= shells +MASTER_SITES= http://www.xirium.com/tech/mud-shell/download/ +DISTNAME= mudsh +EXTRACT_SUFX= +EXTRACT_ONLY= + +MAINTAINER= greid@ukug.uk.freebsd.org + +NO_WRKSUBDIR= yes + +NO_BUILD= yes + +post-extract: + @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC} + +do-patch: + @(${SED} -e 's,/usr/local/bin/perl,${PERL},1' ${WRKSRC}/${DISTNAME} \ + > foo && ${MV} foo ${WRKSRC}/${DISTNAME}) + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin + +post-install: + @${ECHO} "updating /etc/shells" + @${CP} /etc/shells /etc/shells.bak + @(${GREP} -v ${PREFIX}/bin/mudsh /etc/shells.bak; \ + ${ECHO} ${PREFIX}/bin/mudsh) > /etc/shells + @${RM} /etc/shells.bak + +.include <bsd.port.mk> diff --git a/shells/mudsh/distinfo b/shells/mudsh/distinfo new file mode 100644 index 000000000000..bc60159065a8 --- /dev/null +++ b/shells/mudsh/distinfo @@ -0,0 +1 @@ +MD5 (mudsh) = df171bb06b16cd75d91d0209081d0c2b diff --git a/shells/mudsh/pkg-comment b/shells/mudsh/pkg-comment new file mode 100644 index 000000000000..b8fbdb72afd0 --- /dev/null +++ b/shells/mudsh/pkg-comment @@ -0,0 +1 @@ +An "intelligent" game-like shell diff --git a/shells/mudsh/pkg-descr b/shells/mudsh/pkg-descr new file mode 100644 index 000000000000..644e036f7d25 --- /dev/null +++ b/shells/mudsh/pkg-descr @@ -0,0 +1,10 @@ +Is there any reason why a shell (or command line) cannot be as +tolerant or as intelligent as a text adventure game like Zork, or a +MUD [Multi User Dungeon]? Is there any reason why a shell cannot work +like such a game? ("Go North", etc.) Actually, no and we have the +implementation to prove it. Have fun, and don't get eaten by a Grue! + +WWW: http://www.xirium.com/tech/mud-shell/index.html + +- George Reid +greid@ukug.uk.freebsd.org diff --git a/shells/mudsh/pkg-plist b/shells/mudsh/pkg-plist new file mode 100644 index 000000000000..e8964c6c0819 --- /dev/null +++ b/shells/mudsh/pkg-plist @@ -0,0 +1,3 @@ +bin/mudsh +@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 |