Bug 53915 - [NEW PORT] games/linux_nwndata: Neverwinter Nights Data Files
Summary: [NEW PORT] games/linux_nwndata: Neverwinter Nights Data Files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-30 04:00 UTC by Erik Olson
Modified: 2003-09-28 13:50 UTC (History)
0 users

See Also:


Attachments
linux_nwndata.shar (14.16 KB, text/plain)
2003-06-30 04:00 UTC, Erik Olson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Olson 2003-06-30 04:00:31 UTC
NOTE:  This replaces request ports/50763, which was for the beta version of NWN

This is the Neverwinter Nights data used by the Linux client.  It runs
under FreeBSD using the Linux emulation mode.  In order to play
this game, you will need the game resources, along with a license key
from the retail version of this game.

WWW:  http://nwn.bioware.com/

- Erik Olson
erikolson@olsonexpress.com
Comment 1 Erik Olson 2003-06-30 13:20:27 UTC
NOTE:  Please holdoff on completing this request until after I submit a 
minor change to it.  I should submit in on 7/1/2003.
Comment 2 Erik Olson 2003-07-01 02:44:10 UTC
Here is the update to this port.  I have included a complete shar to 
replace the one originally submitted.

# 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_nwndata
#	linux_nwndata/Makefile
#	linux_nwndata/distinfo
#	linux_nwndata/pkg-descr
#	linux_nwndata/pkg-install
#	linux_nwndata/pkg-plist
#	linux_nwndata/pkg-deinstall
#
echo c - linux_nwndata
mkdir -p linux_nwndata > /dev/null 2>&1
echo x - linux_nwndata/Makefile
sed 's/^X//' >linux_nwndata/Makefile << 'END-of-linux_nwndata/Makefile'
X# New ports collection makefile for:    Neverwinter Nights Data
X# Date created:				4 April 2003
X# Whom:					Erik Olson <erikolson@olsonexpress.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	linux_nwndata
XPORTVERSION=	1.29
XCATEGORIES=	games linux
XMASTER_SITES=	ftp://jeuxlinux.com/bioware/Neverwinter_Nights/
XDISTNAME=	nwresources${PORTVERSION:S/.//}
XEXTRACT_ONLY=	# Don't extract anything
X
XMAINTAINER=	erikolson@olsonexpress.com
XCOMMENT=	Neverwinter Nights Data Files
X
XONLY_FOR_ARCHS=	i386
XUSE_LINUX_PREFIX=	yes
XNO_BUILD=		yes
XSTRIP=
X
XGAMEDIR=	${PREFIX}/usr/games/
XPLIST_SUB+=	NWNDIR="/usr/games/nwn/"
XDISTDIRS=	ambient data dmvault hak localvault docs \
X		modules music nwm override portraits saves \
X		servervault texturepacks \
X		chitin.key patch.key dialog.tlk nwnplayer.ini nwncdkey.ini
XEXTRACT_ONLY=	# Don't extract anything
X
X.include <bsd.port.pre.mk>
X
X# Do nothing for the build.  Don't set NO_BUILD because of the earlier
X# BUILD_DEPENDS
Xdo-build:
X
Xdo-install:
X	cd ${GAMEDIR}; tar xvfz ${DISTDIR}/${DISTNAME}.tar.gz
X
X.include <bsd.port.post.mk>
END-of-linux_nwndata/Makefile
echo x - linux_nwndata/distinfo
sed 's/^X//' >linux_nwndata/distinfo << 'END-of-linux_nwndata/distinfo'
XMD5 (nwresources129.tar.gz) = 8222401efe25235b56d01b38ae880b5b
END-of-linux_nwndata/distinfo
echo x - linux_nwndata/pkg-descr
sed 's/^X//' >linux_nwndata/pkg-descr << 'END-of-linux_nwndata/pkg-descr'
XThis is the Neverwinter Nights data used by the Linux client.  It runs
Xunder FreeBSD using the Linux emulation mode.  In order to play
Xthis game, you will need the game resources, along with a license key
Xfrom the retail version of this game.
X
XWWW:  http://nwn.bioware.com/
X
X- Erik Olson
Xerikolson@olsonexpress.com
END-of-linux_nwndata/pkg-descr
echo x - linux_nwndata/pkg-install
sed 's/^X//' >linux_nwndata/pkg-install << 
'END-of-linux_nwndata/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 --yesno "In order to play Neverwinter Nights, you will 
need the data files from one of two sources.  You can copy the files 
from an installation on a Windows machine to the 
/usr/compat/linux/usr/games/nwn/ directory on your machine, or you can 
use this port.  If you use this port, the game resources will be 
downloaded, however this is a very large file (over 1.2 gig in size). 
If you wish to use a Windows installation to do this, exit out of this 
port now.  NOTE:  If you are using a Windows installation, You should 
upgrade the installation to 1.29 before coping the files.  Are you sure 
you wish to proceed?" 14 70 || /usr/bin/false
END-of-linux_nwndata/pkg-install
echo x - linux_nwndata/pkg-plist
sed 's/^X//' >linux_nwndata/pkg-plist << 'END-of-linux_nwndata/pkg-plist'
X%%NWNDIR%%/./dialog.tlk
X%%NWNDIR%%/./data/2da.bif
X%%NWNDIR%%/./data/aurora_gui.bif
X%%NWNDIR%%/./data/aurora_tcn.bif
X%%NWNDIR%%/./data/aurora_tdc.bif
X%%NWNDIR%%/./data/aurora_tde.bif
X%%NWNDIR%%/./data/aurora_tdm.bif
X%%NWNDIR%%/./data/aurora_tds.bif
X%%NWNDIR%%/./data/aurora_tic.bif
X%%NWNDIR%%/./data/aurora_tin.bif
X%%NWNDIR%%/./data/aurora_tms.bif
X%%NWNDIR%%/./data/aurora_ttf.bif
X%%NWNDIR%%/./data/aurora_ttr.bif
X%%NWNDIR%%/./data/convo.bif
X%%NWNDIR%%/./data/editor.bif
X%%NWNDIR%%/./data/ini.bif
X%%NWNDIR%%/./data/loadscreens.bif
X%%NWNDIR%%/./data/misc.bif
X%%NWNDIR%%/./data/models_01.bif
X%%NWNDIR%%/./data/models_02.bif
X%%NWNDIR%%/./data/music.bif
X%%NWNDIR%%/./data/patch.bif
X%%NWNDIR%%/./data/scripts.bif
X%%NWNDIR%%/./data/sounds.bif
X%%NWNDIR%%/./data/templates.bif
X%%NWNDIR%%/./data/textures_01.bif
X%%NWNDIR%%/./data/textures_02.bif
X%%NWNDIR%%/./data/voicesets.bif
X%%NWNDIR%%/./dmvault/dungeonmaster.bic
X%%NWNDIR%%/./localvault/aluviandarkstar.bic
X%%NWNDIR%%/./localvault/claymanorin.bic
X%%NWNDIR%%/./localvault/daeris.bic
X%%NWNDIR%%/./localvault/daevaorn.bic
X%%NWNDIR%%/./localvault/diadanlocke.bic
X%%NWNDIR%%/./localvault/drax.bic
X%%NWNDIR%%/./localvault/freddifurpo.bic
X%%NWNDIR%%/./localvault/frederickgarvin.bic
X%%NWNDIR%%/./localvault/jaindvarkvasirso.bic
X%%NWNDIR%%/./localvault/jinn.bic
X%%NWNDIR%%/./localvault/jolenaleider.bic
X%%NWNDIR%%/./localvault/junoboram.bic
X%%NWNDIR%%/./localvault/kerith.bic
X%%NWNDIR%%/./localvault/kheldaraambarhin.bic
X%%NWNDIR%%/./localvault/laureencelest.bic
X%%NWNDIR%%/./localvault/merrickdupelade.bic
X%%NWNDIR%%/./localvault/ownka.bic
X%%NWNDIR%%/./localvault/raptrethanlis.bic
X%%NWNDIR%%/./localvault/torutaramoku.bic
X%%NWNDIR%%/./localvault/xandraloxdeteste.bic
X%%NWNDIR%%/./localvault/xavierwoo.bic
X%%NWNDIR%%/./localvault/zanzinabru.bic
X%%NWNDIR%%/./docs/NWN_OnlineManual.pdf
X%%NWNDIR%%/./docs/readme.txt
X%%NWNDIR%%/./EULA.txt
X%%NWNDIR%%/./modules/Contest Of Champions 0492.mod
X%%NWNDIR%%/./modules/DEMO - A Bucket of Gnolls.mod
X%%NWNDIR%%/./modules/DEMO - Goblins vs Kobolds.mod
X%%NWNDIR%%/./modules/DEMO - House of Doors.mod
X%%NWNDIR%%/./modules/DEMO - Thar be Rats! Yarrr!.mod
X%%NWNDIR%%/./modules/DEMO - The Cat Lady.mod
X%%NWNDIR%%/./modules/WW1-The Fields of Battle.mod
X%%NWNDIR%%/./modules/WW2-The Witch Hunters.mod
X%%NWNDIR%%/./music/mus_autorun.wav
X%%NWNDIR%%/./music/mus_bat_aribeth.bmu
X%%NWNDIR%%/./music/mus_bat_citboss.bmu
X%%NWNDIR%%/./music/mus_bat_city1.bmu
X%%NWNDIR%%/./music/mus_bat_city2.bmu
X%%NWNDIR%%/./music/mus_bat_city3.bmu
X%%NWNDIR%%/./music/mus_bat_dragon.bmu
X%%NWNDIR%%/./music/mus_bat_dung1.bmu
X%%NWNDIR%%/./music/mus_bat_dung2.bmu
X%%NWNDIR%%/./music/mus_bat_dung3.bmu
X%%NWNDIR%%/./music/mus_bat_endboss.bmu
X%%NWNDIR%%/./music/mus_bat_forboss.bmu
X%%NWNDIR%%/./music/mus_bat_forest1.bmu
X%%NWNDIR%%/./music/mus_bat_forest2.bmu
X%%NWNDIR%%/./music/mus_bat_lizboss.bmu
X%%NWNDIR%%/./music/mus_bat_rural1.bmu
X%%NWNDIR%%/./music/mus_castle.bmu
X%%NWNDIR%%/./music/mus_citydockday.bmu
X%%NWNDIR%%/./music/mus_citydocknite.bmu
X%%NWNDIR%%/./music/mus_citymarket.bmu
X%%NWNDIR%%/./music/mus_citynite.bmu
X%%NWNDIR%%/./music/mus_cityslumday.bmu
X%%NWNDIR%%/./music/mus_cityslumnite.bmu
X%%NWNDIR%%/./music/mus_citywealthy.bmu
X%%NWNDIR%%/./music/mus_crypt1.bmu
X%%NWNDIR%%/./music/mus_crypt2.bmu
X%%NWNDIR%%/./music/mus_evildungeon1.bmu
X%%NWNDIR%%/./music/mus_evildungeon2.bmu
X%%NWNDIR%%/./music/mus_forestday1.bmu
X%%NWNDIR%%/./music/mus_forestday2.bmu
X%%NWNDIR%%/./music/mus_forestnite.bmu
X%%NWNDIR%%/./music/mus_gendungeon1.bmu
X%%NWNDIR%%/./music/mus_mines1.bmu
X%%NWNDIR%%/./music/mus_mines2.bmu
X%%NWNDIR%%/./music/mus_richhouse.bmu
X%%NWNDIR%%/./music/mus_ruralday1.bmu
X%%NWNDIR%%/./music/mus_ruralday2.bmu
X%%NWNDIR%%/./music/mus_ruralnite.bmu
X%%NWNDIR%%/./music/mus_sewer.bmu
X%%NWNDIR%%/./music/mus_store.bmu
X%%NWNDIR%%/./music/mus_tavern1.bmu
X%%NWNDIR%%/./music/mus_tavern2.bmu
X%%NWNDIR%%/./music/mus_tavern3.bmu
X%%NWNDIR%%/./music/mus_tavern4.bmu
X%%NWNDIR%%/./music/mus_templeevil.bmu
X%%NWNDIR%%/./music/mus_templegood.bmu
X%%NWNDIR%%/./music/mus_templegood2.bmu
X%%NWNDIR%%/./music/mus_theme_argend.bmu
X%%NWNDIR%%/./music/mus_theme_aribev.bmu
X%%NWNDIR%%/./music/mus_theme_aribgd.bmu
X%%NWNDIR%%/./music/mus_theme_chap1.bmu
X%%NWNDIR%%/./music/mus_theme_chap2.bmu
X%%NWNDIR%%/./music/mus_theme_chap3.bmu
X%%NWNDIR%%/./music/mus_theme_chap4.bmu
X%%NWNDIR%%/./music/mus_theme_main.bmu
X%%NWNDIR%%/./music/mus_theme_maugrm.bmu
X%%NWNDIR%%/./music/mus_theme_morag.bmu
X%%NWNDIR%%/./music/mus_theme_nwn.bmu
X%%NWNDIR%%/./nwm/Chapter1.nwm
X%%NWNDIR%%/./nwm/Chapter1E.nwm
X%%NWNDIR%%/./nwm/Chapter2.nwm
X%%NWNDIR%%/./nwm/Chapter2E.nwm
X%%NWNDIR%%/./nwm/Chapter3.nwm
X%%NWNDIR%%/./nwm/Chapter4.nwm
X%%NWNDIR%%/./nwm/Prelude.nwm
X%%NWNDIR%%/./override/iit_medkit_001.tga
X%%NWNDIR%%/./override/m1q6f06pedistal.dlg
X%%NWNDIR%%/./override/nw_s2_wholeness.ncs
X%%NWNDIR%%/./override/nw_s2_wholeness.nss
X%%NWNDIR%%/./override/options_sound.gui
X%%NWNDIR%%/./override/serverlist_page1.gui
X%%NWNDIR%%/./texturepacks/GUI_32bit.erf
X%%NWNDIR%%/./texturepacks/Textures_Tpa.erf
X%%NWNDIR%%/./texturepacks/Textures_Tpc.erf
X%%NWNDIR%%/./texturepacks/Tiles_Tpa.erf
X%%NWNDIR%%/./texturepacks/Tiles_Tpb.erf
X%%NWNDIR%%/./texturepacks/Tiles_Tpc.erf
X%%NWNDIR%%/./chitin.key
X%%NWNDIR%%/./ambient/al_an_bughouse1.wav
X%%NWNDIR%%/./ambient/al_an_bughouse2.wav
X%%NWNDIR%%/./ambient/al_an_bugscave1.wav
X%%NWNDIR%%/./ambient/al_an_bugscave2.wav
X%%NWNDIR%%/./ambient/al_an_lizrdflk1.wav
X%%NWNDIR%%/./ambient/al_cv_castleamb1.wav
X%%NWNDIR%%/./ambient/al_cv_castleamb2.wav
X%%NWNDIR%%/./ambient/al_cv_castleamb3.wav
X%%NWNDIR%%/./ambient/al_cv_caveamb1.wav
X%%NWNDIR%%/./ambient/al_cv_caveamb2.wav
X%%NWNDIR%%/./ambient/al_cv_caveamb3.wav
X%%NWNDIR%%/./ambient/al_cv_cryptamb1.wav
X%%NWNDIR%%/./ambient/al_cv_cryptamb2.wav
X%%NWNDIR%%/./ambient/al_cv_cryptamb3.wav
X%%NWNDIR%%/./ambient/al_cv_evldunamb1.wav
X%%NWNDIR%%/./ambient/al_cv_evldunamb2.wav
X%%NWNDIR%%/./ambient/al_cv_evldunamb3.wav
X%%NWNDIR%%/./ambient/al_cv_hauntamb1.wav
X%%NWNDIR%%/./ambient/al_cv_hauntamb2.wav
X%%NWNDIR%%/./ambient/al_cv_hauntamb3.wav
X%%NWNDIR%%/./ambient/al_cv_houseamb1.wav
X%%NWNDIR%%/./ambient/al_cv_houseamb2.wav
X%%NWNDIR%%/./ambient/al_cv_houseamb3.wav
X%%NWNDIR%%/./ambient/al_cv_kitchamb1.wav
X%%NWNDIR%%/./ambient/al_cv_kitchamb2.wav
X%%NWNDIR%%/./ambient/al_cv_mineamb1.wav
X%%NWNDIR%%/./ambient/al_cv_mineamb2.wav
X%%NWNDIR%%/./ambient/al_cv_mineamb3.wav
X%%NWNDIR%%/./ambient/al_cv_seweramb1.wav
X%%NWNDIR%%/./ambient/al_cv_seweramb2.wav
X%%NWNDIR%%/./ambient/al_mg_airlab1.wav
X%%NWNDIR%%/./ambient/al_mg_earthlab1.wav
X%%NWNDIR%%/./ambient/al_mg_firelab1.wav
X%%NWNDIR%%/./ambient/al_mg_magicint1.wav
X%%NWNDIR%%/./ambient/al_mg_magicint2.wav
X%%NWNDIR%%/./ambient/al_mg_magicint3.wav
X%%NWNDIR%%/./ambient/al_mg_magicint4.wav
X%%NWNDIR%%/./ambient/al_mg_pitcry1.wav
X%%NWNDIR%%/./ambient/al_mg_waterlab1.wav
X%%NWNDIR%%/./ambient/al_na_frstdyamb1.wav
X%%NWNDIR%%/./ambient/al_na_frstdyamb2.wav
X%%NWNDIR%%/./ambient/al_na_frstdyamb3.wav
X%%NWNDIR%%/./ambient/al_na_frstdyscr1.wav
X%%NWNDIR%%/./ambient/al_na_frstmagic1.wav
X%%NWNDIR%%/./ambient/al_na_frstntamb1.wav
X%%NWNDIR%%/./ambient/al_na_frstntamb2.wav
X%%NWNDIR%%/./ambient/al_na_frstntscr1.wav
X%%NWNDIR%%/./ambient/al_na_lavalake1.wav
X%%NWNDIR%%/./ambient/al_na_sludglake1.wav
X%%NWNDIR%%/./ambient/al_pl_blacksmith.wav
X%%NWNDIR%%/./ambient/al_pl_riot1.wav
X%%NWNDIR%%/./ambient/al_pl_bordello1.wav
X%%NWNDIR%%/./ambient/al_pl_bordello2.wav
X%%NWNDIR%%/./ambient/al_pl_cityday1.wav
X%%NWNDIR%%/./ambient/al_pl_cityday2.wav
X%%NWNDIR%%/./ambient/al_pl_citynite.wav
X%%NWNDIR%%/./ambient/al_pl_combat1.wav
X%%NWNDIR%%/./ambient/al_pl_combat2.wav
X%%NWNDIR%%/./ambient/al_pl_combatmuf1.wav
X%%NWNDIR%%/./ambient/al_pl_combatmuf2.wav
X%%NWNDIR%%/./ambient/al_pl_marketday.wav
X%%NWNDIR%%/./ambient/al_pl_riot2.wav
X%%NWNDIR%%/./ambient/al_pl_slumday1.wav
X%%NWNDIR%%/./ambient/al_pl_slumday2.wav
X%%NWNDIR%%/./ambient/al_pl_slumnite.wav
X%%NWNDIR%%/./ambient/al_pl_talkinglrg.wav
X%%NWNDIR%%/./ambient/al_pl_talkingmed.wav
X%%NWNDIR%%/./ambient/al_pl_talkingsml.wav
X%%NWNDIR%%/./ambient/al_pl_tavhubbub1.wav
X%%NWNDIR%%/./ambient/al_pl_tavhubbub2.wav
X%%NWNDIR%%/./ambient/al_pl_templesday.wav
X%%NWNDIR%%/./ambient/al_pl_townday1.wav
X%%NWNDIR%%/./ambient/al_pl_townday2.wav
X%%NWNDIR%%/./ambient/al_pl_townnite.wav
X%%NWNDIR%%/./ambient/al_pl_whispers.wav
X%%NWNDIR%%/./ambient/al_pl_whispersf.wav
X%%NWNDIR%%/./ambient/al_pl_whispersm.wav
X%%NWNDIR%%/./ambient/al_wt_gustcavrn1.wav
X%%NWNDIR%%/./ambient/al_wt_gustchasm1.wav
X%%NWNDIR%%/./ambient/al_wt_gustdraft1.wav
X%%NWNDIR%%/./ambient/al_wt_gustgrass1.wav
X%%NWNDIR%%/./ambient/al_wt_rainhard1.wav
X%%NWNDIR%%/./ambient/al_wt_rainlight1.wav
X%%NWNDIR%%/./ambient/al_wt_stormlg1.wav
X%%NWNDIR%%/./ambient/al_wt_stormsm1.wav
X%%NWNDIR%%/./ambient/al_wt_windmed1.wav
X%%NWNDIR%%/./ambient/al_wt_windsoft1.wav
X%%NWNDIR%%/./ambient/al_wt_windstrng1.wav
X%%NWNDIR%%/./ambient/al_wt_windforst1.wav
X%%NWNDIR%%/./NWNv129.txt
X%%NWNDIR%%/./patch.key
X@unexec rmdir %D/%%NWNDIR%%/. 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./data 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./dmvault 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./localvault 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./docs 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./hak 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./modules 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./music 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./nwm 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./override 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./portraits 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./saves 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./servervault 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./texturepacks 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./ambient 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./logs 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./lib 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./database 2>/dev/null || true
X@unexec rmdir %D/%%NWNDIR%%/./tempclient 2>/dev/null || true
X
END-of-linux_nwndata/pkg-plist
echo x - linux_nwndata/pkg-deinstall
sed 's/^X//' >linux_nwndata/pkg-deinstall << 
'END-of-linux_nwndata/pkg-deinstall'
X#!/bin/sh
X
Xif [ "$2" != "POST-DEINSTALL" ]; then
X    exit 0
Xfi
X
Xecho ""
Xecho "This port has been deinstalled.  However, it is possible that 
some files have been left on the system.  There are several reasons why 
this could happen:"
Xecho ""
Xecho "* Because of the conversion from the Windows to the Linux based 
versions of the data files, some may have been renamed during the 
upgrade process."
Xecho "* If you have played Neverwinter nights, your save files and user 
settings will still be there."
Xecho ""
Xecho "To fully remove this port, you will also need to remove the 
/compat/linux/usr/games/nwn directory."
X
Xexit 0
X
END-of-linux_nwndata/pkg-deinstall
exit
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2003-09-28 13:49:55 UTC
State Changed
From-To: open->closed

Commited, thanks! 

I have disabled the automatic fetching and building of this port 
due to the size of the beast.