ports/53914: [NEW PORT] games/linux_nwnclient: Neverwinter Nights Linux (x86) Client
Erik Olson
erikolson at olsonexpress.com
Mon Jun 30 02:50:12 UTC 2003
>Number: 53914
>Category: ports
>Synopsis: [NEW PORT] games/linux_nwnclient: Neverwinter Nights Linux (x86) Client
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 29 19:50:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Erik Olson
>Release: FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jupiter.olsonexpress.com 5.1-RELEASE FreeBSD 5.1-RELEASE #1: Fri Jun 20 20:47:00 EDT 2003
>Description:
NOTE: This replaces request ports/50763, which was for the beta version of NWN
This is the Neverwinter Nights Linux based client. It runs
under FreeBSD using the Linux emulation mode.
WWW: http://nwn.bioware.com/
- Erik Olson
erikolson at olsonexpress.com
>How-To-Repeat:
>Fix:
--- linux_nwnclient.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# linux_nwnclient
# linux_nwnclient/files
# linux_nwnclient/files/patch-aa
# linux_nwnclient/pkg-descr
# linux_nwnclient/Makefile
# linux_nwnclient/pkg-plist
# linux_nwnclient/pkg-install
# linux_nwnclient/distinfo
#
echo c - linux_nwnclient
mkdir -p linux_nwnclient > /dev/null 2>&1
echo c - linux_nwnclient/files
mkdir -p linux_nwnclient/files > /dev/null 2>&1
echo x - linux_nwnclient/files/patch-aa
sed 's/^X//' >linux_nwnclient/files/patch-aa << 'END-of-linux_nwnclient/files/patch-aa'
X--- nwn.orig Sun Jun 15 00:36:06 2003
X+++ nwn Sun Jun 15 00:38:15 2003
X@@ -9,4 +9,11 @@
X # ./lib from LD_LIBRARY_PATH
X export LD_LIBRARY_PATH=./lib:./miles:$LD_LIBRARY_PATH
X
X+##
X+# FreeBSD Additions
X+export R200_NO_TCL=1
X+cd /usr/compat/linux/usr/games/nwn
X+#
X+###
X+
X ./nwmain $@
END-of-linux_nwnclient/files/patch-aa
echo x - linux_nwnclient/pkg-descr
sed 's/^X//' >linux_nwnclient/pkg-descr << 'END-of-linux_nwnclient/pkg-descr'
XThis is the Neverwinter Nights Linux based client. It runs
Xunder FreeBSD using the Linux emulation mode.
X
XWWW: http://nwn.bioware.com/
X
X- Erik Olson
Xerikolson at olsonexpress.com
END-of-linux_nwnclient/pkg-descr
echo x - linux_nwnclient/Makefile
sed 's/^X//' >linux_nwnclient/Makefile << 'END-of-linux_nwnclient/Makefile'
X# New ports collection makefile for: linux_nwnclient
X# Date created: 1 April 2003
X# Whom: Erik Olson <erikolson at olsonexpress.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= linux_nwnclient
XPORTVERSION= 1.29
XCATEGORIES= games linux
XMASTER_SITES= http://nwdownloads.bioware.com/neverwinternights/linux/${PORTVERSION:S/.//}/
X#DISTNAME= nwclient${PORTVERSION:S/.//}
XDISTFILES= nwclient${PORTVERSION:S/.//}.tar.gz linuxclientupdate129to130.tar.gz
X
XMAINTAINER= erikolson at olsonexpress.com
XCOMMENT= Neverwinter Nights Linux (x86) Client
X
XRUN_DEPENDS= /compat/linux/usr/games/nwn/nwm:${PORTSDIR}/games/linux_nwndata \
X /compat/linux/usr/X11R6/lib/libGL.so.1.2:${PORTSDIR}/graphics/linux_dri
X
XUSE_LINUX= yes
XUSE_LINUX_PREFIX= yes
XNO_BUILD= yes
XONLY_FOR_ARCHS= i386
XNWNDIR= usr/games/nwn
XWRKSRC= ${WRKDIR}
XINSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755
XPLIST_SUB+= NWNDIR="${NWNDIR}"
X# Linux binary should not be stripped by INSTALL_PROGRAM
X# because as a side effect it brands the binary as FreeBSD.
XSTRIP=
X
Xdo-install:
X ${INSTALL_DIR} ${PREFIX}/${NWNDIR}
X ${INSTALL_DIR} ${PREFIX}/${NWNDIR}/miles
X ${INSTALL_DIR} ${PREFIX}/${NWNDIR}/override
X ${INSTALL_DIR} ${PREFIX}/${NWNDIR}/lib
X ${INSTALL_DIR} ${PREFIX}/${NWNDIR}/nwm
X ${INSTALL_DIR} ${PREFIX}/${NWNDIR}/data
X.for file in nwmain nwserver
X ${INSTALL_PROGRAM} ${WRKDIR}/${file} ${PREFIX}/${NWNDIR}
X.endfor
X.for file in dmclient fixinstall nwn
X ${INSTALL_SCRIPT} ${WRKDIR}/${file} ${PREFIX}/${NWNDIR}
X.endfor
X.for file in nwn.ini movies-OC.txt dialog.tlk patch.key
X ${INSTALL_DATA} ${WRKDIR}/${file} ${PREFIX}/${NWNDIR}
X.endfor
X.for file in miles/mssdsp.flt miles/mssmp3.asi miles/msssoft.m3d miles/libmss.so.6.5.2 miles/libmss.so.6 miles/libmss.so
X ${INSTALL_DATA} ${WRKDIR}/${file} ${PREFIX}/${NWNDIR}/miles
X.endfor
X.for file in data/patch.bif
X ${INSTALL_DATA} ${WRKDIR}/${file} ${PREFIX}/${NWNDIR}/data
X.endfor
X.for file in nwm/Chapter1.nwm nwm/Chapter1E.nwm nwm/Chapter2.nwm nwm/Chapter3.nwm nwm/Prelude.nwm
X ${INSTALL_DATA} ${WRKDIR}/${file} ${PREFIX}/${NWNDIR}/nwm
X.endfor
X.for file in override/soundprovider.2da override/load_legal2.tga override/load_legal.tga
X # Removed - override/gui_srv_lst_pnl.tga
X ${INSTALL_DATA} ${WRKDIR}/${file} ${PREFIX}/${NWNDIR}/override
X.endfor
X.for file in lib/libSDL-1.2.so.0 lib/libSDL-1.2.so.0.0.5
X ${INSTALL_PROGRAM} ${WRKDIR}/${file} ${PREFIX}/${NWNDIR}/lib
X.endfor
X.ifndef (NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X.for file in readme.txt readme-SDL.txt EULA.txt NWNv130.txt readme.linuxserver.txt
X ${INSTALL_DATA} ${WRKDIR}/${file} ${DOCSDIR}
X.endfor
X.endif
X# cd ${PREFIX}/${NWNDIR}/ ; /compat/linux/bin/bash ./fixinstall
X ${CHOWN} -R root:games ${PREFIX}/${NWNDIR}/
X ${CHMOD} -R 775 ${PREFIX}/${NWNDIR}/
X
X.include <bsd.port.mk>
END-of-linux_nwnclient/Makefile
echo x - linux_nwnclient/pkg-plist
sed 's/^X//' >linux_nwnclient/pkg-plist << 'END-of-linux_nwnclient/pkg-plist'
X%%NWNDIR%%/./dmclient
X%%DOCSDIR%%/./EULA.txt
X%%NWNDIR%%/./fixinstall
X%%NWNDIR%%/./lib/libSDL-1.2.so.0.0.5
X%%NWNDIR%%/./lib/libSDL-1.2.so.0
X%%NWNDIR%%/./miles/mssdsp.flt
X%%NWNDIR%%/./miles/mssmp3.asi
X%%NWNDIR%%/./miles/msssoft.m3d
X%%NWNDIR%%/./miles/libmss.so.6.5.2
X%%NWNDIR%%/./miles/libmss.so.6
X%%NWNDIR%%/./miles/libmss.so
X%%NWNDIR%%/./movies-OC.txt
X%%NWNDIR%%/./nwmain
X%%NWNDIR%%/./nwn
X%%NWNDIR%%/./nwn.ini
X%%NWNDIR%%/./nwserver
X%%NWNDIR%%/./override/soundprovider.2da
X%%NWNDIR%%/./override/load_legal2.tga
X%%NWNDIR%%/./override/load_legal.tga
X%%DOCSDIR%%/./readme.linuxserver.txt
X%%DOCSDIR%%/./readme-SDL.txt
X%%DOCSDIR%%/./readme.txt
X%%NWNDIR%%/./data/patch.bif
X%%NWNDIR%%/./dialog.tlk
X%%NWNDIR%%/./nwm/Chapter1.nwm
X%%NWNDIR%%/./nwm/Chapter1E.nwm
X%%NWNDIR%%/./nwm/Chapter2.nwm
X%%NWNDIR%%/./nwm/Chapter3.nwm
X%%NWNDIR%%/./nwm/Prelude.nwm
X%%DOCSDIR%%/./NWNv130.txt
X%%NWNDIR%%/./patch.key
X at unexec rmdir %D/%%NWNDIR%%/. 2>/dev/null || true
X at unexec rmdir %D/%%NWNDIR%%/./lib 2>/dev/null || true
X at unexec rmdir %D/%%NWNDIR%%/./miles 2>/dev/null || true
X at unexec rmdir %D/%%NWNDIR%%/./override 2>/dev/null || true
X at unexec rmdir %D/%%NWNDIR%%/./data 2>/dev/null || true
X at unexec rmdir %D/%%NWNDIR%%/./nwm 2>/dev/null || true
END-of-linux_nwnclient/pkg-plist
echo x - linux_nwnclient/pkg-install
sed 's/^X//' >linux_nwnclient/pkg-install << 'END-of-linux_nwnclient/pkg-install'
X#!/bin/sh
X
Xif [ "$2" = "POST-INSTALL" -o -n "${BATCH}" -o -n "${PACKAGE_BUILDING}" ]; then
X exit 0
Xfi
X
X/usr/bin/dialog --msgbox "In order to play Neverwinter Nights, you will need the data files from the game. This can be accomplished in a few different ways. You can copy them manually into the /usr/compat/linux/games/nwn directory, or you use the games/linux-nwndata port. The files will be automatically checked for. If they are not available, then the games/linux-nwndata port will automatically be installed. NOTE: This port is installed so that you will need to be a member of the games group in order to play." 12 70 || /usr/bin/false
END-of-linux_nwnclient/pkg-install
echo x - linux_nwnclient/distinfo
sed 's/^X//' >linux_nwnclient/distinfo << 'END-of-linux_nwnclient/distinfo'
XMD5 (nwclient129.tar.gz) = 73c6515fd6aa5f860802098a55000ae8
XMD5 (linuxclientupdate129to130.tar.gz) = 658bd6a2865eeb599c6730b743a852c8
END-of-linux_nwnclient/distinfo
exit
--- linux_nwnclient.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list