diff options
author | Adam David <adam@FreeBSD.org> | 1995-10-25 14:38:49 +0000 |
---|---|---|
committer | Adam David <adam@FreeBSD.org> | 1995-10-25 14:38:49 +0000 |
commit | c1f19efaec5761829eb2c4e80a4f837f0ab8dc62 (patch) | |
tree | 4777e044c9c40532056cf19faaa0dcea9e2e2c23 | |
parent | Shorten one-line comments. (diff) |
Previously broken port now builds, may be enabled in net/Makefile now.
Approved by: asami
Notes
Notes:
svn path=/head/; revision=2364
-rw-r--r-- | net/dgd-lpmud/Makefile | 16 | ||||
-rw-r--r-- | net/dgd-lpmud/files/patch-aa | 19 | ||||
-rw-r--r-- | net/dgd-lpmud/files/patch-ab | 51 | ||||
-rw-r--r-- | net/dgd-lpmud/pkg-comment | 1 | ||||
-rw-r--r-- | net/dgd-lpmud/pkg-descr | 2 | ||||
-rw-r--r-- | net/dgd-lpmud/pkg-plist | 6 | ||||
-rw-r--r-- | net/dgd-lpmud/scripts/configure | 13 |
7 files changed, 99 insertions, 9 deletions
diff --git a/net/dgd-lpmud/Makefile b/net/dgd-lpmud/Makefile index 5ccccd5cbe05..5d582459a61c 100644 --- a/net/dgd-lpmud/Makefile +++ b/net/dgd-lpmud/Makefile @@ -3,20 +3,28 @@ # Date created: 10 November 1994 # Whom: adam # -# $Id: Makefile,v 1.3 1995/04/15 05:41:24 asami Exp $ +# $Id: Makefile,v 1.4 1995/04/16 15:37:10 ache Exp $ # DISTNAME= dgd-lpmud PKGNAME= dgd-lpmud-2.4.5 -CATEGORIES+= networking +CATEGORIES+= networking development games MASTER_SITES= ftp://ftp.lysator.liu.se/pub/lpmud/drivers/dgd/ \ ftp://ftp.lysator.liu.se/pub/lpmud/mudlibs/other/ DISTFILES= sim-2.4.5.tar.gz 2.4.5.tar.gz -DEPENDS= ${PORTSDIR}/net/dgd +RUN_DEPENDS= ${PREFIX}/dgd/bin/driver:${PORTSDIR}/net/dgd NO_WRKSUBDIR= PKG_ARGS= -v -c ${PKGDIR}/COMMENT -d ${PKGDIR}/DESCR -f ${PKGDIR}/PLIST \ - -r ${PKGDIR}/REQ + -p ${PREFIX}/dgd +# -r ${PKGDIR}/REQ + +do-build: + @cd ${WRKDIR}/bin; make + +do-install: + @tar -C ${WRKDIR} -cf - `grep '^[a-z]' pkg/PLIST` \ + | tar -C ${PREFIX}/dgd -xpf - .include <bsd.port.mk> diff --git a/net/dgd-lpmud/files/patch-aa b/net/dgd-lpmud/files/patch-aa new file mode 100644 index 000000000000..cdd362efce17 --- /dev/null +++ b/net/dgd-lpmud/files/patch-aa @@ -0,0 +1,19 @@ +*** room/south/sforst19.c Sun Nov 11 21:45:36 1990 +--- 2.4.5/room/south/sforst19.c Mon Sep 12 21:57:54 1994 +*************** +*** 37,43 **** + + east() + { +! call_other(this_palyer(), "move_player", "east#room/south/sforst16"); + return 1; + } + +--- 37,43 ---- + + east() + { +! call_other(this_player(), "move_player", "east#room/south/sforst16"); + return 1; + } + diff --git a/net/dgd-lpmud/files/patch-ab b/net/dgd-lpmud/files/patch-ab new file mode 100644 index 000000000000..0fdbea8e98dd --- /dev/null +++ b/net/dgd-lpmud/files/patch-ab @@ -0,0 +1,51 @@ +*** 2.4.5/lpmud.old Fri Oct 20 19:09:05 1995 +--- 2.4.5/lpmud Fri Oct 20 19:09:49 1995 +*************** +*** 1,6 **** + telnet_port = 6047; /* telnet port number */ + binary_port = 6048; /* binary port number */ +! directory = "/usr/local/mud/lib"; /* base directory (MUST be absolute) */ + users = 40; /* max # of users */ + editors = 41; /* max # of editor sessions */ + ed_tmpfile = "../tmp/ed"; /* proto editor tmpfile */ +--- 1,6 ---- + telnet_port = 6047; /* telnet port number */ + binary_port = 6048; /* binary port number */ +! directory = "/usr/local/dgd/lpmud-2.4.5"; /* base directory (MUST be absolute) */ + users = 40; /* max # of users */ + editors = 41; /* max # of editor sessions */ + ed_tmpfile = "../tmp/ed"; /* proto editor tmpfile */ +*** 2.4.5/rundgd.old Fri Oct 20 21:42:34 1995 +--- 2.4.5/rundgd Fri Oct 20 21:48:49 1995 +*************** +*** 1,10 **** + #!/bin/sh + + passwd=HNAMEPASS + while true + do +! mv 2.4.5/lpmud.log 2.4.5/lpmud.log.old +! date > 2.4.5/lpmud.log +! hname 6047 $passwd & +! src/a.out src/lpmud >> 2.4.5/lpmud.log 2>&1 + done > /dev/null 2>&1 +--- 1,11 ---- + #!/bin/sh + + passwd=HNAMEPASS ++ cd /usr/local/dgd + while true + do +! mv lpmud-2.4.5/lpmud.log lpmud-2.4.5/lpmud.log.old +! date > lpmud-2.4.5/lpmud.log +! ./bin/hname 6047 $passwd & +! ./bin/driver lpmud >> lpmud-2.4.5/lpmud.log 2>&1 + done > /dev/null 2>&1 +*** 2.4.5/Copyright.old Fri Oct 20 22:40:15 1995 +--- 2.4.5/Copyright Fri Oct 20 22:41:47 1995 +*************** +*** 1 **** +! The 2.4.5 simulation is released into the public domain. +--- 1,2 ---- +! The 2.4.5 simulation is released into the public domain by author, +! Felix A. Croes. diff --git a/net/dgd-lpmud/pkg-comment b/net/dgd-lpmud/pkg-comment new file mode 100644 index 000000000000..ddb27e562e8b --- /dev/null +++ b/net/dgd-lpmud/pkg-comment @@ -0,0 +1 @@ +LPmud 2.4.5 mudlib, for use with DGD diff --git a/net/dgd-lpmud/pkg-descr b/net/dgd-lpmud/pkg-descr new file mode 100644 index 000000000000..40bf9116f576 --- /dev/null +++ b/net/dgd-lpmud/pkg-descr @@ -0,0 +1,2 @@ +LPmud 2.4.5 simulation mudlib, as an example of implementing a multiuser +interactive environment using DGD. diff --git a/net/dgd-lpmud/pkg-plist b/net/dgd-lpmud/pkg-plist new file mode 100644 index 000000000000..49cbf3eb8beb --- /dev/null +++ b/net/dgd-lpmud/pkg-plist @@ -0,0 +1,6 @@ +@cwd /usr/local/dgd +lpmud-2.4.5 +lpmud +runlpmud +bin/hname +bin/oconv diff --git a/net/dgd-lpmud/scripts/configure b/net/dgd-lpmud/scripts/configure index dc9c4fef977f..3f21e85291c4 100644 --- a/net/dgd-lpmud/scripts/configure +++ b/net/dgd-lpmud/scripts/configure @@ -1,9 +1,12 @@ cd ${WRKDIR} patch -s <2.4.5/diffs -find . -name '*.orig' | xargs rm +find . -name '*.orig' -or -name '*.i' | xargs rm rm -r ACCESS.* OBJ_DUMP doc/previous_object *.log log 2.4.5/diff* -mv 2.4.5/dgd . +mv 2.4.5/Copyright 2.4.5/dgd +mv 2.4.5/dgd 2.4.5/lpmud . cp -pr 2.4.5/doc . && rm -r 2.4.5/doc -mkdir -p lpmud.245/log -mv [A-Za-km-z]* lpmud.245 -mv 2.4.5/hname.c 2.4.5/lpmud . +mkdir -p lpmud-2.4.5/log; mv [A-Za-km-z]* lpmud-2.4.5 +mkdir -p bin; mv 2.4.5/hname.c 2.4.5/convert.c bin +cp ${FILESDIR}/Makefile.bin bin/Makefile +cp ${FILESDIR}/Copyright.lp lpmud-2.4.5/Copyright +mv 2.4.5/rundgd runlpmud |