From 2d3e091eb2b3769a27b8e164efd2113078b3abee Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Fri, 29 Aug 2003 18:30:08 +0000 Subject: . Make this port act more like a standard FreeBSD port: . Don't install everything in ${PREFIX}/dgd instead place the executables, docs and configuration in the standard places and place the example kernel mudlib in DATADIR. . Don't use the packing list as a list of things to install. . Fix up the configuration file to point to the install locations. . Add a sample rc script which can be used to start and stop dgd (need a 5.x RCng version as well). . Create a user to run the dgd service as (I'll reuse this user for ports of other mud drivers). . Add the games category as dgd is primarily used to write muds. . Bump PORTREVISION. --- net/dgd/files/patch-mud.dgd | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 net/dgd/files/patch-mud.dgd (limited to 'net/dgd/files/patch-mud.dgd') diff --git a/net/dgd/files/patch-mud.dgd b/net/dgd/files/patch-mud.dgd new file mode 100644 index 000000000000..e2a32db40124 --- /dev/null +++ b/net/dgd/files/patch-mud.dgd @@ -0,0 +1,17 @@ +$FreeBSD$ + +--- ../mud.dgd.orig Thu Mar 4 13:54:52 1999 ++++ ../mud.dgd Thu Aug 28 14:54:26 2003 +@@ -1,10 +1,10 @@ + telnet_port = 6047; /* telnet port number */ + binary_port = 6048; /* binary port number */ +-directory = "/home/dworkin/dgd/mud";/* base directory (MUST be absolute) */ ++directory = "%%DATADIR%%/kernel"; /* base directory (MUST be absolute) */ + users = 40; /* max # of users */ + editors = 40; /* max # of editor sessions */ + ed_tmpfile = "../tmp/ed"; /* proto editor tmpfile */ +-swap_file = "../tmp/swap"; /* swap file */ ++swap_file = "../tmp/dgd.swap"; /* swap file */ + swap_size = 1024; /* # sectors in swap file */ + cache_size = 50; /* # sectors in swap cache */ + sector_size = 512; /* swap sector size */ -- cgit v1.2.3