aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2007-03-30 02:56:23 +0800
committerjohans <johans@FreeBSD.org>2007-03-30 02:56:23 +0800
commit0ab161d6d0592087c89b20befd268c253004ce57 (patch)
tree87c86ba097d0f071c2d4ea472aeae74168e30fc2 /games
parent0d8d727a89648df0dd942a8a0705157bec2aeabd (diff)
downloadfreebsd-ports-gnome-0ab161d6d0592087c89b20befd268c253004ce57.tar.gz
freebsd-ports-gnome-0ab161d6d0592087c89b20befd268c253004ce57.tar.zst
freebsd-ports-gnome-0ab161d6d0592087c89b20befd268c253004ce57.zip
- Update to 4.3.8
- Rewrite install procedure and remove obsolete patchfiles No longer use PREFIX/wolfpack but install in PREFIX/{lib,share,etc}/wolfpack
Diffstat (limited to 'games')
-rw-r--r--games/wolfpack/Makefile60
-rw-r--r--games/wolfpack/distinfo6
-rw-r--r--games/wolfpack/files/build.conf.tmpl63
-rw-r--r--games/wolfpack/files/patch-Make.sysdefs11
-rw-r--r--games/wolfpack/files/patch-Makefile31
-rw-r--r--games/wolfpack/files/patch-src::doconfig::Makefile13
-rw-r--r--games/wolfpack/files/patch-src::doconfig::doconfig.c61
-rw-r--r--games/wolfpack/files/post-install-info7
-rw-r--r--games/wolfpack/files/wolfpack.in19
-rw-r--r--games/wolfpack/pkg-install40
-rw-r--r--games/wolfpack/pkg-message2
-rw-r--r--games/wolfpack/pkg-plist653
-rw-r--r--games/wolfpack/scripts/configure43
13 files changed, 347 insertions, 662 deletions
diff --git a/games/wolfpack/Makefile b/games/wolfpack/Makefile
index 1492509411a0..d0fa1bb550ad 100644
--- a/games/wolfpack/Makefile
+++ b/games/wolfpack/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= wolfpack
-PORTVERSION= 4.2.21
+PORTVERSION= 4.3.8
CATEGORIES= games
-MASTER_SITES= http://www.wolfpackempire.com/Downloads/server/ \
- http://empire.gletsjer.net/Downloads/server/ \
+MASTER_SITES= http://rc.wolfpackempire.com/Downloads/server/ \
+ http://empire-rc.gletsjer.net/Downloads/server/ \
+ http://www.wolfpackempire.com/Downloads/server/ \
http://www.wolfpackempire.com/Downloads/server/oldversions/ \
http://empire.gletsjer.net/Downloads/server/oldversions/
DISTNAME= empire-${PORTVERSION}
@@ -17,56 +18,35 @@ DISTNAME= empire-${PORTVERSION}
MAINTAINER= johans@stack.nl
COMMENT= Long term multiplayer strategy game
-.if !defined(BATCH)
-IS_INTERACTIVE= yes # configure script asks questions
-.endif
-ALL_TARGET= freebsd
+MAKEFILE= GNUmakefile
+USE_GMAKE= yes
+USE_PERL5_BUILD= yes
+GNU_CONFIGURE= yes
+BINDIR= ${PREFIX}/lib/${PORTNAME}
+CONFIGURE_ARGS+= --bindir=${BINDIR} --sbindir=${BINDIR}
USE_RC_SUBR= wolfpack
+SUB_FILES+= pkg-message
MAN1= fairland.1 files.1 pconfig.1
-MAN6= emp_client.6 emp_server.6
-
-MAKE_ARGS= PREFIX=${PREFIX}
+MAN6= empire.6 emp_server.6
.include <bsd.port.pre.mk>
-.if ${ARCH} == "ia64"
-BROKEN= Does not compile on ia64
-.endif
-
-PKGDEINSTALL= ${PKGINSTALL}
-
-RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
- RC_SUBR=${RC_SUBR}
-
post-patch:
- @${REINPLACE_CMD} -e 's/defined(FBSD)/& \&\& !defined(__ia64__)/' \
- ${WRKSRC}/src/lib/lwp/arch.c
-
-pre-configure:
- ${MKDIR} ${WRKSRC}/data
+ ${REINPLACE_CMD} -e '/^econfig/,/^$$/s|/empire|/${PORTNAME}|' \
+ ${WRKSRC}/Make.mk
pre-install:
- ${MKDIR} ${PREFIX}/wolfpack
- ${MKDIR} ${PREFIX}/wolfpack/data
- @ ${SETENV} PKG_PREFIX=${PREFIX} \
+ @${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
post-install:
- ${CHMOD} 750 ${PREFIX}/wolfpack/data
- ${TAR} -C ${WRKSRC} -cf - info.nr scripts doc | ${TAR} -C ${PREFIX}/wolfpack -xf -
- ${CHMOD} 755 ${PREFIX}/wolfpack/info.nr
- ${CHMOD} 644 ${PREFIX}/wolfpack/info.nr/*
- ${CHOWN} -R root:wheel ${PREFIX}/wolfpack
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/wolfpack
- ${INSTALL_MAN} ${WRKSRC}/man/fairland.1 ${PREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKSRC}/man/files.1 ${PREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKSRC}/man/pconfig.1 ${PREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKSRC}/man/emp_client.6 ${PREFIX}/man/man6/
- ${INSTALL_MAN} ${WRKSRC}/man/emp_server.6 ${PREFIX}/man/man6/
- @${CAT} ${FILESDIR}/post-install-info
- @ ${SETENV} PKG_PREFIX=${PREFIX} \
+ @${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}
+ @${LN} -s ${BINDIR}/emp_server ${PREFIX}/bin/emp_server
+ @${LN} -s ${BINDIR}/empire ${PREFIX}/bin/emp_client
+ @${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL
+ @${CAT} ${WRKDIR}/pkg-message
.include <bsd.port.post.mk>
diff --git a/games/wolfpack/distinfo b/games/wolfpack/distinfo
index 538e3d49a3ad..bb6bfdd97203 100644
--- a/games/wolfpack/distinfo
+++ b/games/wolfpack/distinfo
@@ -1,3 +1,3 @@
-MD5 (empire-4.2.21.tar.gz) = b231597962a7a0ae043961fa559fe846
-SHA256 (empire-4.2.21.tar.gz) = 8e28c04bc588f94320c40a479c7f8df27c8df23fd5baf8af71faa76ea95558f2
-SIZE (empire-4.2.21.tar.gz) = 1366491
+MD5 (empire-4.3.8.tar.gz) = 710c28eb5768c6025eca45a3dd23a248
+SHA256 (empire-4.3.8.tar.gz) = 439ac20b38194dbdf93d6dda74c879d6588cb6aa45409e58b567f3dc1b988f3c
+SIZE (empire-4.3.8.tar.gz) = 1113123
diff --git a/games/wolfpack/files/build.conf.tmpl b/games/wolfpack/files/build.conf.tmpl
deleted file mode 100644
index c5263487fad5..000000000000
--- a/games/wolfpack/files/build.conf.tmpl
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# 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 = localhost
-
-# Please enter the ip address of the host you will be running on:
-# (For NT you can use "IPADDR = 127.0.0.1")
-IPADDR = 127.0.0.1
-
-# 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 = %%CC%%
-
-# 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-Make.sysdefs b/games/wolfpack/files/patch-Make.sysdefs
deleted file mode 100644
index d69f904ccbd1..000000000000
--- a/games/wolfpack/files/patch-Make.sysdefs
+++ /dev/null
@@ -1,11 +0,0 @@
---- Make.sysdefs.orig Tue Sep 7 23:52:39 2004
-+++ Make.sysdefs Sun Oct 10 11:24:01 2004
-@@ -40,7 +40,7 @@
- OSXMASTER = GLOBALCFLAGS="$(OSXCFLAGS)" GLOBALLFLAGS="$(OSXLFLAGS)"
-
- FREEBSDRANLIB = /usr/bin/ranlib
--FREEBSDCFLAGS = -g -fno-common -DRel4 -DFBSD -ansi -pedantic $(GCCWARNFLAGS)
-+FREEBSDCFLAGS = -g -fno-common -DRel4 -DFBSD -ansi -pedantic $(GCCWARNFLAGS) $(CFLAGS)
- FREEBSDLFLAGS =
- FREEBSDMASTER = GLOBALCFLAGS="$(FREEBSDCFLAGS)" GLOBALLFLAGS="$(FREEBSDLFLAGS)" RANLIB="$(FREEBSDRANLIB)"
-
diff --git a/games/wolfpack/files/patch-Makefile b/games/wolfpack/files/patch-Makefile
deleted file mode 100644
index 85555f08f4f5..000000000000
--- a/games/wolfpack/files/patch-Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
---- Makefile.orig Tue Sep 7 23:52:39 2004
-+++ Makefile Sun Oct 10 11:26:07 2004
-@@ -106,7 +106,6 @@
- ($(MAKE) genlibs $(FREEBSDMASTER))
- (cd src/lib/lwp; $(MAKE) $(FREEBSDMASTER))
- ($(MAKE) binaries $(FREEBSDMASTER))
-- ($(MAKE) install)
-
- hp:
- @echo 'building a $(WORLDX) by $(WORLDY) server...'
-@@ -499,6 +498,20 @@
- -(mv $(EMPDIR)/data/econfig $(EMPDIR)/data/econfig.bak)
- ($(EMPDIR)/bin/pconfig > $(EMPDIR)/data/econfig)
- -(mv $(EMPDIR)/data/econfig.bak $(EMPDIR)/data/econfig)
-+ echo "# Wolfpack, 1996-2000" >$(EMPDIR)/data/auth
-+ echo "#" >>$(EMPDIR)/data/auth
-+ echo "# Empire Authorization File - Users listed will be allowed to log in as deities." >>$(EMPDIR)/data/auth
-+ echo "#" >>$(EMPDIR)/data/auth
-+ echo "# Format is:" >>$(EMPDIR)/data/auth
-+ echo "# hostname that authorized user uses on a line" >>$(EMPDIR)/data/auth
-+ echo "# username that authorized user uses on a line" >>$(EMPDIR)/data/auth
-+ echo "#" >>$(EMPDIR)/data/auth
-+ echo "# REMEMBER TO USE PAIRS OF LINES!" >>$(EMPDIR)/data/auth
-+ echo "#" >>$(EMPDIR)/data/auth
-+ echo "# Example:" >>$(EMPDIR)/data/auth
-+ echo "#" >>$(EMPDIR)/data/auth
-+ echo "localhost" >>$(EMPDIR)/data/auth
-+ echo "root" >>$(EMPDIR)/data/auth
-
- ntinstall:
- cd src\client
diff --git a/games/wolfpack/files/patch-src::doconfig::Makefile b/games/wolfpack/files/patch-src::doconfig::Makefile
deleted file mode 100644
index ea4eae8db8a8..000000000000
--- a/games/wolfpack/files/patch-src::doconfig::Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/doconfig/Makefile.orig Sat Dec 16 22:57:15 2000
-+++ src/doconfig/Makefile Sat Dec 16 22:58:25 2000
-@@ -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-src::doconfig::doconfig.c b/games/wolfpack/files/patch-src::doconfig::doconfig.c
deleted file mode 100644
index 0040f7027d8c..000000000000
--- a/games/wolfpack/files/patch-src::doconfig::doconfig.c
+++ /dev/null
@@ -1,61 +0,0 @@
---- src/doconfig/doconfig.c.orig Tue Sep 7 23:52:37 2004
-+++ src/doconfig/doconfig.c Sun Oct 10 11:31:04 2004
-@@ -80,12 +80,17 @@
- #endif
-
- int
--main(void)
-+main(int argc, char **argv)
- {
- char buf[256];
- char *cp;
- char *pathname;
-
-+ if (argc != 2) {
-+ printf("Bad usage");
-+ exit(-1);
-+ }
-+
- if ((pathname = safe_getcwd()) == NULL) {
- printf("Can't get current path!\n");
- exit(-1);
-@@ -101,30 +106,16 @@
- cp = strrchr(pathname, '\\');
- *cp = '\0';
- #endif
-- printf("Configuring...\n");
-- wrmakesrc(pathname);
-- sprintf(buf, "%s/include/gamesdef.h", pathname);
-- wrgamesdef(buf);
-- sprintf(buf, "%s/src/client/ipglob.c", pathname);
-- wripglob(buf);
--
-- if (access(EP, 0)) {
-- printf("making directory %s\n", EP);
-- if (mkdir(EP, 0755)) {
-- printf("mkdir failed on %s, exiting.\n", EP);
-- exit(-1);
-- }
-- }
-- sprintf(buf, "%s/data", EP);
-- if (access(buf, 0)) {
-- printf("making directory %s\n", buf);
-- if (mkdir(buf, 0755)) {
-- printf("mkdir failed on %s, exiting.\n", buf);
-- exit(-1);
-- }
-+ 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);
-+ sprintf(buf, "%s/data/auth", pathname);
-+ wrauth(buf);
- }
-- sprintf(buf, "%s/data/auth", EP);
-- wrauth(buf);
- exit(0);
- }
-
diff --git a/games/wolfpack/files/post-install-info b/games/wolfpack/files/post-install-info
deleted file mode 100644
index 019a8d30665c..000000000000
--- a/games/wolfpack/files/post-install-info
+++ /dev/null
@@ -1,7 +0,0 @@
-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/files/wolfpack.in b/games/wolfpack/files/wolfpack.in
index 599c1d818853..125341632cf0 100644
--- a/games/wolfpack/files/wolfpack.in
+++ b/games/wolfpack/files/wolfpack.in
@@ -1,7 +1,9 @@
#!/bin/sh
+
+# PROVIDE: wolfpack
#
-# Add the following line to /etc/rc.conf to enable wolfpack:
-#
+# Add the following line to /etc/rc.conf.local or /etc/rc.conf
+# to enable the wolfpack game server:
# wolfpack_enable="YES"
#
@@ -10,15 +12,14 @@
name=wolfpack
rcvar=`set_rcvar`
-wolfdir="%%PREFIX%%/wolfpack"
-
-command="$wolfdir/bin/emp_server"
-pidfile="$wolfdir/data/server.pid"
+load_rc_config $name
-wolfpack_enable=${wolfpack_enable:-"NO"}
-wolfpack_user=${wolfpack_user:-"wolfpack"}
+: ${wolfpack_enable="NO"}
+: ${wolfpack_user="wolfpack"}
-load_rc_config $name
+wolfdir="%%PREFIX%%/wolfpack"
+pidfile="$wolfdir/data/server.pid"
+command="$wolfdir/bin/emp_server"
run_rc_command "$1"
diff --git a/games/wolfpack/pkg-install b/games/wolfpack/pkg-install
index 5c9262996eea..af7219a5803a 100644
--- a/games/wolfpack/pkg-install
+++ b/games/wolfpack/pkg-install
@@ -1,9 +1,9 @@
#! /bin/sh
-# $FreeBSD#
-
-PATH=/bin:/usr/sbin
-INSTDIR=${PKG_PREFIX}/wolfpack
+PATH=/bin:/usr/bin:/usr/sbin
+INSTDIR=${PKG_PREFIX}/share/wolfpack
+DATADIR=${PKG_PREFIX}/var/wolfpack
+CONFDIR=${PKG_PREFIX}/etc/wolfpack
USER=wolfpack
GROUP=${USER}
@@ -41,32 +41,12 @@ PRE-INSTALL)
;;
POST-INSTALL)
- chown -R ${USER}:${GROUP} ${INSTDIR}
- chmod -R u+w,o-rx ${INSTDIR}
- ;;
-
-
-POST-DEINSTALL)
- if pw group show "${GROUP}" 2>/dev/null; then
- if pw groupdel ${GROUP}; then
- echo "Removed group \"${GROUP}\"."
- else
- echo "Removing group \"${GROUP}\" failed..."
- exit 1
- fi
- else
- echo "Group \"${GROUP}\" doesn't exist!"
- fi
-
- if pw user show "${USER}" 2>/dev/null; then
- if pw userdel ${USER}; then
- echo "Removed user \"${USER}\"."
- else
- echo "Removing user \"${USER}\" failed..."
- exit 1
- fi
- else
- echo "User \"${USER}\" doesn't exist!"
+ mkdir -p ${DATADIR}
+ ${PKG_PREFIX}/lib/wolfpack/pconfig > ${CONFDIR}/econfig.orig
+ if [ ! -f ${CONFDIR}/econfig ] ; then
+ cp -p ${CONFDIR}/econfig.orig ${CONFDIR}/econfig
fi
+ chown -R ${USER}:${GROUP} ${INSTDIR} ${DATADIR} ${CONFDIR}
+ chmod -R u+w,o-rx ${INSTDIR} ${DATADIR} ${CONFDIR}
;;
esac
diff --git a/games/wolfpack/pkg-message b/games/wolfpack/pkg-message
deleted file mode 100644
index 58867ad9d26c..000000000000
--- a/games/wolfpack/pkg-message
+++ /dev/null
@@ -1,2 +0,0 @@
-You should check and edit the $PREFIX/wolfpack/data/auth file so that you are
-able to login as a diety.
diff --git a/games/wolfpack/pkg-plist b/games/wolfpack/pkg-plist
index 15737ddb6a88..2cba424432ea 100644
--- a/games/wolfpack/pkg-plist
+++ b/games/wolfpack/pkg-plist
@@ -1,349 +1,304 @@
-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/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/clients-howto
-wolfpack/doc/coding
-wolfpack/doc/compiling
-wolfpack/doc/configuration
-wolfpack/doc/debugging
-wolfpack/doc/disk_space
-wolfpack/doc/econfig
-wolfpack/doc/files
-wolfpack/doc/pthreads
-wolfpack/doc/threads
-wolfpack/doc/troubleshooting
-wolfpack/doc/unicode
-wolfpack/info.nr/Attacking
-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/Commerce
-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/Merc
-wolfpack/info.nr/Missions
-wolfpack/info.nr/Mobility
-wolfpack/info.nr/Moving
-wolfpack/info.nr/Nations
-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/Producing
-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/Sheep
-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/Transportation
-wolfpack/info.nr/Unit-types
-wolfpack/info.nr/Updates
-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/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/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/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/help
-wolfpack/info.nr/improve
-wolfpack/info.nr/info
-wolfpack/info.nr/land
-wolfpack/info.nr/launch
-wolfpack/info.nr/lbmap
-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/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/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/pbmap
-wolfpack/info.nr/pboard
-wolfpack/info.nr/pdump
-wolfpack/info.nr/peek
-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/sabotage
-wolfpack/info.nr/sail
-wolfpack/info.nr/satellite
-wolfpack/info.nr/sbmap
-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/xdump
-wolfpack/info.nr/zdone
-wolfpack/scripts/README
-wolfpack/scripts/backup
-wolfpack/scripts/backup.bat
-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/blitz-w32/blitz_script.bat
-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/scripts/mapper
-@dirrm wolfpack/scripts/blitz-w32
-@dirrm wolfpack/scripts/blitz
-@dirrm wolfpack/scripts
-@dirrm wolfpack/info.nr
-@dirrm wolfpack/doc
-@dirrm wolfpack/data
-@dirrm wolfpack/bin
-@dirrm wolfpack
+bin/emp_client
+bin/emp_server
+lib/wolfpack/emp_server
+lib/wolfpack/empire
+lib/wolfpack/pconfig
+lib/wolfpack/files
+lib/wolfpack/fairland
+etc/wolfpack/econfig.orig
+%%DATADIR%%/README
+%%DATADIR%%/builtin/infra.config
+%%DATADIR%%/builtin/item.config
+%%DATADIR%%/builtin/land.config
+%%DATADIR%%/builtin/nuke.config
+%%DATADIR%%/builtin/plane.config
+%%DATADIR%%/builtin/product.config
+%%DATADIR%%/builtin/sect.config
+%%DATADIR%%/builtin/ship.config
+%%DATADIR%%/info.nr/Attacking
+%%DATADIR%%/info.nr/Autofeed
+%%DATADIR%%/info.nr/Autonav
+%%DATADIR%%/info.nr/BTU
+%%DATADIR%%/info.nr/Basics
+%%DATADIR%%/info.nr/Bridges
+%%DATADIR%%/info.nr/Bugs
+%%DATADIR%%/info.nr/CHANGES.CHAINSAW
+%%DATADIR%%/info.nr/Citizens
+%%DATADIR%%/info.nr/Clients
+%%DATADIR%%/info.nr/Combat
+%%DATADIR%%/info.nr/Commerce
+%%DATADIR%%/info.nr/Commodities
+%%DATADIR%%/info.nr/Communication
+%%DATADIR%%/info.nr/Damage
+%%DATADIR%%/info.nr/Deity
+%%DATADIR%%/info.nr/Detection
+%%DATADIR%%/info.nr/Diplomacy
+%%DATADIR%%/info.nr/Distribution
+%%DATADIR%%/info.nr/Education
+%%DATADIR%%/info.nr/Empire2
+%%DATADIR%%/info.nr/Empire3
+%%DATADIR%%/info.nr/Empire4
+%%DATADIR%%/info.nr/Expert
+%%DATADIR%%/info.nr/Fallout
+%%DATADIR%%/info.nr/Flak
+%%DATADIR%%/info.nr/Food
+%%DATADIR%%/info.nr/God
+%%DATADIR%%/info.nr/Guerrilla
+%%DATADIR%%/info.nr/Guide
+%%DATADIR%%/info.nr/Happiness
+%%DATADIR%%/info.nr/Hidden
+%%DATADIR%%/info.nr/Hints
+%%DATADIR%%/info.nr/History
+%%DATADIR%%/info.nr/Hitchance
+%%DATADIR%%/info.nr/Infrastructure
+%%DATADIR%%/info.nr/Innards
+%%DATADIR%%/info.nr/Interception
+%%DATADIR%%/info.nr/Introduction
+%%DATADIR%%/info.nr/Item-types
+%%DATADIR%%/info.nr/Kill
+%%DATADIR%%/info.nr/Land-units
+%%DATADIR%%/info.nr/LandUnits
+%%DATADIR%%/info.nr/Loans
+%%DATADIR%%/info.nr/Maintenance
+%%DATADIR%%/info.nr/Maps
+%%DATADIR%%/info.nr/Merc
+%%DATADIR%%/info.nr/Mobility
+%%DATADIR%%/info.nr/Moving
+%%DATADIR%%/info.nr/Nations
+%%DATADIR%%/info.nr/Novice
+%%DATADIR%%/info.nr/Nuke-types
+%%DATADIR%%/info.nr/Nukes
+%%DATADIR%%/info.nr/Obsolete
+%%DATADIR%%/info.nr/Occupation
+%%DATADIR%%/info.nr/Old-empire
+%%DATADIR%%/info.nr/Options
+%%DATADIR%%/info.nr/Overview
+%%DATADIR%%/info.nr/Plague
+%%DATADIR%%/info.nr/Plane-types
+%%DATADIR%%/info.nr/Planes
+%%DATADIR%%/info.nr/Playing
+%%DATADIR%%/info.nr/Populace
+%%DATADIR%%/info.nr/Producing
+%%DATADIR%%/info.nr/Products
+%%DATADIR%%/info.nr/Quick-ref
+%%DATADIR%%/info.nr/Research
+%%DATADIR%%/info.nr/Sector-ownership
+%%DATADIR%%/info.nr/Sector-types
+%%DATADIR%%/info.nr/Sectors
+%%DATADIR%%/info.nr/Selector
+%%DATADIR%%/info.nr/Server
+%%DATADIR%%/info.nr/Sheep
+%%DATADIR%%/info.nr/Ship-types
+%%DATADIR%%/info.nr/Ships
+%%DATADIR%%/info.nr/Spies
+%%DATADIR%%/info.nr/Suggestions
+%%DATADIR%%/info.nr/Syntax
+%%DATADIR%%/info.nr/TOP
+%%DATADIR%%/info.nr/Taxes
+%%DATADIR%%/info.nr/Technology
+%%DATADIR%%/info.nr/Time
+%%DATADIR%%/info.nr/Trade-ships
+%%DATADIR%%/info.nr/Transportation
+%%DATADIR%%/info.nr/Unit-types
+%%DATADIR%%/info.nr/Update-sequence
+%%DATADIR%%/info.nr/Updates
+%%DATADIR%%/info.nr/Wolfpack
+%%DATADIR%%/info.nr/accept
+%%DATADIR%%/info.nr/add
+%%DATADIR%%/info.nr/all
+%%DATADIR%%/info.nr/announce
+%%DATADIR%%/info.nr/anti
+%%DATADIR%%/info.nr/apropos
+%%DATADIR%%/info.nr/arm
+%%DATADIR%%/info.nr/army
+%%DATADIR%%/info.nr/assault
+%%DATADIR%%/info.nr/attack
+%%DATADIR%%/info.nr/bdes
+%%DATADIR%%/info.nr/bestpath
+%%DATADIR%%/info.nr/bmap
+%%DATADIR%%/info.nr/board
+%%DATADIR%%/info.nr/bomb
+%%DATADIR%%/info.nr/break
+%%DATADIR%%/info.nr/budget
+%%DATADIR%%/info.nr/build
+%%DATADIR%%/info.nr/buy
+%%DATADIR%%/info.nr/bye
+%%DATADIR%%/info.nr/capital
+%%DATADIR%%/info.nr/cargo
+%%DATADIR%%/info.nr/census
+%%DATADIR%%/info.nr/change
+%%DATADIR%%/info.nr/coastwatch
+%%DATADIR%%/info.nr/collect
+%%DATADIR%%/info.nr/commodity
+%%DATADIR%%/info.nr/consider
+%%DATADIR%%/info.nr/convert
+%%DATADIR%%/info.nr/country
+%%DATADIR%%/info.nr/cutoff
+%%DATADIR%%/info.nr/declare
+%%DATADIR%%/info.nr/deliver
+%%DATADIR%%/info.nr/demobilize
+%%DATADIR%%/info.nr/designate
+%%DATADIR%%/info.nr/disable
+%%DATADIR%%/info.nr/disarm
+%%DATADIR%%/info.nr/distribute
+%%DATADIR%%/info.nr/drop
+%%DATADIR%%/info.nr/dump
+%%DATADIR%%/info.nr/echo
+%%DATADIR%%/info.nr/edit
+%%DATADIR%%/info.nr/enable
+%%DATADIR%%/info.nr/enlist
+%%DATADIR%%/info.nr/execute
+%%DATADIR%%/info.nr/explore
+%%DATADIR%%/info.nr/financial
+%%DATADIR%%/info.nr/fire
+%%DATADIR%%/info.nr/flash
+%%DATADIR%%/info.nr/fleetadd
+%%DATADIR%%/info.nr/fly
+%%DATADIR%%/info.nr/follow
+%%DATADIR%%/info.nr/force
+%%DATADIR%%/info.nr/fortify
+%%DATADIR%%/info.nr/fuel
+%%DATADIR%%/info.nr/give
+%%DATADIR%%/info.nr/grind
+%%DATADIR%%/info.nr/harden
+%%DATADIR%%/info.nr/headlines
+%%DATADIR%%/info.nr/help
+%%DATADIR%%/info.nr/improve
+%%DATADIR%%/info.nr/info
+%%DATADIR%%/info.nr/land
+%%DATADIR%%/info.nr/launch
+%%DATADIR%%/info.nr/lbmap
+%%DATADIR%%/info.nr/lboard
+%%DATADIR%%/info.nr/lcargo
+%%DATADIR%%/info.nr/ldump
+%%DATADIR%%/info.nr/ledger
+%%DATADIR%%/info.nr/level
+%%DATADIR%%/info.nr/list
+%%DATADIR%%/info.nr/lload
+%%DATADIR%%/info.nr/llookout
+%%DATADIR%%/info.nr/lmap
+%%DATADIR%%/info.nr/lmine
+%%DATADIR%%/info.nr/load
+%%DATADIR%%/info.nr/lookout
+%%DATADIR%%/info.nr/lost
+%%DATADIR%%/info.nr/lradar
+%%DATADIR%%/info.nr/lrange
+%%DATADIR%%/info.nr/lretreat
+%%DATADIR%%/info.nr/lstat
+%%DATADIR%%/info.nr/ltend
+%%DATADIR%%/info.nr/lunload
+%%DATADIR%%/info.nr/map
+%%DATADIR%%/info.nr/march
+%%DATADIR%%/info.nr/market
+%%DATADIR%%/info.nr/mine
+%%DATADIR%%/info.nr/mission
+%%DATADIR%%/info.nr/mobupdate
+%%DATADIR%%/info.nr/morale
+%%DATADIR%%/info.nr/motd
+%%DATADIR%%/info.nr/move
+%%DATADIR%%/info.nr/mquota
+%%DATADIR%%/info.nr/name
+%%DATADIR%%/info.nr/nation
+%%DATADIR%%/info.nr/navigate
+%%DATADIR%%/info.nr/nbmap
+%%DATADIR%%/info.nr/ndump
+%%DATADIR%%/info.nr/newcap
+%%DATADIR%%/info.nr/neweff
+%%DATADIR%%/info.nr/newspaper
+%%DATADIR%%/info.nr/nmap
+%%DATADIR%%/info.nr/nuke
+%%DATADIR%%/info.nr/offer
+%%DATADIR%%/info.nr/order
+%%DATADIR%%/info.nr/origin
+%%DATADIR%%/info.nr/paradrop
+%%DATADIR%%/info.nr/path
+%%DATADIR%%/info.nr/payoff
+%%DATADIR%%/info.nr/pbmap
+%%DATADIR%%/info.nr/pboard
+%%DATADIR%%/info.nr/pdump
+%%DATADIR%%/info.nr/peek
+%%DATADIR%%/info.nr/plane
+%%DATADIR%%/info.nr/players
+%%DATADIR%%/info.nr/pmap
+%%DATADIR%%/info.nr/power
+%%DATADIR%%/info.nr/pray
+%%DATADIR%%/info.nr/production
+%%DATADIR%%/info.nr/pstat
+%%DATADIR%%/info.nr/qorder
+%%DATADIR%%/info.nr/quit
+%%DATADIR%%/info.nr/radar
+%%DATADIR%%/info.nr/range
+%%DATADIR%%/info.nr/read
+%%DATADIR%%/info.nr/realm
+%%DATADIR%%/info.nr/recon
+%%DATADIR%%/info.nr/reject
+%%DATADIR%%/info.nr/relations
+%%DATADIR%%/info.nr/repay
+%%DATADIR%%/info.nr/report
+%%DATADIR%%/info.nr/reset
+%%DATADIR%%/info.nr/resource
+%%DATADIR%%/info.nr/retreat
+%%DATADIR%%/info.nr/route
+%%DATADIR%%/info.nr/sabotage
+%%DATADIR%%/info.nr/sail
+%%DATADIR%%/info.nr/satellite
+%%DATADIR%%/info.nr/sbmap
+%%DATADIR%%/info.nr/scrap
+%%DATADIR%%/info.nr/scuttle
+%%DATADIR%%/info.nr/sdump
+%%DATADIR%%/info.nr/sect
+%%DATADIR%%/info.nr/sell
+%%DATADIR%%/info.nr/set
+%%DATADIR%%/info.nr/setresource
+%%DATADIR%%/info.nr/setsector
+%%DATADIR%%/info.nr/sharebmap
+%%DATADIR%%/info.nr/shark
+%%DATADIR%%/info.nr/ship
+%%DATADIR%%/info.nr/shoot
+%%DATADIR%%/info.nr/show
+%%DATADIR%%/info.nr/shutdown
+%%DATADIR%%/info.nr/sinfrastructure
+%%DATADIR%%/info.nr/skywatch
+%%DATADIR%%/info.nr/smap
+%%DATADIR%%/info.nr/sonar
+%%DATADIR%%/info.nr/sorder
+%%DATADIR%%/info.nr/spy
+%%DATADIR%%/info.nr/sstat
+%%DATADIR%%/info.nr/start
+%%DATADIR%%/info.nr/starvation
+%%DATADIR%%/info.nr/stop
+%%DATADIR%%/info.nr/strength
+%%DATADIR%%/info.nr/supply
+%%DATADIR%%/info.nr/survey
+%%DATADIR%%/info.nr/swapsector
+%%DATADIR%%/info.nr/sweep
+%%DATADIR%%/info.nr/telegram
+%%DATADIR%%/info.nr/tend
+%%DATADIR%%/info.nr/territory
+%%DATADIR%%/info.nr/test
+%%DATADIR%%/info.nr/threshold
+%%DATADIR%%/info.nr/toggle
+%%DATADIR%%/info.nr/torpedo
+%%DATADIR%%/info.nr/trade
+%%DATADIR%%/info.nr/transport
+%%DATADIR%%/info.nr/treaty
+%%DATADIR%%/info.nr/turn
+%%DATADIR%%/info.nr/unload
+%%DATADIR%%/info.nr/unsail
+%%DATADIR%%/info.nr/update
+%%DATADIR%%/info.nr/upgrade
+%%DATADIR%%/info.nr/version
+%%DATADIR%%/info.nr/wait
+%%DATADIR%%/info.nr/wall
+%%DATADIR%%/info.nr/wingadd
+%%DATADIR%%/info.nr/wipe
+%%DATADIR%%/info.nr/wire
+%%DATADIR%%/info.nr/work
+%%DATADIR%%/info.nr/xdump
+%%DATADIR%%/info.nr/zdone
+@dirrm %%DATADIR%%/builtin
+@dirrm %%DATADIR%%/info.nr
+@dirrm %%DATADIR%%
+@dirrm lib/wolfpack
+@dirrmtry etc/wolfpack
+@dirrmtry var/wolfpack
diff --git a/games/wolfpack/scripts/configure b/games/wolfpack/scripts/configure
deleted file mode 100644
index f3e3f2666748..000000000000
--- a/games/wolfpack/scripts/configure
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-
-doquit () {
- if [ $1 -ne 0 ]; then
- echo User abort
- rm -f $tempfile
- exit 1
- fi
-}
-
-name=`pw user show \`id -u\` | awk -F : '{print $8}'`
-username=`id -un`
-email=$username@`hostname`
-tempfile=`mktemp -t __input`
-
-if [ ! -z "$BATCH" ]; then
-else
- dialog --title "Wolfpack Empire Information" --inputbox "Name of deity" 8 60 "$name" 2>$tempfile
- doquit $?
- name=`cat $tempfile`
-
- dialog --title "Wolfpack Empire Information" --inputbox "Username of deity" 8 60 "$username" 2>$tempfile
- doquit $?
- username=`cat $tempfile`
-
- dialog --title "Wolfpack Empire Information" --inputbox "Email Address of game admin" 8 60 "$email" 2>$tempfile
- doquit $?
- email=`cat $tempfile`
-
- rm -f $tempfile
-fi
-echo Name is $name
-echo Username is $username
-echo Email address is $email
-
-FROM=$FILESDIR/build.conf.tmpl
-TO=$WRKSRC/build.conf
-
-if [ -z "$CC" ]; then
- CC=gcc
-fi
-
-sed -e "s/%%CC%%/$CC/" -e "s/%%NAME%%/$name/" -e "s/%%USERNAME%%/$username/" -e "s/%%EMAIL%%/$email/" -e "s#%%EMPDIR%%#$PREFIX/wolfpack#" <$FROM >$TO