aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/lambdamoo
diff options
context:
space:
mode:
authorflathill <flathill@FreeBSD.org>2000-01-07 18:51:27 +0800
committerflathill <flathill@FreeBSD.org>2000-01-07 18:51:27 +0800
commita809ff1e6b534962210a4f51a3f81a1e8f0cdcdc (patch)
tree5d1477ed6f9c5e8dabba3852d970f92f2ae86b9f /japanese/lambdamoo
parentb83b98172112362b2edfe2d8f59217a8c809b8a4 (diff)
downloadfreebsd-ports-gnome-a809ff1e6b534962210a4f51a3f81a1e8f0cdcdc.tar.gz
freebsd-ports-gnome-a809ff1e6b534962210a4f51a3f81a1e8f0cdcdc.tar.zst
freebsd-ports-gnome-a809ff1e6b534962210a4f51a3f81a1e8f0cdcdc.zip
Submitted by: flathill@FreeBSD.org
The most commonly used program to run MOOs with japanese support
Diffstat (limited to 'japanese/lambdamoo')
-rw-r--r--japanese/lambdamoo/Makefile45
-rw-r--r--japanese/lambdamoo/distinfo3
-rw-r--r--japanese/lambdamoo/files/README.FreeBSD27
-rw-r--r--japanese/lambdamoo/files/patch-aa11
-rw-r--r--japanese/lambdamoo/pkg-comment1
-rw-r--r--japanese/lambdamoo/pkg-descr14
-rw-r--r--japanese/lambdamoo/pkg-plist6
7 files changed, 107 insertions, 0 deletions
diff --git a/japanese/lambdamoo/Makefile b/japanese/lambdamoo/Makefile
new file mode 100644
index 000000000000..3caf437c1f0a
--- /dev/null
+++ b/japanese/lambdamoo/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: LambdaMOO
+# Version required: 1.8.0r8
+# Date created: Jul 3 1999
+# Whom: Seiichirou Hiraoka
+#
+# $FreeBSD$
+#
+
+DISTNAME= LambdaMOO-1.8.0r8
+PKGNAME= ja-lambdamoo-1.8.0r8
+CATEGORIES= japanese net
+MASTER_SITES= ftp://ftp.place.org/pub/moo/unofficial/ \
+ ftp://ftp.mei.co.jp/free/Network/news/readers/
+DISTFILES= LambdaMOO-1.8.0r8.tar.gz mnews122.tar.gz
+
+PATCH_SITES= http://www.freebsd.org/~flathill/distfiles/
+PATCHFILES= ja-lambdamoo-19990704.patch.gz
+
+MAINTAINER= flathill@FreeBSD.ORG
+
+WRKSRC= ${WRKDIR}/MOO-1.8.0r8
+GNU_CONFIGURE= yes
+ALL_TARGET=
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/moo ${PREFIX}/sbin
+
+pre-build:
+.for i in kanjilib.c kanjilib.h
+ ${CP} ${WRKDIR}/mnews-1.22/kanjilib/$i ${WRKSRC}
+.endfor
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/LambdaMOO
+ @(cd ${WRKSRC};\
+ ${INSTALL_MAN} Minimal.db README README.Minimal \
+ ${PREFIX}/share/doc/LambdaMOO; \
+ )
+ @${INSTALL_DATA} ${FILESDIR}/README.FreeBSD \
+ ${PREFIX}/share/doc/LambdaMOO
+.endif
+
+
+.include <bsd.port.mk>
diff --git a/japanese/lambdamoo/distinfo b/japanese/lambdamoo/distinfo
new file mode 100644
index 000000000000..20dc0a1c1096
--- /dev/null
+++ b/japanese/lambdamoo/distinfo
@@ -0,0 +1,3 @@
+MD5 (LambdaMOO-1.8.0r8.tar.gz) = e902178700ff0bbe24edfb412be6dfde
+MD5 (mnews122.tar.gz) = 36fbc847cceb7ec7b7726026e1044c81
+MD5 (ja-lambdamoo-19990704.patch.gz) = c8745303f1b1468e465bf973387ec8f5
diff --git a/japanese/lambdamoo/files/README.FreeBSD b/japanese/lambdamoo/files/README.FreeBSD
new file mode 100644
index 000000000000..6161e988965f
--- /dev/null
+++ b/japanese/lambdamoo/files/README.FreeBSD
@@ -0,0 +1,27 @@
+How to play LambdaMOO
+
+1. Get core database,
+ ftp://ftp.lambda.moo.mud.org/pub/MOO/LambdaMOO-latest.tar.gz.
+
+ If you want to get other two commonly used core databases, visit
+ http://www.moo.mud.org/.
+
+2. /usr/local/sbin/moo INITIAL-DB-FILE CHECKPOINT-DB-FILE.
+
+!NOTICE!
+
+According to MOO-Cows FAQ in http://www.moo.mud.org/moo-faq/,
+LambdaCore-latest.db has password problem on FreeBSD.
+Apply following patch to resolve.
+
+--- LambdaCore-latest.db.orig Sun Jul 4 08:34:16 1999
++++ LambdaCore-latest.db Sun Jul 4 14:05:25 1999
+@@ -227748,7 +227748,7 @@
+ elseif (length(args) != 2)
+ player:notify(tostr("Usage: ", verb, " <old-password> <new-password>"));
+ return;
+-elseif (player.password != crypt(tostr(args[1]), player.password))
++elseif (player.password != crypt(tostr(args[1]), player.password[4..5]))
+ player:notify("That's not your old password.");
+ return;
+ elseif (is_clear_property(player, "password"))
diff --git a/japanese/lambdamoo/files/patch-aa b/japanese/lambdamoo/files/patch-aa
new file mode 100644
index 000000000000..d9522357c30d
--- /dev/null
+++ b/japanese/lambdamoo/files/patch-aa
@@ -0,0 +1,11 @@
+--- config.h.in.orig Sun Jul 4 16:45:44 1999
++++ config.h.in Sun Jul 4 16:45:54 1999
+@@ -163,7 +163,7 @@
+ * system provides the named functions.
+ */
+
+-#undef HAVE_CRYPT
++/* #undef HAVE_CRYPT */
+ #undef HAVE_MATHERR
+ #undef HAVE_MKFIFO
+ #undef HAVE_REMOVE
diff --git a/japanese/lambdamoo/pkg-comment b/japanese/lambdamoo/pkg-comment
new file mode 100644
index 000000000000..b92f57179e88
--- /dev/null
+++ b/japanese/lambdamoo/pkg-comment
@@ -0,0 +1 @@
+The most commonly used program to run MOOs
diff --git a/japanese/lambdamoo/pkg-descr b/japanese/lambdamoo/pkg-descr
new file mode 100644
index 000000000000..7405c420a30c
--- /dev/null
+++ b/japanese/lambdamoo/pkg-descr
@@ -0,0 +1,14 @@
+LambdaMOO is a network-accessible, multi-user, programmable, interactive
+system well-suited to the construction of text-based adventure games,
+conferencing systems, and other collaborative software.
+
+Its most common use, however, is as a multi-participant,
+low-bandwidth virtual reality, and it is with this focus in mind
+that I describe it here.
+
+See also /usr/local/share/doc/LambdaMOO.
+
+http://www.moo.mud.org/
+
+- Seiichirou Hiraoka
+flathill@FreeBSD.ORG
diff --git a/japanese/lambdamoo/pkg-plist b/japanese/lambdamoo/pkg-plist
new file mode 100644
index 000000000000..07a18553525b
--- /dev/null
+++ b/japanese/lambdamoo/pkg-plist
@@ -0,0 +1,6 @@
+sbin/moo
+share/doc/LambdaMOO/Minimal.db
+share/doc/LambdaMOO/README
+share/doc/LambdaMOO/README.FreeBSD
+share/doc/LambdaMOO/README.Minimal
+@dirrm share/doc/LambdaMOO