/[gentoo-x86]/games-action/postalplus/postalplus-1.ebuild
Gentoo

Contents of /games-action/postalplus/postalplus-1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Jan 16 19:09:15 2012 UTC (2 years, 11 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -4 lines
Migrate to cdrom.eclass, bug 398809.

(Portage version: 2.1.10.44/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-action/postalplus/postalplus-1.ebuild,v 1.4 2011/12/14 17:13:13 vapier Exp $
4
5 inherit eutils cdrom games
6
7 DESCRIPTION="Ultraviolent and controversial game featuring the Postal Dude"
8 HOMEPAGE="http://www.lokigames.com/products/postal/"
9 SRC_URI=""
10
11 LICENSE="LOKI-EULA"
12 SLOT="0"
13 KEYWORDS="~x86"
14 IUSE=""
15 RESTRICT="strip"
16
17 S=${WORKDIR}
18
19 src_install() {
20 local dir=${GAMES_PREFIX_OPT}/${PN}
21
22 cdrom_get_cds postal_plus.ini
23 exeinto "${dir}"
24 doexe "${CDROM_ROOT}"/bin/x86/postal || die
25 insinto "${dir}"
26 doins "${CDROM_ROOT}"/{icon.{bmp,xpm},postal_plus.ini,README} || die
27 cp "${CDROM_ROOT}"/icon.xpm ${PN}.xpm || die
28
29 cp -r "${CDROM_ROOT}"/res "${D}${dir}" || die "cp data failed"
30 find "${D}" -name TRANS.TBL -exec rm '{}' +
31
32 games_make_wrapper ${PN} ./postal "${dir}"
33 doicon ${PN}.xpm
34 make_desktop_entry ${PN} "Postal Plus" ${PN}
35
36 prepgamesdirs
37 }

  ViewVC Help
Powered by ViewVC 1.1.20