aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/stvef-server/Makefile42
-rw-r--r--games/stvef-server/distinfo1
-rw-r--r--games/stvef-server/pkg-comment1
-rw-r--r--games/stvef-server/pkg-descr5
-rw-r--r--games/stvef-server/pkg-message6
-rw-r--r--games/stvef-server/pkg-plist6
7 files changed, 62 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index f0b084b8d928..27982da75a07 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -254,6 +254,7 @@
SUBDIR += speyes
SUBDIR += spider
SUBDIR += starlanes
+ SUBDIR += stvef-server
SUBDIR += sxsame
SUBDIR += tank
SUBDIR += teg
diff --git a/games/stvef-server/Makefile b/games/stvef-server/Makefile
new file mode 100644
index 000000000000..62d41e42f227
--- /dev/null
+++ b/games/stvef-server/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: Star Trek Voyager: Elite Forces Server
+# Whom: nik@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= stvef-server
+PORTVERSION= 1.20
+CATEGORIES= games linux
+MASTER_SITES= ftp://3dgamers.in-span.net/pub/3dgamers/games/stveliteforce/
+DISTFILES= stveflinuxdedicated120.zip
+
+MAINTAINER= nik@FreeBSD.org
+
+ONLY_FOR_ARCHS= i386
+USE_LINUX_PREFIX= yes
+USE_ZIP= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/Linux
+STRIP=
+
+INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755
+LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
+
+GAMEDIR= ${PREFIX}/usr/games/stvef/
+SORT?= /usr/bin/sort
+
+# files which should be installed with executables perms
+EXECUTABLES= linuxstvefded_1.2-static linuxstvefded_1.2-glibc2.1.3
+
+do-install:
+ ${MKDIR} ${GAMEDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/linuxstvefded_1.2-static ${GAMEDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/linuxstvefded_1.2-glibc2.1.3 ${GAMEDIR}
+ ${INSTALL_MAN} ${WRKSRC}/readme.txt ${GAMEDIR}
+ ${MKDIR} -p ${GAMEDIR}/baseEF
+ ${INSTALL_DATA} ${WRKSRC}/baseEF/server.cfg ${GAMEDIR}/baseEF
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/games/stvef-server/distinfo b/games/stvef-server/distinfo
new file mode 100644
index 000000000000..7a0f7300b464
--- /dev/null
+++ b/games/stvef-server/distinfo
@@ -0,0 +1 @@
+MD5 (stveflinuxdedicated120.zip) = 3baff932a24ab53bb9cc77d35f3d33c9
diff --git a/games/stvef-server/pkg-comment b/games/stvef-server/pkg-comment
new file mode 100644
index 000000000000..c157314f55bf
--- /dev/null
+++ b/games/stvef-server/pkg-comment
@@ -0,0 +1 @@
+Star Trek Voyager: Elite Forces dedicated server for Linux
diff --git a/games/stvef-server/pkg-descr b/games/stvef-server/pkg-descr
new file mode 100644
index 000000000000..4e51ffdc72d2
--- /dev/null
+++ b/games/stvef-server/pkg-descr
@@ -0,0 +1,5 @@
+Star Trek Voyager: Elite Forces dedicated server for Linux
+
+This is the dedicated server for STV:EF. This server requires that
+you have a copy of the Elite Forces game, as various .pk3 files must
+be copied from the CD-ROM in order for the server to function.
diff --git a/games/stvef-server/pkg-message b/games/stvef-server/pkg-message
new file mode 100644
index 000000000000..adbf30fe2a56
--- /dev/null
+++ b/games/stvef-server/pkg-message
@@ -0,0 +1,6 @@
+You must install several files from the Elite Forces CD before the server
+will operate. Please see the readme.txt file that has been installed
+alongside the server binaries.
+
+You can use the games/stvef-paks port to install these files using
+the FreeBSD package system, and register them in the package database.
diff --git a/games/stvef-server/pkg-plist b/games/stvef-server/pkg-plist
new file mode 100644
index 000000000000..063c006ad23a
--- /dev/null
+++ b/games/stvef-server/pkg-plist
@@ -0,0 +1,6 @@
+usr/games/stvef/linuxstvefded_1.2-glibc2.1.3
+usr/games/stvef/linuxstvefded_1.2-static
+usr/games/stvef/readme.txt
+usr/games/stvef/baseEF/server.cfg
+@dirrm usr/games/stvef/baseEF
+@dirrm usr/games/stvef