summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-02-03 08:49:22 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-02-03 08:49:22 +0000
commit02ccc56bd8a080701481b6f457971f134da446eb (patch)
tree40acb071210c534699d84d9590572886e2ea5103 /games
parentUpgrade to 2.02. (diff)
New port: games/linux-nwserver
This package contains Neverwinter Nights Linux Dedicated Server, that could run under FreeBSD. Additionally you will need original game data, which should be installed manually. PR: ports/40914 Submitted by: Igor Pokrovsky <tiamat@telegraph.spb.ru>
Notes
Notes: svn path=/head/; revision=74555
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/linux-nwserver/Makefile43
-rw-r--r--games/linux-nwserver/distinfo1
-rw-r--r--games/linux-nwserver/pkg-comment1
-rw-r--r--games/linux-nwserver/pkg-descr8
-rw-r--r--games/linux-nwserver/pkg-plist4
6 files changed, 58 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index e458999970d8..7274b0235de2 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -190,6 +190,7 @@
SUBDIR += lgeneral
SUBDIR += libshhcards
SUBDIR += lincity
+ SUBDIR += linux-nwserver
SUBDIR += linux-q3ademo
SUBDIR += lm-solve
SUBDIR += ltris
diff --git a/games/linux-nwserver/Makefile b/games/linux-nwserver/Makefile
new file mode 100644
index 000000000000..1baa08e00aad
--- /dev/null
+++ b/games/linux-nwserver/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: linux-nwserver
+# Date created: 22 July 2002
+# Whom: Igor Pokrovsky <tiamat@telegraph.spb.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= linux-nwserver
+PORTVERSION= 1.21
+CATEGORIES= games linux
+MASTER_SITES= http://nwdownloads.bioware.com/neverwinternights/linux/121/
+DISTNAME= linuxserver
+
+MAINTAINER= tiamat@telegraph.spb.ru
+
+USE_LINUX= yes
+NO_BUILD= yes
+ONLY_FOR_ARCHS= i386
+
+# Linux binary should not be stripped by INSTALL_PROGRAM
+# because as a side effect it brands the binary as FreeBSD.
+STRIP=
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/fixinstall ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/nwserver ${PREFIX}/bin
+
+.ifndef (NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/readme.linuxserver.txt ${DOCSDIR}
+.endif
+
+post-install:
+ @${ECHO} "*******************************************************************************"
+ @${ECHO} "Neverwinter Nights Dedicated Server requires original game data to run."
+ @${ECHO} "Consult ${DOCSDIR}/readme.linuxserver.txt"
+ @${ECHO} "for more information about required data directories."
+ @${ECHO} "From directory, where you will have installed game data you can run:"
+ @${ECHO} "${PREFIX}/bin/fixinstall - to check installation (FAILED nwserver is ok)"
+ @${ECHO} "and ${PREFIX}/bin/nwserver - to start server"
+ @${ECHO} "*******************************************************************************"
+
+.include <bsd.port.mk>
diff --git a/games/linux-nwserver/distinfo b/games/linux-nwserver/distinfo
new file mode 100644
index 000000000000..334f9e10f09d
--- /dev/null
+++ b/games/linux-nwserver/distinfo
@@ -0,0 +1 @@
+MD5 (linuxserver.tar.gz) = ae924f40f6aad764cdf94e37323cafc0
diff --git a/games/linux-nwserver/pkg-comment b/games/linux-nwserver/pkg-comment
new file mode 100644
index 000000000000..200635ff5211
--- /dev/null
+++ b/games/linux-nwserver/pkg-comment
@@ -0,0 +1 @@
+Neverwinter Nights Linux (x86) Dedicated Server
diff --git a/games/linux-nwserver/pkg-descr b/games/linux-nwserver/pkg-descr
new file mode 100644
index 000000000000..6f8d61fad866
--- /dev/null
+++ b/games/linux-nwserver/pkg-descr
@@ -0,0 +1,8 @@
+This package contains Neverwinter Nights Linux Dedicated Server,
+that could run under FreeBSD. Additionally you will need original
+game data, which should be installed manually.
+
+WWW: http://nwn.bioware.com/
+
+- Igor Pokrovsky
+tiamat@telegraph.spb.ru
diff --git a/games/linux-nwserver/pkg-plist b/games/linux-nwserver/pkg-plist
new file mode 100644
index 000000000000..497e050b0c28
--- /dev/null
+++ b/games/linux-nwserver/pkg-plist
@@ -0,0 +1,4 @@
+bin/fixinstall
+bin/nwserver
+%%PORTDOCS%%share/doc/linux-nwserver/readme.linuxserver.txt
+%%PORTDOCS%%@dirrm share/doc/linux-nwserver