diff options
author | Steve Price <steve@FreeBSD.org> | 1999-11-26 19:16:46 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-11-26 19:16:46 +0000 |
commit | 2a7c46a12ffe92d2a8c458c9d42e074048bf534a (patch) | |
tree | df64595a64c8036b29d19c33665e34e5d96953eb /games/wolfpack | |
parent | 446587fe3f458ebd79cd71700c62dec781f45b2c (diff) | |
download | ports-2a7c46a12ffe92d2a8c458c9d42e074048bf534a.tar.gz ports-2a7c46a12ffe92d2a8c458c9d42e074048bf534a.zip |
Notes
Diffstat (limited to 'games/wolfpack')
-rw-r--r-- | games/wolfpack/Makefile | 30 | ||||
-rw-r--r-- | games/wolfpack/distinfo | 1 | ||||
-rw-r--r-- | games/wolfpack/files/build.conf.tmpl | 63 | ||||
-rw-r--r-- | games/wolfpack/files/patch-aa | 227 | ||||
-rw-r--r-- | games/wolfpack/files/patch-ab | 12 | ||||
-rw-r--r-- | games/wolfpack/files/patch-ac | 14 | ||||
-rw-r--r-- | games/wolfpack/files/patch-ad | 45 | ||||
-rw-r--r-- | games/wolfpack/files/post-install-info | 7 | ||||
-rw-r--r-- | games/wolfpack/pkg-comment | 1 | ||||
-rw-r--r-- | games/wolfpack/pkg-descr | 4 | ||||
-rw-r--r-- | games/wolfpack/pkg-plist | 342 | ||||
-rw-r--r-- | games/wolfpack/scripts/configure | 40 |
12 files changed, 786 insertions, 0 deletions
diff --git a/games/wolfpack/Makefile b/games/wolfpack/Makefile new file mode 100644 index 000000000000..c84da4527ac4 --- /dev/null +++ b/games/wolfpack/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: wolfpack +# Version required: 4.2.6 +# Date created: 26 October 1999 +# Whom: Daniel O'Connor <darius@dons.net.au> +# +# $FreeBSD$ +# + +DISTNAME= empire4.2.6 +PKGNAME= wolfpack-4.2.6 +CATEGORIES= games +MASTER_SITES= ftp://empire.idlpaper.com/pub/empire/server/ + +MAINTAINER= darius@dons.net.au + +IS_INTERACTIVE= yes # configure script asks questions +WRKSRC= ${WRKDIR}/emp4 +ALL_TARGET= freebsd + +MAN1= fairland.1 files.1 land.1 ore.1 pconfig.1 perfect.1 +MAN6= emp_client.6 emp_server.6 + +MAKE_ARGS= PREFIX=${PREFIX} + +post-install: + ${CHMOD} 750 ${PREFIX}/wolfpack/data + ${CHMOD} 755 ${PREFIX}/wolfpack/info.nr + @${CAT} ${FILESDIR}/post-install-info + +.include <bsd.port.mk> diff --git a/games/wolfpack/distinfo b/games/wolfpack/distinfo new file mode 100644 index 000000000000..54dff27d1899 --- /dev/null +++ b/games/wolfpack/distinfo @@ -0,0 +1 @@ +MD5 (empire4.2.6.tar.gz) = 16d6c12830cfa9c58b6d6a9fd126e228 diff --git a/games/wolfpack/files/build.conf.tmpl b/games/wolfpack/files/build.conf.tmpl new file mode 100644 index 000000000000..a18454a1916c --- /dev/null +++ b/games/wolfpack/files/build.conf.tmpl @@ -0,0 +1,63 @@ +# +# Below are a list of questions you may or may not need to answer. They +# are all one-liner. Just change the default value if needed, and save +# the file when done. Have fun!!! +# + +# Please enter your name: +MYNAME = %%NAME%% + +# Please enter your user name: +# (For NT and the basic emp_client build, use "USERNAME = win-empcl2.8") +USERNAME = %%USERNAME%% + +# Please enter your e-mail address: +EMAIL = %%EMAIL%% + +# Please enter the host name you will be running on: +# (For NT you can use "HOSTNAME = localhost" as this seems to be what it +# resolves to if you use 127.0.0.1 below) +HOSTNAME = %%HOSTNAME%% + +# Please enter the ip address of the host you will be running on: +# (For NT you can use "IPADDR = 127.0.0.1") +IPADDR = %%IPADDR%% + +# Please enter the port you will be running on: +PORTNUM = 6665 + +# Please enter the directory where you want the files for the game: +# (For NT builds, use two \'s and make sure you include a drive letter) +EMPDIR = %%EMPDIR%% + +# Please enter the C-compiler you are using (full path is allowed): +# (For NT builds using MSVC 5.0, use "CC = CL") +CC = gcc + +# Please enter the linker you are using (full path is allowed): +LD = ld + +# Please enter the maximum number of countries you want: +MAXNOC = 99 + +# Please enter the world size you would like (WORLDX must be +# divisible by 2): +WORLDX = 64 +WORLDY = 32 + +# Please enter if you are setting up a blitz (1 - yes, 0 - no) +BLITZ = 1 + +# Please enter the number of ETUs per update (must be divisible by 4): +ETUS = 60 + +# Please enter the frequency of the updates. For example: +# Once per day - 1d +# Once every 20 minutes - 20m +# Once every 4 hours - 4h +ETUFREQ = 10m + +# That's it... Save this file, and type "make <arch>" to build the +# server. If you are not sure of what architectures are supported, +# just type "make" and it will tell you. (If you are building the +# NT port, use "nmake" instead of "make".) diff --git a/games/wolfpack/files/patch-aa b/games/wolfpack/files/patch-aa new file mode 100644 index 000000000000..4e8438c13e52 --- /dev/null +++ b/games/wolfpack/files/patch-aa @@ -0,0 +1,227 @@ +--- Makefile.orig Tue Feb 16 01:06:47 1999 ++++ Makefile Tue Oct 26 14:56:09 1999 +@@ -80,7 +80,6 @@ + ($(MAKE) genlibs $(ALPHAMASTER)) + (cd src/lib/lwp; $(MAKE) $(ALPHAMASTER)) + ($(MAKE) binaries $(ALPHAMASTER)) +- ($(MAKE) install) + + alpha-pthreads: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -88,7 +87,6 @@ + ($(MAKE) genlibs $(ALPHAPOSMASTER)) + (cd src/lib/lwp; $(MAKE) $(ALPHAPOSMASTER)) + ($(MAKE) binaries $(ALPHAPOSMASTER)) +- ($(MAKE) install) + + apollo: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -96,7 +94,6 @@ + ($(MAKE) genlibs $(APOLLOMASTER)) + (cd src/lib/lwp; $(MAKE) $(APOLLOMASTER)) + ($(MAKE) binaries $(APOLLOMASTER)) +- ($(MAKE) install) + + freebsd: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -104,7 +101,6 @@ + ($(MAKE) genlibs $(FREEBSDMASTER)) + (cd src/lib/lwp; $(MAKE) $(FREEBSDMASTER)) + ($(MAKE) binaries $(FREEBSDMASTER)) +- ($(MAKE) install) + + hp: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -112,7 +108,6 @@ + ($(MAKE) genlibs $(HPMASTER)) + (cd src/lib/lwp; $(MAKE) $(HPMASTER)) + ($(MAKE) binaries $(HPMASTER) CLIENTLIBS="") +- ($(MAKE) install) + + hpux: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -120,7 +115,6 @@ + ($(MAKE) genlibs $(HPUXMASTER)) + (cd src/lib/lwp; $(MAKE) $(HPUXMASTER)) + ($(MAKE) binaries $(HPUXMASTER) CLIENTLIBS="") +- ($(MAKE) install) + + next: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -128,7 +122,6 @@ + ($(MAKE) genlibs $(NEXTMASTER)) + (cd src/lib/lwp; $(MAKE) $(NEXTMASTER)) + ($(MAKE) binaries $(NEXTMASTER)) +- ($(MAKE) install) + + irix: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -136,7 +129,6 @@ + ($(MAKE) genlibs $(IRIXMASTER)) + (cd src/lib/lwp; $(MAKE) $(IRIXMASTER)) + ($(MAKE) binaries $(IRIXMASTER)) +- ($(MAKE) install) + + irix5: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -144,7 +136,6 @@ + ($(MAKE) genlibs $(IRIX5MASTER)) + (cd src/lib/lwp; $(MAKE) $(IRIX5MASTER)) + ($(MAKE) binaries $(IRIX5MASTER)) +- ($(MAKE) install) + + isi: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -152,7 +143,6 @@ + ($(MAKE) genlibs $(ISIMASTER)) + (cd src/lib/lwp; $(MAKE) $(ISIMASTER)) + ($(MAKE) binaries $(ISIMASTER)) +- ($(MAKE) install) + + linux: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -162,7 +152,6 @@ + ($(MAKE) genlibs $(LINUXMASTER)) + (cd src/lib/lwp; $(MAKE) $(LINUXMASTER)) + ($(MAKE) binaries $(LINUXMASTER)) +- ($(MAKE) install) + + linux-pthreads: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -170,7 +159,6 @@ + ($(MAKE) genlibs $(LINUXPTHMASTER)) + (cd src/lib/lwp; $(MAKE) $(LINUXPTHMASTER)) + ($(MAKE) binaries $(LINUXPTHMASTER)) +- ($(MAKE) install) + + mipsbsd: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -178,7 +166,6 @@ + ($(MAKE) genlibs $(MIPSBSDMASTER)) + (cd src/lib/lwp; $(MAKE) mipsultrix $(MIPSBSDMASTER)) + ($(MAKE) binaries $(MIPSBSDMASTER)) +- ($(MAKE) install) + + mach2.5: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -186,7 +173,6 @@ + ($(MAKE) genlibs $(MACH25MASTER)) + (cd src/lib/lwp; $(MAKE) mipsultrix $(MACH25MASTER)) + ($(MAKE) binaries $(MACH25MASTER)) +- ($(MAKE) install) + + mipsultrix: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -194,7 +180,6 @@ + ($(MAKE) genlibs $(MIPSULTMASTER)) + (cd src/lib/lwp; $(MAKE) mipsultrix $(MIPSULTMASTER)) + ($(MAKE) binaries $(MIPSULTMASTER)) +- ($(MAKE) install) + + mipsultrix.gcc: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -202,7 +187,6 @@ + ($(MAKE) genlibs $(MIPSULTGMASTER)) + (cd src/lib/lwp; $(MAKE) mipsultrix $(MIPSULTGMASTER)) + ($(MAKE) binaries $(MIPSULTGMASTER)) +- ($(MAKE) install) + + nt: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -222,7 +206,6 @@ + ($(MAKE) genlibs $(VAXULTMASTER)) + (cd src/lib/lwp; $(MAKE) $(VAXULTMASTER)) + ($(MAKE) binaries $(VAXULTMASTER)) +- ($(MAKE) install) + + aix: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -230,7 +213,6 @@ + ($(MAKE) genlibs $(AIXMASTER)) + (cd src/lib/lwp; $(MAKE) aix $(AIXMASTER)) + ($(MAKE) binaries $(AIXMASTER)) +- ($(MAKE) install) + + rtpc: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -238,7 +220,6 @@ + ($(MAKE) genlibs $(RTPCMASTER)) + (cd src/lib/lwp; $(MAKE) aix $(RTPCMASTER)) + ($(MAKE) binaries $(RTPCMASTER)) +- ($(MAKE) install) + + sequent: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -246,7 +227,6 @@ + ($(MAKE) genlibs $(SEQMASTER)) + (cd src/lib/lwp; $(MAKE) $(SEQMASTER)) + ($(MAKE) binaries $(SEQMASTER)) +- ($(MAKE) install) + + sequent.fpa: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -254,7 +234,6 @@ + ($(MAKE) genlibs $(SEQFPAMASTER)) + (cd src/lib/lwp; $(MAKE) $(SEQFPAMASTER)) + ($(MAKE) binaries $(SEQFPAMASTER)) +- ($(MAKE) install) + + solaris: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -262,7 +241,6 @@ + ($(MAKE) genlibs $(SOLMASTER)) + (cd src/lib/lwp; $(MAKE) $(SOLMASTER)) + ($(MAKE) binaries $(SOLMASTER)) +- ($(MAKE) install) + + sun3: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -270,7 +248,6 @@ + ($(MAKE) genlibs $(SUN3MASTER)) + (cd src/lib/lwp; $(MAKE) $(SUN3MASTER)) + ($(MAKE) binaries $(SUN3MASTER)) +- ($(MAKE) install) + + sun4: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -278,7 +255,6 @@ + ($(MAKE) genlibs $(SUN4MASTER)) + (cd src/lib/lwp; $(MAKE) $(SUN4MASTER)) + ($(MAKE) binaries $(SUN4MASTER)) +- ($(MAKE) install) + + sun4.opt: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -286,7 +262,6 @@ + ($(MAKE) genlibs $(SUN4OPTMASTER)) + (cd src/lib/lwp; $(MAKE) $(SUN4OPTMASTER)) + ($(MAKE) binaries $(SUN4OPTMASTER)) +- ($(MAKE) install) + + sun4.debug: + @echo 'building a $(WORLDX) by $(WORLDY) server...' +@@ -294,7 +269,6 @@ + ($(MAKE) genlibs $(SUN4DBGMASTER)) + (cd src/lib/lwp; $(MAKE) $(SUN4DBGMASTER)) + ($(MAKE) binaries $(SUN4DBGMASTER)) +- ($(MAKE) install) + + # + # Generic stuff that is called from the architecture specific stuff. +@@ -527,9 +501,16 @@ + # data directory if you didn't have one before. + + install: ++ (cd src/doconfig; $(MAKE) install) + (cd src/client; $(MAKE) install) + (cd src/server; $(MAKE) install) + (cd src/util; $(MAKE) install) ++ cp README $(EMPDIR) ++ cp -r info.nr $(EMPDIR) ++ cp -r doc $(EMPDIR) ++ cp -r scripts $(EMPDIR) ++ cp man/*.1 $(PREFIX)/man/man1 ++ cp man/*.6 $(PREFIX)/man/man6 + -(mv $(EMPDIR)/data/econfig $(EMPDIR)/data/econfig.bak) + ($(EMPDIR)/bin/pconfig > $(EMPDIR)/data/econfig) + -(mv $(EMPDIR)/data/econfig.bak $(EMPDIR)/data/econfig) diff --git a/games/wolfpack/files/patch-ab b/games/wolfpack/files/patch-ab new file mode 100644 index 000000000000..66a2e7664ff1 --- /dev/null +++ b/games/wolfpack/files/patch-ab @@ -0,0 +1,12 @@ +diff -u -r ./include/misc.h ../emp4.patched/include/misc.h +--- ./include/misc.h Wed Nov 18 10:12:29 1998 ++++ ../emp4.patched/include/misc.h Tue Oct 26 10:55:54 1999 +@@ -181,7 +181,7 @@ + extern char *calloc(); + #endif + #else +-#if !defined(ALPHA) && !defined(__osf__) && !defined(ultrix) && !defined(hpux) ++#if !defined(ALPHA) && !defined(__osf__) && !defined(ultrix) && !defined(hpux) && !defined(__FreeBSD__) + extern char *malloc(); + extern char *calloc(); + #endif diff --git a/games/wolfpack/files/patch-ac b/games/wolfpack/files/patch-ac new file mode 100644 index 000000000000..40083006bb6d --- /dev/null +++ b/games/wolfpack/files/patch-ac @@ -0,0 +1,14 @@ +--- src/doconfig/Makefile Wed Nov 18 10:12:40 1998 ++++ src/doconfig/Makefile.orig Tue Oct 26 15:13:55 1999 +@@ -53,7 +53,10 @@ + @echo 'globalcflags = $(GLOBALCFLAGS)' + @echo 'globallflags = $(GLOBALLFLAGS)' + $(CC) $(GLOBALCFLAGS) $(DALL) doconfig.c -o doconfig $(GLOBALLFLAGS) +- ./doconfig ++ ./doconfig config ++ ++install: doconfig ++ ./doconfig install + + nt: ntdoconfig + diff --git a/games/wolfpack/files/patch-ad b/games/wolfpack/files/patch-ad new file mode 100644 index 000000000000..ccb8e8b513b6 --- /dev/null +++ b/games/wolfpack/files/patch-ad @@ -0,0 +1,45 @@ +--- src/doconfig/doconfig.c Sun Jan 17 03:14:13 1999 ++++ src/doconfig/doconfig.c.orig Tue Oct 26 15:13:27 1999 +@@ -91,12 +91,17 @@ + #endif + + int +-main() ++main(int argc, char **argv) + { + char buf[256]; + char *cp; + char *pathname; + ++ if (argc != 2) { ++ printf("Bad usage"); ++ exit(-1); ++ } ++ + if ((pathname = getcwd(NULL, 255)) == NULL) { + printf("Can't get current path!\n"); + exit(-1); +@@ -113,13 +118,14 @@ + cp = (char *)rindex(pathname, '\\'); + *cp = '\0'; + #endif ++ if (!strcasecmp(argv[1], "config")) { + printf("Configuring...\n"); + wrmakesrc(pathname); + sprintf(buf, "%s/include/gamesdef.h", pathname); + wrgamesdef(buf); + sprintf(buf, "%s/src/client/ipglob.c", pathname); + wripglob(buf); +- ++ } else { + if (access(EP, 0)) { + printf("making directory %s\n", EP); + if (mkdir(EP, 493)) { +@@ -139,6 +145,7 @@ + wrauth(buf); + sprintf(buf, "%s/data/hours", EP); + wrhours(buf); ++ } + exit(0); + } + diff --git a/games/wolfpack/files/post-install-info b/games/wolfpack/files/post-install-info new file mode 100644 index 000000000000..019a8d30665c --- /dev/null +++ b/games/wolfpack/files/post-install-info @@ -0,0 +1,7 @@ +If you compile this on one machine and install it on another you will not be +able to login as a deity from the installed machine. Check the +$PREFIX/wolfpack/data/auth file. + +Please read the documentation in $PREFIX/wolfpack/README about configuring the +server and creating a world. + diff --git a/games/wolfpack/pkg-comment b/games/wolfpack/pkg-comment new file mode 100644 index 000000000000..c9a5c2e85eb4 --- /dev/null +++ b/games/wolfpack/pkg-comment @@ -0,0 +1 @@ +Long term multiplayer strategy game diff --git a/games/wolfpack/pkg-descr b/games/wolfpack/pkg-descr new file mode 100644 index 000000000000..f92e84fc172a --- /dev/null +++ b/games/wolfpack/pkg-descr @@ -0,0 +1,4 @@ +Wolfpack Empire is a game designed for 2 to 100 people. Games can last from 24 +hours to 1 year. Very complex and highly addictive, beware! + +WWW: http://empire.idlpaper.com/ diff --git a/games/wolfpack/pkg-plist b/games/wolfpack/pkg-plist new file mode 100644 index 000000000000..c99567bfe6a4 --- /dev/null +++ b/games/wolfpack/pkg-plist @@ -0,0 +1,342 @@ +wolfpack/README +wolfpack/bin/emp_client +wolfpack/bin/emp_server +wolfpack/bin/fairland +wolfpack/bin/files +wolfpack/bin/pconfig +wolfpack/data/auth +wolfpack/data/econfig +wolfpack/data/hours +wolfpack/doc/CHANGES +wolfpack/doc/CHANGES2.3 +wolfpack/doc/CHANGES3.0 +wolfpack/doc/CHANGES4.X +wolfpack/doc/README +wolfpack/doc/WACKY_IDEAS +wolfpack/doc/WISH_LIST +wolfpack/doc/backups +wolfpack/doc/bug-reports +wolfpack/doc/coding +wolfpack/doc/compiling +wolfpack/doc/configuration +wolfpack/doc/debugging +wolfpack/doc/disk_space +wolfpack/doc/econfig +wolfpack/doc/files +wolfpack/doc/message +wolfpack/doc/pthreads +wolfpack/doc/threads +wolfpack/doc/troubleshooting +wolfpack/info.nr/Attack +wolfpack/info.nr/Autofeed +wolfpack/info.nr/Autonav +wolfpack/info.nr/BTU +wolfpack/info.nr/Basics +wolfpack/info.nr/Bridges +wolfpack/info.nr/Bugs +wolfpack/info.nr/CHANGES.CHAINSAW +wolfpack/info.nr/Citizens +wolfpack/info.nr/Clients +wolfpack/info.nr/Combat +wolfpack/info.nr/Commodities +wolfpack/info.nr/Communication +wolfpack/info.nr/Damage +wolfpack/info.nr/Deity +wolfpack/info.nr/Detection +wolfpack/info.nr/Diplomacy +wolfpack/info.nr/Distribution +wolfpack/info.nr/Education +wolfpack/info.nr/Empire2 +wolfpack/info.nr/Empire3 +wolfpack/info.nr/Empire4 +wolfpack/info.nr/Expert +wolfpack/info.nr/Fallout +wolfpack/info.nr/Flak +wolfpack/info.nr/Food +wolfpack/info.nr/God +wolfpack/info.nr/Guerrilla +wolfpack/info.nr/Guide +wolfpack/info.nr/Happiness +wolfpack/info.nr/Hidden +wolfpack/info.nr/Hints +wolfpack/info.nr/History +wolfpack/info.nr/Hitchance +wolfpack/info.nr/Infrastructure +wolfpack/info.nr/Innards +wolfpack/info.nr/Interception +wolfpack/info.nr/Introduction +wolfpack/info.nr/Kill +wolfpack/info.nr/Land-units +wolfpack/info.nr/LandUnits +wolfpack/info.nr/Loans +wolfpack/info.nr/Maintenance +wolfpack/info.nr/Maps +wolfpack/info.nr/Market +wolfpack/info.nr/Merc +wolfpack/info.nr/Missions +wolfpack/info.nr/Mobility +wolfpack/info.nr/Move +wolfpack/info.nr/Moving +wolfpack/info.nr/Nation +wolfpack/info.nr/Novice +wolfpack/info.nr/Nuke-types +wolfpack/info.nr/Obsolete +wolfpack/info.nr/Occupation +wolfpack/info.nr/Old-empire +wolfpack/info.nr/Options +wolfpack/info.nr/Overview +wolfpack/info.nr/Plague +wolfpack/info.nr/Plane-types +wolfpack/info.nr/Planes +wolfpack/info.nr/Playing +wolfpack/info.nr/Populace +wolfpack/info.nr/Production +wolfpack/info.nr/Products +wolfpack/info.nr/Quick-ref +wolfpack/info.nr/Research +wolfpack/info.nr/Sector-ownership +wolfpack/info.nr/Sector-types +wolfpack/info.nr/Sectors +wolfpack/info.nr/Selector +wolfpack/info.nr/Server +wolfpack/info.nr/Ship-types +wolfpack/info.nr/Ships +wolfpack/info.nr/Spies +wolfpack/info.nr/Suggestions +wolfpack/info.nr/Syntax +wolfpack/info.nr/TOP +wolfpack/info.nr/Taxes +wolfpack/info.nr/Technology +wolfpack/info.nr/Time +wolfpack/info.nr/Trade-ships +wolfpack/info.nr/Unit-types +wolfpack/info.nr/Update +wolfpack/info.nr/Update-sequence +wolfpack/info.nr/Wolfpack +wolfpack/info.nr/accept +wolfpack/info.nr/add +wolfpack/info.nr/all +wolfpack/info.nr/announce +wolfpack/info.nr/anti +wolfpack/info.nr/apropos +wolfpack/info.nr/arm +wolfpack/info.nr/army +wolfpack/info.nr/assault +wolfpack/info.nr/attack +wolfpack/info.nr/bdes +wolfpack/info.nr/bestdistpath +wolfpack/info.nr/bestpath +wolfpack/info.nr/bmap +wolfpack/info.nr/board +wolfpack/info.nr/bomb +wolfpack/info.nr/break +wolfpack/info.nr/budget +wolfpack/info.nr/build +wolfpack/info.nr/buy +wolfpack/info.nr/bye +wolfpack/info.nr/capital +wolfpack/info.nr/cargo +wolfpack/info.nr/cede +wolfpack/info.nr/census +wolfpack/info.nr/change +wolfpack/info.nr/coastwatch +wolfpack/info.nr/collect +wolfpack/info.nr/commodity +wolfpack/info.nr/consider +wolfpack/info.nr/convert +wolfpack/info.nr/country +wolfpack/info.nr/cutoff +wolfpack/info.nr/declare +wolfpack/info.nr/deliver +wolfpack/info.nr/demobilize +wolfpack/info.nr/designate +wolfpack/info.nr/disable +wolfpack/info.nr/disarm +wolfpack/info.nr/dissolve +wolfpack/info.nr/distribute +wolfpack/info.nr/drop +wolfpack/info.nr/dump +wolfpack/info.nr/echo +wolfpack/info.nr/edit +wolfpack/info.nr/enable +wolfpack/info.nr/enlist +wolfpack/info.nr/execute +wolfpack/info.nr/explore +wolfpack/info.nr/financial +wolfpack/info.nr/fire +wolfpack/info.nr/flash +wolfpack/info.nr/fleetadd +wolfpack/info.nr/fly +wolfpack/info.nr/follow +wolfpack/info.nr/force +wolfpack/info.nr/fortify +wolfpack/info.nr/fuel +wolfpack/info.nr/give +wolfpack/info.nr/grind +wolfpack/info.nr/harden +wolfpack/info.nr/headlines +wolfpack/info.nr/hidden +wolfpack/info.nr/improve +wolfpack/info.nr/info +wolfpack/info.nr/land +wolfpack/info.nr/launch +wolfpack/info.nr/lboard +wolfpack/info.nr/lcargo +wolfpack/info.nr/ldump +wolfpack/info.nr/ledger +wolfpack/info.nr/level +wolfpack/info.nr/list +wolfpack/info.nr/lload +wolfpack/info.nr/llook +wolfpack/info.nr/llookout +wolfpack/info.nr/lmap +wolfpack/info.nr/lmine +wolfpack/info.nr/load +wolfpack/info.nr/lookout +wolfpack/info.nr/lost +wolfpack/info.nr/lradar +wolfpack/info.nr/lrange +wolfpack/info.nr/lretreat +wolfpack/info.nr/lstat +wolfpack/info.nr/ltend +wolfpack/info.nr/lunload +wolfpack/info.nr/map +wolfpack/info.nr/march +wolfpack/info.nr/market +wolfpack/info.nr/mine +wolfpack/info.nr/mission +wolfpack/info.nr/mobupdate +wolfpack/info.nr/morale +wolfpack/info.nr/motd +wolfpack/info.nr/move +wolfpack/info.nr/mquota +wolfpack/info.nr/mult +wolfpack/info.nr/name +wolfpack/info.nr/nation +wolfpack/info.nr/navigate +wolfpack/info.nr/ndump +wolfpack/info.nr/newcap +wolfpack/info.nr/neweff +wolfpack/info.nr/newspaper +wolfpack/info.nr/nmap +wolfpack/info.nr/nuke +wolfpack/info.nr/offer +wolfpack/info.nr/offset +wolfpack/info.nr/order +wolfpack/info.nr/origin +wolfpack/info.nr/paradrop +wolfpack/info.nr/path +wolfpack/info.nr/payoff +wolfpack/info.nr/pdump +wolfpack/info.nr/plane +wolfpack/info.nr/players +wolfpack/info.nr/pmap +wolfpack/info.nr/power +wolfpack/info.nr/pray +wolfpack/info.nr/production +wolfpack/info.nr/pstat +wolfpack/info.nr/qorder +wolfpack/info.nr/quit +wolfpack/info.nr/radar +wolfpack/info.nr/range +wolfpack/info.nr/read +wolfpack/info.nr/realm +wolfpack/info.nr/recon +wolfpack/info.nr/reject +wolfpack/info.nr/relations +wolfpack/info.nr/repay +wolfpack/info.nr/report +wolfpack/info.nr/reset +wolfpack/info.nr/resource +wolfpack/info.nr/retreat +wolfpack/info.nr/route +wolfpack/info.nr/sail +wolfpack/info.nr/satellite +wolfpack/info.nr/scrap +wolfpack/info.nr/scuttle +wolfpack/info.nr/sdump +wolfpack/info.nr/sect +wolfpack/info.nr/sell +wolfpack/info.nr/set +wolfpack/info.nr/setresource +wolfpack/info.nr/setsector +wolfpack/info.nr/sharebmap +wolfpack/info.nr/shark +wolfpack/info.nr/ship +wolfpack/info.nr/shoot +wolfpack/info.nr/show +wolfpack/info.nr/shutdown +wolfpack/info.nr/sinfrastructure +wolfpack/info.nr/skywatch +wolfpack/info.nr/smap +wolfpack/info.nr/sonar +wolfpack/info.nr/sorder +wolfpack/info.nr/spy +wolfpack/info.nr/sstat +wolfpack/info.nr/start +wolfpack/info.nr/starvation +wolfpack/info.nr/stop +wolfpack/info.nr/strength +wolfpack/info.nr/supply +wolfpack/info.nr/survey +wolfpack/info.nr/swapsector +wolfpack/info.nr/sweep +wolfpack/info.nr/telegram +wolfpack/info.nr/tend +wolfpack/info.nr/territory +wolfpack/info.nr/test +wolfpack/info.nr/threshold +wolfpack/info.nr/toggle +wolfpack/info.nr/torpedo +wolfpack/info.nr/trade +wolfpack/info.nr/transport +wolfpack/info.nr/treaty +wolfpack/info.nr/turn +wolfpack/info.nr/unload +wolfpack/info.nr/unsail +wolfpack/info.nr/update +wolfpack/info.nr/upgrade +wolfpack/info.nr/version +wolfpack/info.nr/wait +wolfpack/info.nr/wall +wolfpack/info.nr/wingadd +wolfpack/info.nr/wipe +wolfpack/info.nr/wire +wolfpack/info.nr/work +wolfpack/info.nr/zdone +wolfpack/scripts/README +wolfpack/scripts/bigstart +wolfpack/scripts/blitz/README +wolfpack/scripts/blitz/crontab.config +wolfpack/scripts/blitz/motd +wolfpack/scripts/blitz/setup-blitz +wolfpack/scripts/blitz/start-blitz +wolfpack/scripts/crontab.config +wolfpack/scripts/keepitup +wolfpack/scripts/mapper/Makefile +wolfpack/scripts/mapper/README +wolfpack/scripts/mapper/archive.pl +wolfpack/scripts/mapper/cleanup +wolfpack/scripts/mapper/crontab.config +wolfpack/scripts/mapper/default.param +wolfpack/scripts/mapper/makeframe +wolfpack/scripts/mapper/makempeg +wolfpack/scripts/mapper/map.param +wolfpack/scripts/mapper/mapper +wolfpack/scripts/mapper/over.awk +wolfpack/scripts/mapper/over2.pbm +wolfpack/scripts/mapper/param.pl +wolfpack/scripts/mapper/pgmmap.awk +wolfpack/scripts/mapper/randppm.awk +wolfpack/scripts/mapper/text.pbm +wolfpack/scripts/mapper/text.size +wolfpack/scripts/postresults +wolfpack/scripts/saveass +@dirrm wolfpack/bin +@dirrm wolfpack/data +@dirrm wolfpack/doc +@dirrm wolfpack/info.nr +@dirrm wolfpack/scripts/blitz +@dirrm wolfpack/scripts/mapper +@dirrm wolfpack/scripts +@dirrm wolfpack diff --git a/games/wolfpack/scripts/configure b/games/wolfpack/scripts/configure new file mode 100644 index 000000000000..125beed8cf90 --- /dev/null +++ b/games/wolfpack/scripts/configure @@ -0,0 +1,40 @@ +#!/bin/sh + +doquit () { + if [ $1 -ne 0 ]; then + echo User abort + rm -f /tmp/__input$$ + exit 1 + fi +} + +dialog --title "Wolfpack Empire Information" --inputbox "Name of deity" 8 60 2>/tmp/__input$$ + +doquit $? + +name=`cat /tmp/__input$$` + +dialog --title "Wolfpack Empire Information" --inputbox "Username of deity" 8 60 2>/tmp/__input$$ + +doquit $? + +username=`cat /tmp/__input$$` + +dialog --title "Wolfpack Empire Information" --inputbox "Email Address of game admin" 8 60 2>/tmp/__input$$ + +doquit $? + +email=`cat /tmp/__input$$` + +host=`hostname` +ip=`host -t a $host | awk '{print $4}'` +echo Email address is $email +echo Username is $username +echo Name is $name +echo Hostname is $host +echo IP is $ip + +FROM=$FILESDIR/build.conf.tmpl +TO=$WRKSRC/build.conf + +sed -e "s/%%NAME%%/$name/" -e "s/%%USERNAME%%/$username/" -e "s/%%EMAIL%%/$email/" -e "s/%%HOSTNAME%%/$host/" -e "s/%%IPADDR%%/$ip/" -e "s#%%EMPDIR%%#$PREFIX/wolfpack#" <$FROM >$TO |