aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-09-28 20:49:38 +0800
committeredwin <edwin@FreeBSD.org>2003-09-28 20:49:38 +0800
commit2a947147abf473dd91b59bcc6a149700ec675d29 (patch)
tree6e738b53d582fb2adf94df16819f9a0d49beb348 /games
parent663873f0b913f6f35f0f8bbe2b16c096c43ad77e (diff)
downloadfreebsd-ports-gnome-2a947147abf473dd91b59bcc6a149700ec675d29.tar.gz
freebsd-ports-gnome-2a947147abf473dd91b59bcc6a149700ec675d29.tar.zst
freebsd-ports-gnome-2a947147abf473dd91b59bcc6a149700ec675d29.zip
[NEW PORT] games/linux_nwndata: Neverwinter Nights Data Files
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/ Note: I have disabled the automatic fetching for this port since it is 1.2Gb in size. PR: ports/53915 Submitted by: Erik Olson <erikolson@olsonexpress.com>
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/linux_nwndata/Makefile43
-rw-r--r--games/linux_nwndata/distinfo1
-rw-r--r--games/linux_nwndata/pkg-deinstall22
-rw-r--r--games/linux_nwndata/pkg-descr9
-rw-r--r--games/linux_nwndata/pkg-install17
-rw-r--r--games/linux_nwndata/pkg-plist251
-rw-r--r--games/nwndata/Makefile43
-rw-r--r--games/nwndata/distinfo1
-rw-r--r--games/nwndata/pkg-deinstall22
-rw-r--r--games/nwndata/pkg-descr9
-rw-r--r--games/nwndata/pkg-install17
-rw-r--r--games/nwndata/pkg-plist251
13 files changed, 687 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 48f85f23e7af..4810be3430f2 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -218,6 +218,7 @@
SUBDIR += lincity
SUBDIR += linux-nwserver
SUBDIR += linux-q3ademo
+ SUBDIR += linux_nwndata
SUBDIR += lm-solve
SUBDIR += ltris
SUBDIR += macopix
diff --git a/games/linux_nwndata/Makefile b/games/linux_nwndata/Makefile
new file mode 100644
index 000000000000..165a527695ff
--- /dev/null
+++ b/games/linux_nwndata/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: Neverwinter Nights Data
+# Date created: 4 April 2003
+# Whom: Erik Olson <erikolson@olsonexpress.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= linux_nwndata
+PORTVERSION= 1.29
+CATEGORIES= games linux
+MASTER_SITES= # ftp://jeuxlinux.com/bioware/Neverwinter_Nights/
+DISTNAME= nwresources${PORTVERSION:S/.//}
+EXTRACT_ONLY= # Don't extract anything
+
+MAINTAINER= erikolson@olsonexpress.com
+COMMENT= Neverwinter Nights Data Files
+
+ONLY_FOR_ARCHS= i386
+USE_LINUX_PREFIX= yes
+NO_BUILD= yes
+STRIP=
+
+GAMEDIR= ${PREFIX}/usr/games/
+PLIST_SUB+= NWNDIR="/usr/games/nwn/"
+DISTDIRS= ambient data dmvault hak localvault docs \
+ modules music nwm override portraits saves \
+ servervault texturepacks \
+ chitin.key patch.key dialog.tlk nwnplayer.ini nwncdkey.ini
+
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE= You need to download the data files manually. They are big++: 1.2 gigabyte. You can find them at ftp://jeuxlinux.com/bioware/Neverwinter_Nights/ as ${DISTFILES}. Copy them to ${DISTDIR} and run "make" again there.
+.endif
+
+.include <bsd.port.pre.mk>
+
+# Do nothing for the build. Don't set NO_BUILD because of the earlier
+# BUILD_DEPENDS
+do-build:
+
+do-install:
+ cd ${GAMEDIR}; tar xvfz ${DISTDIR}/${DISTNAME}.tar.gz
+
+.include <bsd.port.post.mk>
diff --git a/games/linux_nwndata/distinfo b/games/linux_nwndata/distinfo
new file mode 100644
index 000000000000..1b5f938db5b7
--- /dev/null
+++ b/games/linux_nwndata/distinfo
@@ -0,0 +1 @@
+MD5 (nwresources129.tar.gz) = 8222401efe25235b56d01b38ae880b5b
diff --git a/games/linux_nwndata/pkg-deinstall b/games/linux_nwndata/pkg-deinstall
new file mode 100644
index 000000000000..3fd0a49ecf93
--- /dev/null
+++ b/games/linux_nwndata/pkg-deinstall
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+echo ""
+echo "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:"
+echo ""
+echo "* 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."
+echo "* If you have played Neverwinter nights, your save files and user
+settings will still be there."
+echo ""
+echo "To fully remove this port, you will also need to remove the
+/compat/linux/usr/games/nwn directory."
+
+exit 0
+
diff --git a/games/linux_nwndata/pkg-descr b/games/linux_nwndata/pkg-descr
new file mode 100644
index 000000000000..9cf4a559aa82
--- /dev/null
+++ b/games/linux_nwndata/pkg-descr
@@ -0,0 +1,9 @@
+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
diff --git a/games/linux_nwndata/pkg-install b/games/linux_nwndata/pkg-install
new file mode 100644
index 000000000000..9dd8ade64c39
--- /dev/null
+++ b/games/linux_nwndata/pkg-install
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+if [ "$2" = "POST-INSTALL" -o -n "${BATCH}" -o -n "${PACKAGE_BUILDING}"
+]; then
+ exit 0
+fi
+
+/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
diff --git a/games/linux_nwndata/pkg-plist b/games/linux_nwndata/pkg-plist
new file mode 100644
index 000000000000..d915b3ec16b0
--- /dev/null
+++ b/games/linux_nwndata/pkg-plist
@@ -0,0 +1,251 @@
+%%NWNDIR%%/./dialog.tlk
+%%NWNDIR%%/./data/2da.bif
+%%NWNDIR%%/./data/aurora_gui.bif
+%%NWNDIR%%/./data/aurora_tcn.bif
+%%NWNDIR%%/./data/aurora_tdc.bif
+%%NWNDIR%%/./data/aurora_tde.bif
+%%NWNDIR%%/./data/aurora_tdm.bif
+%%NWNDIR%%/./data/aurora_tds.bif
+%%NWNDIR%%/./data/aurora_tic.bif
+%%NWNDIR%%/./data/aurora_tin.bif
+%%NWNDIR%%/./data/aurora_tms.bif
+%%NWNDIR%%/./data/aurora_ttf.bif
+%%NWNDIR%%/./data/aurora_ttr.bif
+%%NWNDIR%%/./data/convo.bif
+%%NWNDIR%%/./data/editor.bif
+%%NWNDIR%%/./data/ini.bif
+%%NWNDIR%%/./data/loadscreens.bif
+%%NWNDIR%%/./data/misc.bif
+%%NWNDIR%%/./data/models_01.bif
+%%NWNDIR%%/./data/models_02.bif
+%%NWNDIR%%/./data/music.bif
+%%NWNDIR%%/./data/patch.bif
+%%NWNDIR%%/./data/scripts.bif
+%%NWNDIR%%/./data/sounds.bif
+%%NWNDIR%%/./data/templates.bif
+%%NWNDIR%%/./data/textures_01.bif
+%%NWNDIR%%/./data/textures_02.bif
+%%NWNDIR%%/./data/voicesets.bif
+%%NWNDIR%%/./dmvault/dungeonmaster.bic
+%%NWNDIR%%/./localvault/aluviandarkstar.bic
+%%NWNDIR%%/./localvault/claymanorin.bic
+%%NWNDIR%%/./localvault/daeris.bic
+%%NWNDIR%%/./localvault/daevaorn.bic
+%%NWNDIR%%/./localvault/diadanlocke.bic
+%%NWNDIR%%/./localvault/drax.bic
+%%NWNDIR%%/./localvault/freddifurpo.bic
+%%NWNDIR%%/./localvault/frederickgarvin.bic
+%%NWNDIR%%/./localvault/jaindvarkvasirso.bic
+%%NWNDIR%%/./localvault/jinn.bic
+%%NWNDIR%%/./localvault/jolenaleider.bic
+%%NWNDIR%%/./localvault/junoboram.bic
+%%NWNDIR%%/./localvault/kerith.bic
+%%NWNDIR%%/./localvault/kheldaraambarhin.bic
+%%NWNDIR%%/./localvault/laureencelest.bic
+%%NWNDIR%%/./localvault/merrickdupelade.bic
+%%NWNDIR%%/./localvault/ownka.bic
+%%NWNDIR%%/./localvault/raptrethanlis.bic
+%%NWNDIR%%/./localvault/torutaramoku.bic
+%%NWNDIR%%/./localvault/xandraloxdeteste.bic
+%%NWNDIR%%/./localvault/xavierwoo.bic
+%%NWNDIR%%/./localvault/zanzinabru.bic
+%%NWNDIR%%/./docs/NWN_OnlineManual.pdf
+%%NWNDIR%%/./docs/readme.txt
+%%NWNDIR%%/./EULA.txt
+%%NWNDIR%%/./modules/Contest Of Champions 0492.mod
+%%NWNDIR%%/./modules/DEMO - A Bucket of Gnolls.mod
+%%NWNDIR%%/./modules/DEMO - Goblins vs Kobolds.mod
+%%NWNDIR%%/./modules/DEMO - House of Doors.mod
+%%NWNDIR%%/./modules/DEMO - Thar be Rats! Yarrr!.mod
+%%NWNDIR%%/./modules/DEMO - The Cat Lady.mod
+%%NWNDIR%%/./modules/WW1-The Fields of Battle.mod
+%%NWNDIR%%/./modules/WW2-The Witch Hunters.mod
+%%NWNDIR%%/./music/mus_autorun.wav
+%%NWNDIR%%/./music/mus_bat_aribeth.bmu
+%%NWNDIR%%/./music/mus_bat_citboss.bmu
+%%NWNDIR%%/./music/mus_bat_city1.bmu
+%%NWNDIR%%/./music/mus_bat_city2.bmu
+%%NWNDIR%%/./music/mus_bat_city3.bmu
+%%NWNDIR%%/./music/mus_bat_dragon.bmu
+%%NWNDIR%%/./music/mus_bat_dung1.bmu
+%%NWNDIR%%/./music/mus_bat_dung2.bmu
+%%NWNDIR%%/./music/mus_bat_dung3.bmu
+%%NWNDIR%%/./music/mus_bat_endboss.bmu
+%%NWNDIR%%/./music/mus_bat_forboss.bmu
+%%NWNDIR%%/./music/mus_bat_forest1.bmu
+%%NWNDIR%%/./music/mus_bat_forest2.bmu
+%%NWNDIR%%/./music/mus_bat_lizboss.bmu
+%%NWNDIR%%/./music/mus_bat_rural1.bmu
+%%NWNDIR%%/./music/mus_castle.bmu
+%%NWNDIR%%/./music/mus_citydockday.bmu
+%%NWNDIR%%/./music/mus_citydocknite.bmu
+%%NWNDIR%%/./music/mus_citymarket.bmu
+%%NWNDIR%%/./music/mus_citynite.bmu
+%%NWNDIR%%/./music/mus_cityslumday.bmu
+%%NWNDIR%%/./music/mus_cityslumnite.bmu
+%%NWNDIR%%/./music/mus_citywealthy.bmu
+%%NWNDIR%%/./music/mus_crypt1.bmu
+%%NWNDIR%%/./music/mus_crypt2.bmu
+%%NWNDIR%%/./music/mus_evildungeon1.bmu
+%%NWNDIR%%/./music/mus_evildungeon2.bmu
+%%NWNDIR%%/./music/mus_forestday1.bmu
+%%NWNDIR%%/./music/mus_forestday2.bmu
+%%NWNDIR%%/./music/mus_forestnite.bmu
+%%NWNDIR%%/./music/mus_gendungeon1.bmu
+%%NWNDIR%%/./music/mus_mines1.bmu
+%%NWNDIR%%/./music/mus_mines2.bmu
+%%NWNDIR%%/./music/mus_richhouse.bmu
+%%NWNDIR%%/./music/mus_ruralday1.bmu
+%%NWNDIR%%/./music/mus_ruralday2.bmu
+%%NWNDIR%%/./music/mus_ruralnite.bmu
+%%NWNDIR%%/./music/mus_sewer.bmu
+%%NWNDIR%%/./music/mus_store.bmu
+%%NWNDIR%%/./music/mus_tavern1.bmu
+%%NWNDIR%%/./music/mus_tavern2.bmu
+%%NWNDIR%%/./music/mus_tavern3.bmu
+%%NWNDIR%%/./music/mus_tavern4.bmu
+%%NWNDIR%%/./music/mus_templeevil.bmu
+%%NWNDIR%%/./music/mus_templegood.bmu
+%%NWNDIR%%/./music/mus_templegood2.bmu
+%%NWNDIR%%/./music/mus_theme_argend.bmu
+%%NWNDIR%%/./music/mus_theme_aribev.bmu
+%%NWNDIR%%/./music/mus_theme_aribgd.bmu
+%%NWNDIR%%/./music/mus_theme_chap1.bmu
+%%NWNDIR%%/./music/mus_theme_chap2.bmu
+%%NWNDIR%%/./music/mus_theme_chap3.bmu
+%%NWNDIR%%/./music/mus_theme_chap4.bmu
+%%NWNDIR%%/./music/mus_theme_main.bmu
+%%NWNDIR%%/./music/mus_theme_maugrm.bmu
+%%NWNDIR%%/./music/mus_theme_morag.bmu
+%%NWNDIR%%/./music/mus_theme_nwn.bmu
+%%NWNDIR%%/./nwm/Chapter1.nwm
+%%NWNDIR%%/./nwm/Chapter1E.nwm
+%%NWNDIR%%/./nwm/Chapter2.nwm
+%%NWNDIR%%/./nwm/Chapter2E.nwm
+%%NWNDIR%%/./nwm/Chapter3.nwm
+%%NWNDIR%%/./nwm/Chapter4.nwm
+%%NWNDIR%%/./nwm/Prelude.nwm
+%%NWNDIR%%/./override/iit_medkit_001.tga
+%%NWNDIR%%/./override/m1q6f06pedistal.dlg
+%%NWNDIR%%/./override/nw_s2_wholeness.ncs
+%%NWNDIR%%/./override/nw_s2_wholeness.nss
+%%NWNDIR%%/./override/options_sound.gui
+%%NWNDIR%%/./override/serverlist_page1.gui
+%%NWNDIR%%/./texturepacks/GUI_32bit.erf
+%%NWNDIR%%/./texturepacks/Textures_Tpa.erf
+%%NWNDIR%%/./texturepacks/Textures_Tpc.erf
+%%NWNDIR%%/./texturepacks/Tiles_Tpa.erf
+%%NWNDIR%%/./texturepacks/Tiles_Tpb.erf
+%%NWNDIR%%/./texturepacks/Tiles_Tpc.erf
+%%NWNDIR%%/./chitin.key
+%%NWNDIR%%/./ambient/al_an_bughouse1.wav
+%%NWNDIR%%/./ambient/al_an_bughouse2.wav
+%%NWNDIR%%/./ambient/al_an_bugscave1.wav
+%%NWNDIR%%/./ambient/al_an_bugscave2.wav
+%%NWNDIR%%/./ambient/al_an_lizrdflk1.wav
+%%NWNDIR%%/./ambient/al_cv_castleamb1.wav
+%%NWNDIR%%/./ambient/al_cv_castleamb2.wav
+%%NWNDIR%%/./ambient/al_cv_castleamb3.wav
+%%NWNDIR%%/./ambient/al_cv_caveamb1.wav
+%%NWNDIR%%/./ambient/al_cv_caveamb2.wav
+%%NWNDIR%%/./ambient/al_cv_caveamb3.wav
+%%NWNDIR%%/./ambient/al_cv_cryptamb1.wav
+%%NWNDIR%%/./ambient/al_cv_cryptamb2.wav
+%%NWNDIR%%/./ambient/al_cv_cryptamb3.wav
+%%NWNDIR%%/./ambient/al_cv_evldunamb1.wav
+%%NWNDIR%%/./ambient/al_cv_evldunamb2.wav
+%%NWNDIR%%/./ambient/al_cv_evldunamb3.wav
+%%NWNDIR%%/./ambient/al_cv_hauntamb1.wav
+%%NWNDIR%%/./ambient/al_cv_hauntamb2.wav
+%%NWNDIR%%/./ambient/al_cv_hauntamb3.wav
+%%NWNDIR%%/./ambient/al_cv_houseamb1.wav
+%%NWNDIR%%/./ambient/al_cv_houseamb2.wav
+%%NWNDIR%%/./ambient/al_cv_houseamb3.wav
+%%NWNDIR%%/./ambient/al_cv_kitchamb1.wav
+%%NWNDIR%%/./ambient/al_cv_kitchamb2.wav
+%%NWNDIR%%/./ambient/al_cv_mineamb1.wav
+%%NWNDIR%%/./ambient/al_cv_mineamb2.wav
+%%NWNDIR%%/./ambient/al_cv_mineamb3.wav
+%%NWNDIR%%/./ambient/al_cv_seweramb1.wav
+%%NWNDIR%%/./ambient/al_cv_seweramb2.wav
+%%NWNDIR%%/./ambient/al_mg_airlab1.wav
+%%NWNDIR%%/./ambient/al_mg_earthlab1.wav
+%%NWNDIR%%/./ambient/al_mg_firelab1.wav
+%%NWNDIR%%/./ambient/al_mg_magicint1.wav
+%%NWNDIR%%/./ambient/al_mg_magicint2.wav
+%%NWNDIR%%/./ambient/al_mg_magicint3.wav
+%%NWNDIR%%/./ambient/al_mg_magicint4.wav
+%%NWNDIR%%/./ambient/al_mg_pitcry1.wav
+%%NWNDIR%%/./ambient/al_mg_waterlab1.wav
+%%NWNDIR%%/./ambient/al_na_frstdyamb1.wav
+%%NWNDIR%%/./ambient/al_na_frstdyamb2.wav
+%%NWNDIR%%/./ambient/al_na_frstdyamb3.wav
+%%NWNDIR%%/./ambient/al_na_frstdyscr1.wav
+%%NWNDIR%%/./ambient/al_na_frstmagic1.wav
+%%NWNDIR%%/./ambient/al_na_frstntamb1.wav
+%%NWNDIR%%/./ambient/al_na_frstntamb2.wav
+%%NWNDIR%%/./ambient/al_na_frstntscr1.wav
+%%NWNDIR%%/./ambient/al_na_lavalake1.wav
+%%NWNDIR%%/./ambient/al_na_sludglake1.wav
+%%NWNDIR%%/./ambient/al_pl_blacksmith.wav
+%%NWNDIR%%/./ambient/al_pl_riot1.wav
+%%NWNDIR%%/./ambient/al_pl_bordello1.wav
+%%NWNDIR%%/./ambient/al_pl_bordello2.wav
+%%NWNDIR%%/./ambient/al_pl_cityday1.wav
+%%NWNDIR%%/./ambient/al_pl_cityday2.wav
+%%NWNDIR%%/./ambient/al_pl_citynite.wav
+%%NWNDIR%%/./ambient/al_pl_combat1.wav
+%%NWNDIR%%/./ambient/al_pl_combat2.wav
+%%NWNDIR%%/./ambient/al_pl_combatmuf1.wav
+%%NWNDIR%%/./ambient/al_pl_combatmuf2.wav
+%%NWNDIR%%/./ambient/al_pl_marketday.wav
+%%NWNDIR%%/./ambient/al_pl_riot2.wav
+%%NWNDIR%%/./ambient/al_pl_slumday1.wav
+%%NWNDIR%%/./ambient/al_pl_slumday2.wav
+%%NWNDIR%%/./ambient/al_pl_slumnite.wav
+%%NWNDIR%%/./ambient/al_pl_talkinglrg.wav
+%%NWNDIR%%/./ambient/al_pl_talkingmed.wav
+%%NWNDIR%%/./ambient/al_pl_talkingsml.wav
+%%NWNDIR%%/./ambient/al_pl_tavhubbub1.wav
+%%NWNDIR%%/./ambient/al_pl_tavhubbub2.wav
+%%NWNDIR%%/./ambient/al_pl_templesday.wav
+%%NWNDIR%%/./ambient/al_pl_townday1.wav
+%%NWNDIR%%/./ambient/al_pl_townday2.wav
+%%NWNDIR%%/./ambient/al_pl_townnite.wav
+%%NWNDIR%%/./ambient/al_pl_whispers.wav
+%%NWNDIR%%/./ambient/al_pl_whispersf.wav
+%%NWNDIR%%/./ambient/al_pl_whispersm.wav
+%%NWNDIR%%/./ambient/al_wt_gustcavrn1.wav
+%%NWNDIR%%/./ambient/al_wt_gustchasm1.wav
+%%NWNDIR%%/./ambient/al_wt_gustdraft1.wav
+%%NWNDIR%%/./ambient/al_wt_gustgrass1.wav
+%%NWNDIR%%/./ambient/al_wt_rainhard1.wav
+%%NWNDIR%%/./ambient/al_wt_rainlight1.wav
+%%NWNDIR%%/./ambient/al_wt_stormlg1.wav
+%%NWNDIR%%/./ambient/al_wt_stormsm1.wav
+%%NWNDIR%%/./ambient/al_wt_windmed1.wav
+%%NWNDIR%%/./ambient/al_wt_windsoft1.wav
+%%NWNDIR%%/./ambient/al_wt_windstrng1.wav
+%%NWNDIR%%/./ambient/al_wt_windforst1.wav
+%%NWNDIR%%/./NWNv129.txt
+%%NWNDIR%%/./patch.key
+@unexec rmdir %D/%%NWNDIR%%/. 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./data 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./dmvault 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./localvault 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./docs 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./hak 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./modules 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./music 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./nwm 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./override 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./portraits 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./saves 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./servervault 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./texturepacks 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./ambient 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./logs 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./lib 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./database 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./tempclient 2>/dev/null || true
+
diff --git a/games/nwndata/Makefile b/games/nwndata/Makefile
new file mode 100644
index 000000000000..165a527695ff
--- /dev/null
+++ b/games/nwndata/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: Neverwinter Nights Data
+# Date created: 4 April 2003
+# Whom: Erik Olson <erikolson@olsonexpress.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= linux_nwndata
+PORTVERSION= 1.29
+CATEGORIES= games linux
+MASTER_SITES= # ftp://jeuxlinux.com/bioware/Neverwinter_Nights/
+DISTNAME= nwresources${PORTVERSION:S/.//}
+EXTRACT_ONLY= # Don't extract anything
+
+MAINTAINER= erikolson@olsonexpress.com
+COMMENT= Neverwinter Nights Data Files
+
+ONLY_FOR_ARCHS= i386
+USE_LINUX_PREFIX= yes
+NO_BUILD= yes
+STRIP=
+
+GAMEDIR= ${PREFIX}/usr/games/
+PLIST_SUB+= NWNDIR="/usr/games/nwn/"
+DISTDIRS= ambient data dmvault hak localvault docs \
+ modules music nwm override portraits saves \
+ servervault texturepacks \
+ chitin.key patch.key dialog.tlk nwnplayer.ini nwncdkey.ini
+
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE= You need to download the data files manually. They are big++: 1.2 gigabyte. You can find them at ftp://jeuxlinux.com/bioware/Neverwinter_Nights/ as ${DISTFILES}. Copy them to ${DISTDIR} and run "make" again there.
+.endif
+
+.include <bsd.port.pre.mk>
+
+# Do nothing for the build. Don't set NO_BUILD because of the earlier
+# BUILD_DEPENDS
+do-build:
+
+do-install:
+ cd ${GAMEDIR}; tar xvfz ${DISTDIR}/${DISTNAME}.tar.gz
+
+.include <bsd.port.post.mk>
diff --git a/games/nwndata/distinfo b/games/nwndata/distinfo
new file mode 100644
index 000000000000..1b5f938db5b7
--- /dev/null
+++ b/games/nwndata/distinfo
@@ -0,0 +1 @@
+MD5 (nwresources129.tar.gz) = 8222401efe25235b56d01b38ae880b5b
diff --git a/games/nwndata/pkg-deinstall b/games/nwndata/pkg-deinstall
new file mode 100644
index 000000000000..3fd0a49ecf93
--- /dev/null
+++ b/games/nwndata/pkg-deinstall
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+echo ""
+echo "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:"
+echo ""
+echo "* 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."
+echo "* If you have played Neverwinter nights, your save files and user
+settings will still be there."
+echo ""
+echo "To fully remove this port, you will also need to remove the
+/compat/linux/usr/games/nwn directory."
+
+exit 0
+
diff --git a/games/nwndata/pkg-descr b/games/nwndata/pkg-descr
new file mode 100644
index 000000000000..9cf4a559aa82
--- /dev/null
+++ b/games/nwndata/pkg-descr
@@ -0,0 +1,9 @@
+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
diff --git a/games/nwndata/pkg-install b/games/nwndata/pkg-install
new file mode 100644
index 000000000000..9dd8ade64c39
--- /dev/null
+++ b/games/nwndata/pkg-install
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+if [ "$2" = "POST-INSTALL" -o -n "${BATCH}" -o -n "${PACKAGE_BUILDING}"
+]; then
+ exit 0
+fi
+
+/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
diff --git a/games/nwndata/pkg-plist b/games/nwndata/pkg-plist
new file mode 100644
index 000000000000..d915b3ec16b0
--- /dev/null
+++ b/games/nwndata/pkg-plist
@@ -0,0 +1,251 @@
+%%NWNDIR%%/./dialog.tlk
+%%NWNDIR%%/./data/2da.bif
+%%NWNDIR%%/./data/aurora_gui.bif
+%%NWNDIR%%/./data/aurora_tcn.bif
+%%NWNDIR%%/./data/aurora_tdc.bif
+%%NWNDIR%%/./data/aurora_tde.bif
+%%NWNDIR%%/./data/aurora_tdm.bif
+%%NWNDIR%%/./data/aurora_tds.bif
+%%NWNDIR%%/./data/aurora_tic.bif
+%%NWNDIR%%/./data/aurora_tin.bif
+%%NWNDIR%%/./data/aurora_tms.bif
+%%NWNDIR%%/./data/aurora_ttf.bif
+%%NWNDIR%%/./data/aurora_ttr.bif
+%%NWNDIR%%/./data/convo.bif
+%%NWNDIR%%/./data/editor.bif
+%%NWNDIR%%/./data/ini.bif
+%%NWNDIR%%/./data/loadscreens.bif
+%%NWNDIR%%/./data/misc.bif
+%%NWNDIR%%/./data/models_01.bif
+%%NWNDIR%%/./data/models_02.bif
+%%NWNDIR%%/./data/music.bif
+%%NWNDIR%%/./data/patch.bif
+%%NWNDIR%%/./data/scripts.bif
+%%NWNDIR%%/./data/sounds.bif
+%%NWNDIR%%/./data/templates.bif
+%%NWNDIR%%/./data/textures_01.bif
+%%NWNDIR%%/./data/textures_02.bif
+%%NWNDIR%%/./data/voicesets.bif
+%%NWNDIR%%/./dmvault/dungeonmaster.bic
+%%NWNDIR%%/./localvault/aluviandarkstar.bic
+%%NWNDIR%%/./localvault/claymanorin.bic
+%%NWNDIR%%/./localvault/daeris.bic
+%%NWNDIR%%/./localvault/daevaorn.bic
+%%NWNDIR%%/./localvault/diadanlocke.bic
+%%NWNDIR%%/./localvault/drax.bic
+%%NWNDIR%%/./localvault/freddifurpo.bic
+%%NWNDIR%%/./localvault/frederickgarvin.bic
+%%NWNDIR%%/./localvault/jaindvarkvasirso.bic
+%%NWNDIR%%/./localvault/jinn.bic
+%%NWNDIR%%/./localvault/jolenaleider.bic
+%%NWNDIR%%/./localvault/junoboram.bic
+%%NWNDIR%%/./localvault/kerith.bic
+%%NWNDIR%%/./localvault/kheldaraambarhin.bic
+%%NWNDIR%%/./localvault/laureencelest.bic
+%%NWNDIR%%/./localvault/merrickdupelade.bic
+%%NWNDIR%%/./localvault/ownka.bic
+%%NWNDIR%%/./localvault/raptrethanlis.bic
+%%NWNDIR%%/./localvault/torutaramoku.bic
+%%NWNDIR%%/./localvault/xandraloxdeteste.bic
+%%NWNDIR%%/./localvault/xavierwoo.bic
+%%NWNDIR%%/./localvault/zanzinabru.bic
+%%NWNDIR%%/./docs/NWN_OnlineManual.pdf
+%%NWNDIR%%/./docs/readme.txt
+%%NWNDIR%%/./EULA.txt
+%%NWNDIR%%/./modules/Contest Of Champions 0492.mod
+%%NWNDIR%%/./modules/DEMO - A Bucket of Gnolls.mod
+%%NWNDIR%%/./modules/DEMO - Goblins vs Kobolds.mod
+%%NWNDIR%%/./modules/DEMO - House of Doors.mod
+%%NWNDIR%%/./modules/DEMO - Thar be Rats! Yarrr!.mod
+%%NWNDIR%%/./modules/DEMO - The Cat Lady.mod
+%%NWNDIR%%/./modules/WW1-The Fields of Battle.mod
+%%NWNDIR%%/./modules/WW2-The Witch Hunters.mod
+%%NWNDIR%%/./music/mus_autorun.wav
+%%NWNDIR%%/./music/mus_bat_aribeth.bmu
+%%NWNDIR%%/./music/mus_bat_citboss.bmu
+%%NWNDIR%%/./music/mus_bat_city1.bmu
+%%NWNDIR%%/./music/mus_bat_city2.bmu
+%%NWNDIR%%/./music/mus_bat_city3.bmu
+%%NWNDIR%%/./music/mus_bat_dragon.bmu
+%%NWNDIR%%/./music/mus_bat_dung1.bmu
+%%NWNDIR%%/./music/mus_bat_dung2.bmu
+%%NWNDIR%%/./music/mus_bat_dung3.bmu
+%%NWNDIR%%/./music/mus_bat_endboss.bmu
+%%NWNDIR%%/./music/mus_bat_forboss.bmu
+%%NWNDIR%%/./music/mus_bat_forest1.bmu
+%%NWNDIR%%/./music/mus_bat_forest2.bmu
+%%NWNDIR%%/./music/mus_bat_lizboss.bmu
+%%NWNDIR%%/./music/mus_bat_rural1.bmu
+%%NWNDIR%%/./music/mus_castle.bmu
+%%NWNDIR%%/./music/mus_citydockday.bmu
+%%NWNDIR%%/./music/mus_citydocknite.bmu
+%%NWNDIR%%/./music/mus_citymarket.bmu
+%%NWNDIR%%/./music/mus_citynite.bmu
+%%NWNDIR%%/./music/mus_cityslumday.bmu
+%%NWNDIR%%/./music/mus_cityslumnite.bmu
+%%NWNDIR%%/./music/mus_citywealthy.bmu
+%%NWNDIR%%/./music/mus_crypt1.bmu
+%%NWNDIR%%/./music/mus_crypt2.bmu
+%%NWNDIR%%/./music/mus_evildungeon1.bmu
+%%NWNDIR%%/./music/mus_evildungeon2.bmu
+%%NWNDIR%%/./music/mus_forestday1.bmu
+%%NWNDIR%%/./music/mus_forestday2.bmu
+%%NWNDIR%%/./music/mus_forestnite.bmu
+%%NWNDIR%%/./music/mus_gendungeon1.bmu
+%%NWNDIR%%/./music/mus_mines1.bmu
+%%NWNDIR%%/./music/mus_mines2.bmu
+%%NWNDIR%%/./music/mus_richhouse.bmu
+%%NWNDIR%%/./music/mus_ruralday1.bmu
+%%NWNDIR%%/./music/mus_ruralday2.bmu
+%%NWNDIR%%/./music/mus_ruralnite.bmu
+%%NWNDIR%%/./music/mus_sewer.bmu
+%%NWNDIR%%/./music/mus_store.bmu
+%%NWNDIR%%/./music/mus_tavern1.bmu
+%%NWNDIR%%/./music/mus_tavern2.bmu
+%%NWNDIR%%/./music/mus_tavern3.bmu
+%%NWNDIR%%/./music/mus_tavern4.bmu
+%%NWNDIR%%/./music/mus_templeevil.bmu
+%%NWNDIR%%/./music/mus_templegood.bmu
+%%NWNDIR%%/./music/mus_templegood2.bmu
+%%NWNDIR%%/./music/mus_theme_argend.bmu
+%%NWNDIR%%/./music/mus_theme_aribev.bmu
+%%NWNDIR%%/./music/mus_theme_aribgd.bmu
+%%NWNDIR%%/./music/mus_theme_chap1.bmu
+%%NWNDIR%%/./music/mus_theme_chap2.bmu
+%%NWNDIR%%/./music/mus_theme_chap3.bmu
+%%NWNDIR%%/./music/mus_theme_chap4.bmu
+%%NWNDIR%%/./music/mus_theme_main.bmu
+%%NWNDIR%%/./music/mus_theme_maugrm.bmu
+%%NWNDIR%%/./music/mus_theme_morag.bmu
+%%NWNDIR%%/./music/mus_theme_nwn.bmu
+%%NWNDIR%%/./nwm/Chapter1.nwm
+%%NWNDIR%%/./nwm/Chapter1E.nwm
+%%NWNDIR%%/./nwm/Chapter2.nwm
+%%NWNDIR%%/./nwm/Chapter2E.nwm
+%%NWNDIR%%/./nwm/Chapter3.nwm
+%%NWNDIR%%/./nwm/Chapter4.nwm
+%%NWNDIR%%/./nwm/Prelude.nwm
+%%NWNDIR%%/./override/iit_medkit_001.tga
+%%NWNDIR%%/./override/m1q6f06pedistal.dlg
+%%NWNDIR%%/./override/nw_s2_wholeness.ncs
+%%NWNDIR%%/./override/nw_s2_wholeness.nss
+%%NWNDIR%%/./override/options_sound.gui
+%%NWNDIR%%/./override/serverlist_page1.gui
+%%NWNDIR%%/./texturepacks/GUI_32bit.erf
+%%NWNDIR%%/./texturepacks/Textures_Tpa.erf
+%%NWNDIR%%/./texturepacks/Textures_Tpc.erf
+%%NWNDIR%%/./texturepacks/Tiles_Tpa.erf
+%%NWNDIR%%/./texturepacks/Tiles_Tpb.erf
+%%NWNDIR%%/./texturepacks/Tiles_Tpc.erf
+%%NWNDIR%%/./chitin.key
+%%NWNDIR%%/./ambient/al_an_bughouse1.wav
+%%NWNDIR%%/./ambient/al_an_bughouse2.wav
+%%NWNDIR%%/./ambient/al_an_bugscave1.wav
+%%NWNDIR%%/./ambient/al_an_bugscave2.wav
+%%NWNDIR%%/./ambient/al_an_lizrdflk1.wav
+%%NWNDIR%%/./ambient/al_cv_castleamb1.wav
+%%NWNDIR%%/./ambient/al_cv_castleamb2.wav
+%%NWNDIR%%/./ambient/al_cv_castleamb3.wav
+%%NWNDIR%%/./ambient/al_cv_caveamb1.wav
+%%NWNDIR%%/./ambient/al_cv_caveamb2.wav
+%%NWNDIR%%/./ambient/al_cv_caveamb3.wav
+%%NWNDIR%%/./ambient/al_cv_cryptamb1.wav
+%%NWNDIR%%/./ambient/al_cv_cryptamb2.wav
+%%NWNDIR%%/./ambient/al_cv_cryptamb3.wav
+%%NWNDIR%%/./ambient/al_cv_evldunamb1.wav
+%%NWNDIR%%/./ambient/al_cv_evldunamb2.wav
+%%NWNDIR%%/./ambient/al_cv_evldunamb3.wav
+%%NWNDIR%%/./ambient/al_cv_hauntamb1.wav
+%%NWNDIR%%/./ambient/al_cv_hauntamb2.wav
+%%NWNDIR%%/./ambient/al_cv_hauntamb3.wav
+%%NWNDIR%%/./ambient/al_cv_houseamb1.wav
+%%NWNDIR%%/./ambient/al_cv_houseamb2.wav
+%%NWNDIR%%/./ambient/al_cv_houseamb3.wav
+%%NWNDIR%%/./ambient/al_cv_kitchamb1.wav
+%%NWNDIR%%/./ambient/al_cv_kitchamb2.wav
+%%NWNDIR%%/./ambient/al_cv_mineamb1.wav
+%%NWNDIR%%/./ambient/al_cv_mineamb2.wav
+%%NWNDIR%%/./ambient/al_cv_mineamb3.wav
+%%NWNDIR%%/./ambient/al_cv_seweramb1.wav
+%%NWNDIR%%/./ambient/al_cv_seweramb2.wav
+%%NWNDIR%%/./ambient/al_mg_airlab1.wav
+%%NWNDIR%%/./ambient/al_mg_earthlab1.wav
+%%NWNDIR%%/./ambient/al_mg_firelab1.wav
+%%NWNDIR%%/./ambient/al_mg_magicint1.wav
+%%NWNDIR%%/./ambient/al_mg_magicint2.wav
+%%NWNDIR%%/./ambient/al_mg_magicint3.wav
+%%NWNDIR%%/./ambient/al_mg_magicint4.wav
+%%NWNDIR%%/./ambient/al_mg_pitcry1.wav
+%%NWNDIR%%/./ambient/al_mg_waterlab1.wav
+%%NWNDIR%%/./ambient/al_na_frstdyamb1.wav
+%%NWNDIR%%/./ambient/al_na_frstdyamb2.wav
+%%NWNDIR%%/./ambient/al_na_frstdyamb3.wav
+%%NWNDIR%%/./ambient/al_na_frstdyscr1.wav
+%%NWNDIR%%/./ambient/al_na_frstmagic1.wav
+%%NWNDIR%%/./ambient/al_na_frstntamb1.wav
+%%NWNDIR%%/./ambient/al_na_frstntamb2.wav
+%%NWNDIR%%/./ambient/al_na_frstntscr1.wav
+%%NWNDIR%%/./ambient/al_na_lavalake1.wav
+%%NWNDIR%%/./ambient/al_na_sludglake1.wav
+%%NWNDIR%%/./ambient/al_pl_blacksmith.wav
+%%NWNDIR%%/./ambient/al_pl_riot1.wav
+%%NWNDIR%%/./ambient/al_pl_bordello1.wav
+%%NWNDIR%%/./ambient/al_pl_bordello2.wav
+%%NWNDIR%%/./ambient/al_pl_cityday1.wav
+%%NWNDIR%%/./ambient/al_pl_cityday2.wav
+%%NWNDIR%%/./ambient/al_pl_citynite.wav
+%%NWNDIR%%/./ambient/al_pl_combat1.wav
+%%NWNDIR%%/./ambient/al_pl_combat2.wav
+%%NWNDIR%%/./ambient/al_pl_combatmuf1.wav
+%%NWNDIR%%/./ambient/al_pl_combatmuf2.wav
+%%NWNDIR%%/./ambient/al_pl_marketday.wav
+%%NWNDIR%%/./ambient/al_pl_riot2.wav
+%%NWNDIR%%/./ambient/al_pl_slumday1.wav
+%%NWNDIR%%/./ambient/al_pl_slumday2.wav
+%%NWNDIR%%/./ambient/al_pl_slumnite.wav
+%%NWNDIR%%/./ambient/al_pl_talkinglrg.wav
+%%NWNDIR%%/./ambient/al_pl_talkingmed.wav
+%%NWNDIR%%/./ambient/al_pl_talkingsml.wav
+%%NWNDIR%%/./ambient/al_pl_tavhubbub1.wav
+%%NWNDIR%%/./ambient/al_pl_tavhubbub2.wav
+%%NWNDIR%%/./ambient/al_pl_templesday.wav
+%%NWNDIR%%/./ambient/al_pl_townday1.wav
+%%NWNDIR%%/./ambient/al_pl_townday2.wav
+%%NWNDIR%%/./ambient/al_pl_townnite.wav
+%%NWNDIR%%/./ambient/al_pl_whispers.wav
+%%NWNDIR%%/./ambient/al_pl_whispersf.wav
+%%NWNDIR%%/./ambient/al_pl_whispersm.wav
+%%NWNDIR%%/./ambient/al_wt_gustcavrn1.wav
+%%NWNDIR%%/./ambient/al_wt_gustchasm1.wav
+%%NWNDIR%%/./ambient/al_wt_gustdraft1.wav
+%%NWNDIR%%/./ambient/al_wt_gustgrass1.wav
+%%NWNDIR%%/./ambient/al_wt_rainhard1.wav
+%%NWNDIR%%/./ambient/al_wt_rainlight1.wav
+%%NWNDIR%%/./ambient/al_wt_stormlg1.wav
+%%NWNDIR%%/./ambient/al_wt_stormsm1.wav
+%%NWNDIR%%/./ambient/al_wt_windmed1.wav
+%%NWNDIR%%/./ambient/al_wt_windsoft1.wav
+%%NWNDIR%%/./ambient/al_wt_windstrng1.wav
+%%NWNDIR%%/./ambient/al_wt_windforst1.wav
+%%NWNDIR%%/./NWNv129.txt
+%%NWNDIR%%/./patch.key
+@unexec rmdir %D/%%NWNDIR%%/. 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./data 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./dmvault 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./localvault 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./docs 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./hak 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./modules 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./music 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./nwm 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./override 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./portraits 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./saves 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./servervault 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./texturepacks 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./ambient 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./logs 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./lib 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./database 2>/dev/null || true
+@unexec rmdir %D/%%NWNDIR%%/./tempclient 2>/dev/null || true
+