Bug 68501 - NWN Community Expansion Pack ebuild request
Bug#: 68501 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: dju@gentoo.org
Component: Games
URL:  http://nwn.bioware.com/players/cep.html
Summary: NWN Community Expansion Pack ebuild request
Keywords:  
Status Whiteboard: 
Opened: 2004-10-21 23:47 0000
Description:   Opened: 2004-10-21 23:47 0000
NWN CEP 1.50 is out. CEP is a single package containing the highest-rated
player community-developed content available to date. It would be interesting
to have an ebuild for this.

------- Comment #1 From Kai Zimmermann (RETIRED) 2004-11-12 09:34:41 0000 -------
Created an attachment (id=43794) [details]
nwn-cep-1.5.ebuild

This little fellow should fix the bug. I'm not pretty shure that using "doins"
is a wise idea. "mv" could do this a lot faster (if they are in the same fs).
However, I decided to have a good looking ebuild instead of performance :)

kai

------- Comment #2 From Kai Zimmermann (RETIRED) 2004-11-12 09:35:52 0000 -------
I should mention that the proposed ebuild depends on nwn-1.64, so there is a
new dependency to this bug.

kai

------- Comment #3 From Sébastien Champigny 2004-12-18 01:30:14 0000 -------
Works for me on x86.
Thank you for the good work.

------- Comment #4 From SpanKY 2004-12-30 02:32:03 0000 -------
Created an attachment (id=47197) [details]
nwn-cep-1.50.ebuild

please try this version

we tend to use 'mv' instead of 'doins' when dealing with large games ... saves
on space / speed

also, you should note that `doins` can take multiple arguements, so you could
have just done `doins *.hak`

------- Comment #5 From Keri Harris 2005-01-19 19:54:59 0000 -------
SpanKY, your ebuild does not install files into their respective directories:

- *.hak files need to go into "${GAMES_PREFIX_OPT}/nwn/hak/"
- Live/* files also need to go into "${GAMES_PREFIX_OPT}/nwn/hak/"
- cep.tlk needs to go into "${GAMES_PREFIX_OPT}/nwn/tlk/"
- *.mod files need to go into "${GAMES_PREFIX_OPT}/nwn/modules/"
- *.pdf and *.txt files could go into "${GAMES_PREFIX_OPT}/nwn/cep/" ?

The rar file also contains SoU/* and HotU/* hak files. These are used instead of the Live/* hak files only in the case that the user has the SoU or HotU expansion packs.
It may be worthwhile to install these somewhere ("${GAMES_PREFIX_OPT}/nwn/cep/" ?) and instruct the user where to move them in the event they obtain the expansion packs.

------- Comment #6 From SpanKY 2005-01-19 20:09:04 0000 -------
Created an attachment (id=49012) [details]
nwn-cep-1.50.ebuild

try this then please

------- Comment #7 From Keri Harris 2005-01-19 22:20:03 0000 -------
Thanks SpanKY. The only change I had to make was 'unrar x ${DISTDIR}/${A}' in
src_unpack.
Other than that, the ebuild installs everything appropriately.

------- Comment #8 From SpanKY 2005-01-19 22:25:55 0000 -------
awesome :)

if you could post the digest file for the ebuild, i'll add this to portage ...

------- Comment #9 From Keri Harris 2005-01-19 22:41:00 0000 -------
Created an attachment (id=49016) [details]
digest-nwn-cep-1.50

------- Comment #10 From SpanKY 2005-01-19 22:51:57 0000 -------
now in portage, thanks ! :)