summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAdam David <adam@FreeBSD.org>1994-08-30 12:55:07 +0000
committerAdam David <adam@FreeBSD.org>1994-08-30 12:55:07 +0000
commit9791be6f322b91e26072fcbf754574aeeb75c6b6 (patch)
tree52d5e5895768ae09eff63412fbb0b55216556b76 /net
parentLots of changes - get the NO_XXX things over, add @'s to the touches for (diff)
naked dgd port, this just deals with the sources necessary to build the
driver and the precompiler. Reviewed by: Submitted by:
Notes
Notes: svn path=/head/; revision=46
Diffstat (limited to '')
-rw-r--r--net/dgd/Makefile46
-rw-r--r--net/dgd/files/patch-aa61
-rw-r--r--net/dgd/files/patch-ab33
-rw-r--r--net/dgd/pkg-comment1
-rw-r--r--net/dgd/pkg-descr11
-rw-r--r--net/dgd/pkg-plist11
-rw-r--r--net/dgd/scripts/configure14
7 files changed, 177 insertions, 0 deletions
diff --git a/net/dgd/Makefile b/net/dgd/Makefile
new file mode 100644
index 000000000000..03a9f6b6cd5a
--- /dev/null
+++ b/net/dgd/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: dgd
+# Version required: 1.0.8
+# Date created: 23 August 1994
+# Whom: adam
+#
+
+DISTNAME= dgd-1.0.8
+HOME_LOCATION= ftp.lysator.liu.se:~ftp/pub/lpmud/drivers/dgd/dgd-1.0.8
+PATCH_LOCATION= epsilon.me.chalmers.se:~dgd/patches/$@ Password: foo&&bar
+PATCH_COOKIE= ${.CURDIR}/work/.patch_done
+PATCHLIST= ${.CURDIR}/work/.patchlist
+PATCHLEVEL= `tail -1 ${PATCHLIST} | sed 's/^.*\.\(.*\)\.gz$$/\1/'`
+WRKSRC= ${WRKDIR}/dgd/src
+PKG_ARGS= -v -c ${PKGDIR}/COMMENT -d ${PKGDIR}/DESCR -f ${PKGDIR}/PLIST \
+ -r ${PKGDIR}/REQ
+
+# We need to determine whether all author-supplied patches are present
+# and whether they are applied correctly
+### not yet implemented
+
+pre-configure: extract ${PATCH_COOKIE}
+ @find -X ${WRKDIR}/dgd -name '*.orig' -print | xargs rm -f
+
+${PATCHLIST}:
+ @cd ${DISTDIR}; \
+ ls ${DISTNAME}*.[0-9].gz ${DISTNAME}*.[0-9][0-9].gz \
+ 2>/dev/null >${PATCHLIST}
+
+${PATCH_COOKIE}: ${PATCHLIST}
+ @if [ -s ${PATCHLIST} ]; then \
+ echo "===> Updating to ${DISTNAME}.${PATCHLEVEL}"; \
+ cd ${DISTDIR}; \
+ gzcat `cat ${PATCHLIST}` | patch -d ${WRKDIR} --quiet -E -p0; \
+ fi
+ @touch -f ${PATCH_COOKIE}
+
+bundle: extract
+ @echo "===> Bundling for ${DISTNAME}.${PATCHLEVEL}"
+ @if [ -f ${CONFIGURE_COOKIE} ]; then \
+ echo ">> WARNING: This source has been configured and may"; \
+ echo ">> produce a tainted distfile!"; \
+ fi
+ tar -C ${WRKDIR} -cf - dgd | gzip -9 \
+ >${DISTDIR}/${DISTNAME}.${PATCHLEVEL}${EXTRACT_SUFX}
+
+.include <bsd.port.mk>
diff --git a/net/dgd/files/patch-aa b/net/dgd/files/patch-aa
new file mode 100644
index 000000000000..eee6403210ab
--- /dev/null
+++ b/net/dgd/files/patch-aa
@@ -0,0 +1,61 @@
+*** Makefile.old Sat Jul 16 13:28:40 1994
+--- Makefile Thu Aug 25 10:20:32 1994
+***************
+*** 1,13 ****
+ #
+ # Makefile for DGD, Dworkin's Game Driver
+ #
+! HOST= SUNOS4
+ DEFINES=-D$(HOST)
+! DEBUG= -g -DDEBUG
+ CCFLAGS=$(DEFINES) $(DEBUG)
+ CFLAGS= -I. -Icomp -Ilex -Ied -Ikfun $(CCFLAGS)
+! LDFLAGS=
+! LIBS=
+ CC= gcc
+ LD= $(CC)
+ DMAKE= make
+--- 1,15 ----
+ #
+ # Makefile for DGD, Dworkin's Game Driver
+ #
+! HOST= BSD386
+ DEFINES=-D$(HOST)
+! DEBUG=
+! #DEBUG= -g -DDEBUG
+ CCFLAGS=$(DEFINES) $(DEBUG)
+ CFLAGS= -I. -Icomp -Ilex -Ied -Ikfun $(CCFLAGS)
+! LDFLAGS= -s
+! #LDFLAGS=
+! LIBS= -lcrypt
+ CC= gcc
+ LD= $(CC)
+ DMAKE= make
+***************
+*** 20,25 ****
+--- 22,29 ----
+ COMPOBJ=alloc.o error.o hash.o path.o str.o array.o object.o data.o \
+ interpret.o config.o
+
++ all: a.out
++
+ a.out: $(OBJ)
+ cd comp; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
+ cd lex; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
+***************
+*** 50,56 ****
+
+ comp/a.out:
+ cd comp; $(DMAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' \
+! 'LIBS=$(LIBS)' a.out
+
+ clean:
+ rm -f a.out $(OBJ) comp.sub lex.sub ed.sub
+--- 54,60 ----
+
+ comp/a.out:
+ cd comp; $(DMAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' \
+! 'LDFLAGS=$(LDFLAGS)' 'LIBS=$(LIBS)' a.out
+
+ clean:
+ rm -f a.out $(OBJ) comp.sub lex.sub ed.sub
diff --git a/net/dgd/files/patch-ab b/net/dgd/files/patch-ab
new file mode 100644
index 000000000000..f391f0a04986
--- /dev/null
+++ b/net/dgd/files/patch-ab
@@ -0,0 +1,33 @@
+*** ../README.FreeBSD Wed Dec 31 16:00:00 1969
+--- ../README.FreeBSD Sun Aug 28 06:43:17 1994
+***************
+*** 0 ****
+--- 1,8 ----
++ This is the core distribution of DGD, providing all the tools needed to
++ implement a MUD server, except for the "mudlib" which must be obtained
++ separately or written from scratch. Normally with DGD, the mudlib exists
++ as two distinct layers -- one to define the programming environment, and
++ the other is the actual programmed "world" that is interacted with.
++
++ Mudlib simulations are available for LPmud and LambdaMoo environments.
++ Other such simulations are in various stages of development.
+*** ../README.sites Wed Dec 31 16:00:00 1969
+--- ../README.sites Sun Aug 28 06:27:25 1994
+***************
+*** 0 ****
+--- 1,15 ----
++ DGD MUDs known to be open as of August 1994 are:
++
++ [LPmud]
++ The Pattern: [129.16.50.30] epsilon.me.chalmers.se 6047 (DGD development site)
++ IgorMUD: [129.16.60.9] ny.mtek.chalmers.se 1701 (good typical LPmud)
++ Albion MUD: [193.4.230.1] mud.veda.is 4000 (play and development)
++ PaderMUD: [131.234.2.42] mud.uni-paderborn.de 3000 (enchanting realism)
++ GodsHome: [193.10.118.131] godshome.solace.mh.se 3000 (roleplaying)
++
++ All 5 have a more or less medieval theme.
++
++ [moo]
++ MirrorMOO: [129.10.112.76] mirror.ccs.neu.edu 8889 (Alice's Wonderland)
++
++ Other sites are also developing their own special mudlibs with DGD.
diff --git a/net/dgd/pkg-comment b/net/dgd/pkg-comment
new file mode 100644
index 000000000000..899563067365
--- /dev/null
+++ b/net/dgd/pkg-comment
@@ -0,0 +1 @@
+Dworkin's Game Driver (MUD server), version 1.0.8.
diff --git a/net/dgd/pkg-descr b/net/dgd/pkg-descr
new file mode 100644
index 000000000000..f65008515d9e
--- /dev/null
+++ b/net/dgd/pkg-descr
@@ -0,0 +1,11 @@
+DGD 1.0.8
+----------
+
+This is Dworkin's Game Driver, a versatile general purpose MUD server.
+The language implementation is an improved and simplified dialect of LPC,
+it is suitable for simulating existing Gamedriver models, or inventing new
+ones. Its usefulness is not limited to the world of MUDs and MUDding.
+
+Please send all reports, comments and suggestions to:
+
+ dworkin@cd.chalmers.se
diff --git a/net/dgd/pkg-plist b/net/dgd/pkg-plist
new file mode 100644
index 000000000000..6da238655bb7
--- /dev/null
+++ b/net/dgd/pkg-plist
@@ -0,0 +1,11 @@
+@srcdir /usr/ports/net/dgd/work
+@owner mud
+@group mudadmin
+@cwd /usr/local
+dgd/Copyright
+dgd/Credits
+dgd/README
+dgd/README.FreeBSD
+dgd/README.sites
+dgd/bin
+dgd/doc
diff --git a/net/dgd/scripts/configure b/net/dgd/scripts/configure
new file mode 100644
index 000000000000..e6a5e9eb98d8
--- /dev/null
+++ b/net/dgd/scripts/configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+if [ $# -ne 3 ]; then
+ echo "This script should only be run by the Makefile."
+ exit 1
+fi
+
+# First arg is top level ports directory, second is current directory,
+# third is the directory containing the dist.
+#
+PDIR=$1
+CDIR=$2
+WDIR=$3
+