From: | "Michael Sterrett (mr_bones_)" <mr_bones_@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-puzzle/sgt-puzzles: sgt-puzzles-9023.ebuild ChangeLog |
Date: | Sun, 28 Nov 2010 05:52:40 |
Message-Id: | 20101128055231.4212120051@flycatcher.gentoo.org |
1 | mr_bones_ 10/11/28 05:52:31 |
2 | |
3 | Modified: ChangeLog |
4 | Added: sgt-puzzles-9023.ebuild |
5 | Log: |
6 | version bump (bug #346831) |
7 | |
8 | (Portage version: 2.1.9.24/cvs/Linux i686) |
9 | |
10 | Revision Changes Path |
11 | 1.8 games-puzzle/sgt-puzzles/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/sgt-puzzles/ChangeLog?rev=1.8&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/sgt-puzzles/ChangeLog?rev=1.8&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/sgt-puzzles/ChangeLog?r1=1.7&r2=1.8 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/games-puzzle/sgt-puzzles/ChangeLog,v |
20 | retrieving revision 1.7 |
21 | retrieving revision 1.8 |
22 | diff -u -r1.7 -r1.8 |
23 | --- ChangeLog 21 Sep 2010 20:31:58 -0000 1.7 |
24 | +++ ChangeLog 28 Nov 2010 05:52:31 -0000 1.8 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for games-puzzle/sgt-puzzles |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/sgt-puzzles/ChangeLog,v 1.7 2010/09/21 20:31:58 hwoarang Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/sgt-puzzles/ChangeLog,v 1.8 2010/11/28 05:52:31 mr_bones_ Exp $ |
30 | + |
31 | +*sgt-puzzles-9023 (28 Nov 2010) |
32 | + |
33 | + 28 Nov 2010; Michael Sterrett <mr_bones_@g.o> |
34 | + +sgt-puzzles-9023.ebuild, +files/sgt-puzzles-9023-gentoo.patch: |
35 | + version bump (bug #346831) |
36 | |
37 | 21 Sep 2010; Markos Chandras <hwoarang@g.o> |
38 | sgt-puzzles-8972.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 games-puzzle/sgt-puzzles/sgt-puzzles-9023.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/sgt-puzzles/sgt-puzzles-9023.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/sgt-puzzles/sgt-puzzles-9023.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: sgt-puzzles-9023.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/games-puzzle/sgt-puzzles/sgt-puzzles-9023.ebuild,v 1.1 2010/11/28 05:52:31 mr_bones_ Exp $ |
52 | |
53 | EAPI=2 |
54 | inherit eutils toolchain-funcs games |
55 | if [[ ${PV} == "99999999" ]] ; then |
56 | ESVN_REPO_URI="svn://svn.tartarus.org/sgt/puzzles" |
57 | inherit subversion |
58 | SRC_URI="" |
59 | KEYWORDS="" |
60 | else |
61 | SRC_URI="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-r${PV}.tar.gz" |
62 | S=${WORKDIR}/puzzles-r${PV} |
63 | KEYWORDS="~amd64 ~x86" |
64 | fi |
65 | |
66 | DESCRIPTION="Simon Tatham's Portable Puzzle Collection" |
67 | HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/" |
68 | |
69 | LICENSE="MIT" |
70 | SLOT="0" |
71 | IUSE="doc" |
72 | |
73 | RDEPEND="x11-libs/gtk+:2" |
74 | DEPEND="${RDEPEND} |
75 | dev-lang/perl |
76 | dev-util/pkgconfig |
77 | doc? ( >=app-doc/halibut-1.0 )" |
78 | |
79 | src_prepare() { |
80 | epatch "${FILESDIR}"/${P}-gentoo.patch |
81 | ./mkfiles.pl |
82 | sed -i \ |
83 | -e 's:= -O2 -Wall -Werror -ansi -pedantic -g:= $(CPPFLAGS):' \ |
84 | -e '/LDFLAGS/s:=:=$(LDFLAGS) :' \ |
85 | Makefile || die |
86 | } |
87 | |
88 | src_compile() { |
89 | emake CC="$(tc-getCC)" || die |
90 | if use doc ; then |
91 | halibut --text --html --info --pdf --ps puzzles.but |
92 | fi |
93 | } |
94 | |
95 | src_install() { |
96 | dodir "${GAMES_BINDIR}" |
97 | emake DESTDIR="${D}" gamesdir="${GAMES_BINDIR}" install || die |
98 | dodoc README HACKING |
99 | |
100 | local file name |
101 | for file in *.R ; do |
102 | [[ ${file} == "nullgame.R" ]] && continue |
103 | name=$(sed -n 's/^[a-z]*\.exe://p' "${file}") |
104 | file=${file%.R} |
105 | if [[ ${PV} -lt 99999999 ]] ; then |
106 | newicon icons/${file}-48d24.png ${PN}-${file}.png || die |
107 | make_desktop_entry "${GAMES_BINDIR}/${file}" "${name}" "${PN}-${file}" |
108 | else |
109 | # No icons with the live version |
110 | make_desktop_entry "${GAMES_BINDIR}/${file}" "${name}" |
111 | fi |
112 | done |
113 | |
114 | dodoc puzzles.txt puzzles.chm |
115 | if use doc ; then |
116 | dohtml *.html |
117 | doinfo puzzles.info |
118 | dodoc puzzles.pdf puzzles.ps |
119 | fi |
120 | |
121 | prepgamesdirs |
122 | } |