aboutsummaryrefslogtreecommitdiff
path: root/games/linux-nwserver
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/linux-nwserver
parentdaa93663c6713025155fa8858fd78f2972fe0847 (diff)
downloadports-02ccc56bd8a080701481b6f457971f134da446eb.tar.gz
ports-02ccc56bd8a080701481b6f457971f134da446eb.zip
Notes
Diffstat (limited to 'games/linux-nwserver')
-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
5 files changed, 57 insertions, 0 deletions
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