naked dgd port, this just deals with the sources necessary to build the
driver and the precompiler. Reviewed by: Submitted by:
This commit is contained in:
parent
d8b196e5be
commit
9791be6f32
46
net/dgd/Makefile
Normal file
46
net/dgd/Makefile
Normal file
@ -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>
|
||||
61
net/dgd/files/patch-aa
Normal file
61
net/dgd/files/patch-aa
Normal file
@ -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
|
||||
33
net/dgd/files/patch-ab
Normal file
33
net/dgd/files/patch-ab
Normal file
@ -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.
|
||||
1
net/dgd/pkg-comment
Normal file
1
net/dgd/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Dworkin's Game Driver (MUD server), version 1.0.8.
|
||||
11
net/dgd/pkg-descr
Normal file
11
net/dgd/pkg-descr
Normal file
@ -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
|
||||
11
net/dgd/pkg-plist
Normal file
11
net/dgd/pkg-plist
Normal file
@ -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
|
||||
14
net/dgd/scripts/configure
vendored
Normal file
14
net/dgd/scripts/configure
vendored
Normal file
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user