summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-11-05 19:04:55 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-11-05 19:04:55 +0000
commit07f818746f350c70b0b4c94f98c45a616e1fd182 (patch)
tree376150ebe3d881ae3d4f9871e4c0db572853171d /games-strategy
parentalpha/ia64/s390/sh/sparc stable wrt #387573 (diff)
downloadhistorical-07f818746f350c70b0b4c94f98c45a616e1fd182.tar.gz
historical-07f818746f350c70b0b4c94f98c45a616e1fd182.tar.bz2
historical-07f818746f350c70b0b4c94f98c45a616e1fd182.zip
Add doc useflag.
Package-Manager: portage-2.2.0_alpha72/cvs/Linux x86_64
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/openxcom/ChangeLog5
-rw-r--r--games-strategy/openxcom/Manifest30
-rw-r--r--games-strategy/openxcom/openxcom-9999.ebuild19
3 files changed, 32 insertions, 22 deletions
diff --git a/games-strategy/openxcom/ChangeLog b/games-strategy/openxcom/ChangeLog
index ef4667c394f1..3a21df97e7aa 100644
--- a/games-strategy/openxcom/ChangeLog
+++ b/games-strategy/openxcom/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/openxcom
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/openxcom/ChangeLog,v 1.2 2011/11/05 10:59:19 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/openxcom/ChangeLog,v 1.3 2011/11/05 19:04:55 scarabeus Exp $
+
+ 05 Nov 2011; Tomáš Chvátal <scarabeus@gentoo.org> openxcom-9999.ebuild:
+ Add doc useflag.
05 Nov 2011; Tomáš Chvátal <scarabeus@gentoo.org> openxcom-9999.ebuild:
Disable werror.
diff --git a/games-strategy/openxcom/Manifest b/games-strategy/openxcom/Manifest
index a03a71586ce0..135abc288f1e 100644
--- a/games-strategy/openxcom/Manifest
+++ b/games-strategy/openxcom/Manifest
@@ -1,23 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-EBUILD openxcom-9999.ebuild 1007 RMD160 8a80a856559f5fa261d59f3e15dc9a9a7f6303af SHA1 1ea2660329ca70d8f2276e2b680c375c14f41d70 SHA256 6941ab1bd79c16c2227c89be04df9d85636c67d49fd1d3038b8e1d1562072586
-MISC ChangeLog 537 RMD160 4ae404084772ec2086101c57c7cbf87cef2b9f58 SHA1 4fea5c2aea18f5170d4eda49182e78154552143b SHA256 75cb51f2f46b85aa81e4185732c2d81eb98e5e454ec1a27421988546fe157733
+EBUILD openxcom-9999.ebuild 1147 RMD160 d1dd61588b7d0a2da953e23b3577b14126f8d07e SHA1 787751ccbd546882e39927a5d609a55dff523f88 SHA256 f812ab9a32c45f6d00f4c77c50e9369788d8459fc1a0067b2db32f449b21495c
+MISC ChangeLog 634 RMD160 becfdb1a2ef34dd5345ace53e4cbc5f869814e54 SHA1 8e21085fafae51786b18654f00aa5953a3ed90e1 SHA256 ceb480a573ceed8a74d530b00001cdc281850ac0110e0395ee144ab04256029f
MISC metadata.xml 253 RMD160 710bbee1aa59614120d2577161e72b7cf5d04ac7 SHA1 a942e370d87da04b7a83f23ceb1dadfc58920dfc SHA256 20fec3d073189c5e3892982ebd916d53cd3e2df32b2fa84f387d0ef0b76205c2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQIcBAEBAgAGBQJOtRb8AAoJEOSiRoyO7jvo1KAQAIQBN3z/K/s5baxyo39qI3Nu
-3xBedPKf2vO+5/WUEtxI7FNdqY8ugVb/sEKUzs0mte6laxGgEAC9xV2haHZxzEEU
-G9Xfbg36wtssNaPr5UJ7ChrKMNbLFEY2WkNsvknvTqItN1b/lEW9uOFokdJxPvwt
-r2I2YLGo/VqtyVXQ7idQ7W3uLMZ8ES39yUSAL3WKvR8asiJ9NiIQ95QDfp+MoGE7
-LQEgJt1nfd8+fvUcVDxOTKXi9rctlNsgEXpcaMZoBu5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7kDwP29uycayDlv
+z1+Z9mGBwu2gdFfAB0NUrOwJgJ4X7TKZhNP6Zgufe5REhwViz9CpY+D/aF5ilTF/
+3h3GmqJ+qS1eUyW0ZetB
+=SX/m
-----END PGP SIGNATURE-----
diff --git a/games-strategy/openxcom/openxcom-9999.ebuild b/games-strategy/openxcom/openxcom-9999.ebuild
index a7e715f8c886..5384630c757e 100644
--- a/games-strategy/openxcom/openxcom-9999.ebuild
+++ b/games-strategy/openxcom/openxcom-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/openxcom/openxcom-9999.ebuild,v 1.2 2011/11/05 10:59:19 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/openxcom/openxcom-9999.ebuild,v 1.3 2011/11/05 19:04:55 scarabeus Exp $
EAPI=3
@@ -16,15 +16,17 @@ HOMEPAGE="http://openxcom.org/"
LICENSE="GPL-3"
SLOT="0"
[[ ${PV} = 9999 ]] || KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
+IUSE="doc"
-DEPEND="
+RDEPEND="
dev-cpp/yaml-cpp
media-libs/libsdl
media-libs/sdl-gfx
media-libs/sdl-mixer
"
-RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+ doc? ( app-doc/doxygen )
+"
src_prepare() {
[[ ${PV} = 9999 ]] && eautoreconf
@@ -32,13 +34,18 @@ src_prepare() {
src_configure() {
egamesconf \
- --disable-werror
+ --disable-werror \
+ $(use_with doc docs)
}
src_install() {
emake DESTDIR="${ED}" install || die
+ if [[ -e "${S}"/ChangeLog ]]; then
+ dodoc "${S}"/ChangeLog || die "dodoc failed"
+ fi
+
elog "Remember to put X-Com data to proper location:"
- elog " ${ED}/usr/share/${PN}/"
+ elog " ${ED}/usr/share/${PN}/"
prepgamesdirs
}