Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 19148
Collapse All | Expand All

(-)nwn-1.29_beta6.ebuild (-12 / +11 lines)
Lines 7-33 Link Here
7
MY_P="nwclient${MY_PV}"
7
MY_P="nwclient${MY_PV}"
8
DESCRIPTION="Never Winter Nights - linux version (ATTENTION: You need an installed version of NWN)"
8
DESCRIPTION="Never Winter Nights - linux version (ATTENTION: You need an installed version of NWN)"
9
HOMEPAGE="http://nwn.bioware.com/downloads/linuxclient.html"
9
HOMEPAGE="http://nwn.bioware.com/downloads/linuxclient.html"
10
10
SRC_URI="${MY_P}.tar.gz"
11
SLOT="0"
11
SLOT="0"
12
KEYWORDS="~x86"
12
KEYWORDS="~x86"
13
LICENSE="LGPL-2.1"
13
LICENSE="LGPL-2.1"
14
RESTRICT="nostrip"
14
RESTRICT="nostrip nomirror fetch"
15
15
16
RDEPEND="virtual/x11
16
RDEPEND="virtual/x11
17
	opengl? ( virtual/opengl )
17
	opengl? ( virtual/opengl )
18
	>=media-libs/libsdl-1.2.5"
18
	>=media-libs/libsdl-1.2.5"
19
19
20
src_unpack () {
20
pkg_nofetch () {
21
	if [ ! -e "${DISTDIR}/${MY_P}.tar.gz" ] ; then
21
	eerror ""
22
		eerror ""
22
	eerror "Please download the linux client package (${MY_P}.tar.gz)"
23
		eerror "Please download the linux client package (${MY_P}.tar.gz)"
23
	eerror "from: ${HOMEPAGE} (requires a free account)."
24
		eerror "from: ${HOMEPAGE} (requires a free account)."
24
	eerror ""
25
		eerror ""
25
	eerror "The archive should be placed into ${DISTDIR}."
26
		eerror "The archive should be placed into ${DISTDIR}."
26
	eerror ""
27
		eerror ""
27
}
28
28
29
		die "package archive (${MY_P}.tar.gz) not found"
29
src_unpack () {
30
	fi
31
	unpack "${MY_P}.tar.gz"
30
	unpack "${MY_P}.tar.gz"
32
}
31
}
33
32

Return to bug 19148