summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/freeciv')
-rw-r--r--games-strategy/freeciv/Manifest108
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-2.0.0_beta62
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-2.0.0_beta72
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-2.0.11
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-2.0.76
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-2.0.8-r16
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-200503182
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-200503252
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-200504082
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-200504132
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-200504142
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-200504152
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-200504212
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-200504252
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-200504292
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-200504302
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-99993
-rw-r--r--games-strategy/freeciv/files/freeciv-2.0.8-DoS.patch26
-rw-r--r--games-strategy/freeciv/files/freeciv-20050318.ebuild91
-rw-r--r--games-strategy/freeciv/files/freeciv-20050325.ebuild91
-rw-r--r--games-strategy/freeciv/files/freeciv-20050408.ebuild91
-rw-r--r--games-strategy/freeciv/files/freeciv-20050413.ebuild91
-rw-r--r--games-strategy/freeciv/files/freeciv-20050414.ebuild91
-rw-r--r--games-strategy/freeciv/files/freeciv-20050415.ebuild91
-rw-r--r--games-strategy/freeciv/files/freeciv-20050421.ebuild91
-rw-r--r--games-strategy/freeciv/files/freeciv-20050425.ebuild91
-rw-r--r--games-strategy/freeciv/files/freeciv-20050429.ebuild163
-rw-r--r--games-strategy/freeciv/files/freeciv-20050430.ebuild163
-rw-r--r--games-strategy/freeciv/files/freeciv.pngbin0 -> 3657 bytes
-rw-r--r--games-strategy/freeciv/freeciv-2.0.0_beta6.ebuild91
-rw-r--r--games-strategy/freeciv/freeciv-2.0.0_beta7.ebuild91
-rw-r--r--games-strategy/freeciv/freeciv-2.0.1.ebuild169
-rw-r--r--games-strategy/freeciv/freeciv-2.0.7.ebuild158
-rw-r--r--games-strategy/freeciv/freeciv-2.0.8-r1.ebuild192
-rw-r--r--games-strategy/freeciv/freeciv-9999.ebuild192
-rw-r--r--games-strategy/freeciv/freeciv-9999.ebuild.old178
-rw-r--r--games-strategy/freeciv/freeciv-9999.ebuild.or192
-rw-r--r--games-strategy/freeciv/stdsounds.soundspec262
38 files changed, 2753 insertions, 0 deletions
diff --git a/games-strategy/freeciv/Manifest b/games-strategy/freeciv/Manifest
new file mode 100644
index 0000000..32a43fc
--- /dev/null
+++ b/games-strategy/freeciv/Manifest
@@ -0,0 +1,108 @@
+AUX freeciv-2.0.8-DoS.patch 1065 RMD160 f4a383a17a6508f7e95966d63bc03785156398e8 SHA1 9106687bf60cc1d321d57277e8a465402d85b99b SHA256 c3e3f83440b581aea1d2d9f46f10f4daeded8fa0f822f974439c6a7d783b190a
+MD5 6f66d4ce889a078a7a154b6e5c9842c9 files/freeciv-2.0.8-DoS.patch 1065
+RMD160 f4a383a17a6508f7e95966d63bc03785156398e8 files/freeciv-2.0.8-DoS.patch 1065
+SHA256 c3e3f83440b581aea1d2d9f46f10f4daeded8fa0f822f974439c6a7d783b190a files/freeciv-2.0.8-DoS.patch 1065
+AUX freeciv-20050318.ebuild 2193 RMD160 57c33dffe1d2381a7591f71fd04e8c8f2702ae22 SHA1 d6cd86cd134fdb265f0d7b981c23bd1f1ec7c292 SHA256 ab57117fc8c954dfc55fd7abf7aac51001f1c47a1ccc56416929f1dfb22fe8e9
+MD5 a0fa10b1e2168bd4826bce0e145c4051 files/freeciv-20050318.ebuild 2193
+RMD160 57c33dffe1d2381a7591f71fd04e8c8f2702ae22 files/freeciv-20050318.ebuild 2193
+SHA256 ab57117fc8c954dfc55fd7abf7aac51001f1c47a1ccc56416929f1dfb22fe8e9 files/freeciv-20050318.ebuild 2193
+AUX freeciv-20050325.ebuild 2193 RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 SHA1 46c52e56ead05c059e69041643fea6b4ae89dd0e SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0
+MD5 b97bbbc31cdbd7bf8fbd3f3c481cab0b files/freeciv-20050325.ebuild 2193
+RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 files/freeciv-20050325.ebuild 2193
+SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0 files/freeciv-20050325.ebuild 2193
+AUX freeciv-20050408.ebuild 2193 RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 SHA1 46c52e56ead05c059e69041643fea6b4ae89dd0e SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0
+MD5 b97bbbc31cdbd7bf8fbd3f3c481cab0b files/freeciv-20050408.ebuild 2193
+RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 files/freeciv-20050408.ebuild 2193
+SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0 files/freeciv-20050408.ebuild 2193
+AUX freeciv-20050413.ebuild 2193 RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 SHA1 46c52e56ead05c059e69041643fea6b4ae89dd0e SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0
+MD5 b97bbbc31cdbd7bf8fbd3f3c481cab0b files/freeciv-20050413.ebuild 2193
+RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 files/freeciv-20050413.ebuild 2193
+SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0 files/freeciv-20050413.ebuild 2193
+AUX freeciv-20050414.ebuild 2193 RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 SHA1 46c52e56ead05c059e69041643fea6b4ae89dd0e SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0
+MD5 b97bbbc31cdbd7bf8fbd3f3c481cab0b files/freeciv-20050414.ebuild 2193
+RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 files/freeciv-20050414.ebuild 2193
+SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0 files/freeciv-20050414.ebuild 2193
+AUX freeciv-20050415.ebuild 2193 RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 SHA1 46c52e56ead05c059e69041643fea6b4ae89dd0e SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0
+MD5 b97bbbc31cdbd7bf8fbd3f3c481cab0b files/freeciv-20050415.ebuild 2193
+RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 files/freeciv-20050415.ebuild 2193
+SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0 files/freeciv-20050415.ebuild 2193
+AUX freeciv-20050421.ebuild 2193 RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 SHA1 46c52e56ead05c059e69041643fea6b4ae89dd0e SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0
+MD5 b97bbbc31cdbd7bf8fbd3f3c481cab0b files/freeciv-20050421.ebuild 2193
+RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 files/freeciv-20050421.ebuild 2193
+SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0 files/freeciv-20050421.ebuild 2193
+AUX freeciv-20050425.ebuild 2193 RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 SHA1 46c52e56ead05c059e69041643fea6b4ae89dd0e SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0
+MD5 b97bbbc31cdbd7bf8fbd3f3c481cab0b files/freeciv-20050425.ebuild 2193
+RMD160 400d3ef956ec5699d03b6afdab593d9024a67e87 files/freeciv-20050425.ebuild 2193
+SHA256 d7ee2d49d7363c1a325a74216912fad85b46649677e2ee19abe23b46d2e43bf0 files/freeciv-20050425.ebuild 2193
+AUX freeciv-20050429.ebuild 4677 RMD160 36c686dd220b38083901aef82ac5d998390e1236 SHA1 bc6d023665cad87dc90a590b574f35336d499155 SHA256 e5669862404094ff0a026f31421388071ef89f9bcd2769c662f23240ce39cf09
+MD5 318b7e024d9e1344911d5e055d8ef0f7 files/freeciv-20050429.ebuild 4677
+RMD160 36c686dd220b38083901aef82ac5d998390e1236 files/freeciv-20050429.ebuild 4677
+SHA256 e5669862404094ff0a026f31421388071ef89f9bcd2769c662f23240ce39cf09 files/freeciv-20050429.ebuild 4677
+AUX freeciv-20050430.ebuild 4677 RMD160 36c686dd220b38083901aef82ac5d998390e1236 SHA1 bc6d023665cad87dc90a590b574f35336d499155 SHA256 e5669862404094ff0a026f31421388071ef89f9bcd2769c662f23240ce39cf09
+MD5 318b7e024d9e1344911d5e055d8ef0f7 files/freeciv-20050430.ebuild 4677
+RMD160 36c686dd220b38083901aef82ac5d998390e1236 files/freeciv-20050430.ebuild 4677
+SHA256 e5669862404094ff0a026f31421388071ef89f9bcd2769c662f23240ce39cf09 files/freeciv-20050430.ebuild 4677
+AUX freeciv.png 3657 RMD160 6f283d6031b7b4ae3da21ddd5145084f147a7acd SHA1 929520ea26f3e3093f8ab1984ffd61c99c154511 SHA256 50af34df5f43fb90844561ea5f91bbf1fbb762d15ea56811e39c7ad3f2cc0160
+MD5 42ae5aa07b3e176f81dfa905bcc0eb4f files/freeciv.png 3657
+RMD160 6f283d6031b7b4ae3da21ddd5145084f147a7acd files/freeciv.png 3657
+SHA256 50af34df5f43fb90844561ea5f91bbf1fbb762d15ea56811e39c7ad3f2cc0160 files/freeciv.png 3657
+DIST freeciv-2.0.0-beta6.tar.bz2 8202213
+DIST freeciv-2.0.0-beta7.tar.bz2 8425168
+DIST freeciv-2.0.7.tar.bz2 8473763 RMD160 5cdc70f1c3fc67180edeb905eda75b245cf412e2 SHA1 4b4a7f2169e5cc8c3b1db79177c721d75e9e8f23 SHA256 2d578418b5be354eabb31b754e3617f837090bccea9e03b6da4593e06361e798
+DIST freeciv-2.0.8.tar.bz2 8535513 RMD160 7ab93442cf63db22e9e660d2c1955990a1376d26 SHA1 b9098dc46ed169e053f9c7405cc3abf9cebe9792 SHA256 85b396c86f977b85f03fa1309733d21f7cc953e005ff1475f9981b77fa9f28f3
+DIST stdsounds2.tar.gz 1223738
+DIST stdsounds3.tar.gz 118278 RMD160 46bb5fef4b2d3acf9959b3228c962bdf6591ea09 SHA1 103d02a0702687fb038f5187a321f8074b4ebfb5 SHA256 a3cc2be93c006c3a9492349aa4552bf059e45efc94135f09241877c221ae1bfa
+EBUILD freeciv-2.0.0_beta6.ebuild 2181 RMD160 b9320b3ba62b7381fc80cf6b2a1d6e62ec3d28d2 SHA1 99243b4f75967dfbc4892eccb26f4e9b6173b042 SHA256 74539808f96b05e14dd04e73bde3f492f3d4a73543eb4bc11476fa84521abce0
+MD5 db8c9286aacbbc1408cae6f32aad47a2 freeciv-2.0.0_beta6.ebuild 2181
+RMD160 b9320b3ba62b7381fc80cf6b2a1d6e62ec3d28d2 freeciv-2.0.0_beta6.ebuild 2181
+SHA256 74539808f96b05e14dd04e73bde3f492f3d4a73543eb4bc11476fa84521abce0 freeciv-2.0.0_beta6.ebuild 2181
+EBUILD freeciv-2.0.0_beta7.ebuild 2181 RMD160 b9320b3ba62b7381fc80cf6b2a1d6e62ec3d28d2 SHA1 99243b4f75967dfbc4892eccb26f4e9b6173b042 SHA256 74539808f96b05e14dd04e73bde3f492f3d4a73543eb4bc11476fa84521abce0
+MD5 db8c9286aacbbc1408cae6f32aad47a2 freeciv-2.0.0_beta7.ebuild 2181
+RMD160 b9320b3ba62b7381fc80cf6b2a1d6e62ec3d28d2 freeciv-2.0.0_beta7.ebuild 2181
+SHA256 74539808f96b05e14dd04e73bde3f492f3d4a73543eb4bc11476fa84521abce0 freeciv-2.0.0_beta7.ebuild 2181
+EBUILD freeciv-2.0.1.ebuild 4569 RMD160 a4af621031c83ff98473afb297fe33bec986965b SHA1 a260b5f1cdf20a9a1b7bbd065b05544d66df9f46 SHA256 184a3f608b418c71c664eeccbe44dbcb5f880ee4e39194477f9407a59f2073e1
+MD5 80e78e916ce342288f15516911a8f3e5 freeciv-2.0.1.ebuild 4569
+RMD160 a4af621031c83ff98473afb297fe33bec986965b freeciv-2.0.1.ebuild 4569
+SHA256 184a3f608b418c71c664eeccbe44dbcb5f880ee4e39194477f9407a59f2073e1 freeciv-2.0.1.ebuild 4569
+EBUILD freeciv-2.0.7.ebuild 4304 RMD160 9b9ebb42bd695932f9042a985400ba78037bdf80 SHA1 3d4e7af407d9df33729d0c47bbce0bf39bb1fd6b SHA256 938de112f1b3648bcbeff47ca8ba1bd6c2d2d7577eba6d0a88d358e58e74fe85
+MD5 e36c2ec015e11570c7ad9e8950d3cc3b freeciv-2.0.7.ebuild 4304
+RMD160 9b9ebb42bd695932f9042a985400ba78037bdf80 freeciv-2.0.7.ebuild 4304
+SHA256 938de112f1b3648bcbeff47ca8ba1bd6c2d2d7577eba6d0a88d358e58e74fe85 freeciv-2.0.7.ebuild 4304
+EBUILD freeciv-2.0.8-r1.ebuild 5169 RMD160 8e685496b6c5ab5e668866553b4f93d61ebb4182 SHA1 5d8387235396cb6672f8a80d8a49472cd4bedc99 SHA256 1d969873db3c175b4d9b619fa837ada2e73914e8a5b13d373a5264f108f59b30
+MD5 9f1ac12d3d352cf98d389ba714be570f freeciv-2.0.8-r1.ebuild 5169
+RMD160 8e685496b6c5ab5e668866553b4f93d61ebb4182 freeciv-2.0.8-r1.ebuild 5169
+SHA256 1d969873db3c175b4d9b619fa837ada2e73914e8a5b13d373a5264f108f59b30 freeciv-2.0.8-r1.ebuild 5169
+EBUILD freeciv-9999.ebuild 5037 RMD160 50b49c69b1d1daa9bc221ac2fc8df6e7c7276c4a SHA1 29e9b60d7f55a5e0985220fc1f58fbf6078a46f7 SHA256 a1cd526734658d9a43ab0919204f4074f31637e437db43b35693c04d4e412f06
+MD5 3f67ba556a5ec3b13cf4d7c879e8436f freeciv-9999.ebuild 5037
+RMD160 50b49c69b1d1daa9bc221ac2fc8df6e7c7276c4a freeciv-9999.ebuild 5037
+SHA256 a1cd526734658d9a43ab0919204f4074f31637e437db43b35693c04d4e412f06 freeciv-9999.ebuild 5037
+MISC freeciv-9999.ebuild.old 4736 RMD160 c7a643c22e88937c198b924ffbf956b881a488c6 SHA1 21e2bfae02f59054475674c2827dc093885cde83 SHA256 a0e50dc3bb92d3048c2450c109569c9f6c4a0e4409da29e2703a6a229c6e1fe6
+MD5 d38a30e0a4753d811833331daabb8674 freeciv-9999.ebuild.old 4736
+RMD160 c7a643c22e88937c198b924ffbf956b881a488c6 freeciv-9999.ebuild.old 4736
+SHA256 a0e50dc3bb92d3048c2450c109569c9f6c4a0e4409da29e2703a6a229c6e1fe6 freeciv-9999.ebuild.old 4736
+MISC freeciv-9999.ebuild.or 5060 RMD160 136d3bef73589bb38ebb37b57b8e5b7e7eb3f1b7 SHA1 9195a53f90b93d4ee4b2c8fd3a3ecebfdfa40c1b SHA256 79f1459c2ea4e04c898791d6e18c8314f29a6ce728481e93e90d2faca454e57c
+MD5 dcd080157772ab10a5d7c0cfb7c6f002 freeciv-9999.ebuild.or 5060
+RMD160 136d3bef73589bb38ebb37b57b8e5b7e7eb3f1b7 freeciv-9999.ebuild.or 5060
+SHA256 79f1459c2ea4e04c898791d6e18c8314f29a6ce728481e93e90d2faca454e57c freeciv-9999.ebuild.or 5060
+MISC stdsounds.soundspec 5948 RMD160 00cf76220ef5977828a6ed1ae6c7c28bbf575296 SHA1 d8c907385622fcb2e630f6cd09e2fe1bb16b7a57 SHA256 71ccb7d680f47ef3a4f6f18fa2f1d5430cae0e46aeb30fc186f4154e0cb97675
+MD5 6e3e2bc551eb49ca87c4f0085991db15 stdsounds.soundspec 5948
+RMD160 00cf76220ef5977828a6ed1ae6c7c28bbf575296 stdsounds.soundspec 5948
+SHA256 71ccb7d680f47ef3a4f6f18fa2f1d5430cae0e46aeb30fc186f4154e0cb97675 stdsounds.soundspec 5948
+MD5 3954d0e65f4557786d6ff80c11022b23 files/digest-freeciv-2.0.0_beta6 136
+RMD160 d2f4afa4c4dd122e25d0ea03996a8eabbcdf9157 files/digest-freeciv-2.0.0_beta6 136
+SHA256 c276acf6c2d4f8def52b70ef75c014015940e39f4b323ecbb79934a8886203c7 files/digest-freeciv-2.0.0_beta6 136
+MD5 0369ecadb6f4932f054f8bf78c3c19ba files/digest-freeciv-2.0.0_beta7 136
+RMD160 536d27add273c0284025fc1506b9536d3e9130c4 files/digest-freeciv-2.0.0_beta7 136
+SHA256 4aa23769ea851d7352f036d7608fffe50a919e6464dc2a11ca2597b7120f64e2 files/digest-freeciv-2.0.0_beta7 136
+MD5 21412e5af420cd6f541584d28d5bb04c files/digest-freeciv-2.0.1 63
+RMD160 644f7853127de897e537f43b561d809a51ce6ad6 files/digest-freeciv-2.0.1 63
+SHA256 4dae3e84aed8a36fcb5e44cd8a3932dd6e1fd38cdc45c99ec1ba0e5efa6fbc93 files/digest-freeciv-2.0.1 63
+MD5 fadf61a5f02259d391faa065cb4eef33 files/digest-freeciv-2.0.7 479
+RMD160 d3cc0e1a943861d453a13c7c9f27918395b299c4 files/digest-freeciv-2.0.7 479
+SHA256 56841783a4c61268ddd0a1f602fc7ef8b6b0b888aa44140dd728b13793245be8 files/digest-freeciv-2.0.7 479
+MD5 40f3883d3eefecb900a217e2dc40e3da files/digest-freeciv-2.0.8-r1 479
+RMD160 d6332b47a3075ae2b93849528921b9e3672197b5 files/digest-freeciv-2.0.8-r1 479
+SHA256 2d5e6d0e14506a64b40ca97b8bec34a97483796d45226cbe1b316d617377bdf2 files/digest-freeciv-2.0.8-r1 479
+MD5 59c62ba90eb237185af9298635762c0c files/digest-freeciv-9999 232
+RMD160 57cf4842490464c870f0159c2bb56973b0c04bb4 files/digest-freeciv-9999 232
+SHA256 e482d08bdfa6c7d3f81c65dec1474ce237731b491dcdc889e385fe85b9ae54af files/digest-freeciv-9999 232
diff --git a/games-strategy/freeciv/files/digest-freeciv-2.0.0_beta6 b/games-strategy/freeciv/files/digest-freeciv-2.0.0_beta6
new file mode 100644
index 0000000..9367d8b
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-2.0.0_beta6
@@ -0,0 +1,2 @@
+MD5 6fbcb6a6094fb0d308c27eb34da73cc7 freeciv-2.0.0-beta6.tar.bz2 8202213
+MD5 63b06631addeaccf45bc4bf6b8ddf7b3 stdsounds2.tar.gz 1223738
diff --git a/games-strategy/freeciv/files/digest-freeciv-2.0.0_beta7 b/games-strategy/freeciv/files/digest-freeciv-2.0.0_beta7
new file mode 100644
index 0000000..35f5ced
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-2.0.0_beta7
@@ -0,0 +1,2 @@
+MD5 f5f7faf457d5139249d64c3c91ffd2f5 freeciv-2.0.0-beta7.tar.bz2 8425168
+MD5 63b06631addeaccf45bc4bf6b8ddf7b3 stdsounds2.tar.gz 1223738
diff --git a/games-strategy/freeciv/files/digest-freeciv-2.0.1 b/games-strategy/freeciv/files/digest-freeciv-2.0.1
new file mode 100644
index 0000000..c588dd9
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-2.0.1
@@ -0,0 +1 @@
+MD5 63b06631addeaccf45bc4bf6b8ddf7b3 stdsounds2.tar.gz 1223738
diff --git a/games-strategy/freeciv/files/digest-freeciv-2.0.7 b/games-strategy/freeciv/files/digest-freeciv-2.0.7
new file mode 100644
index 0000000..ef19a1d
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-2.0.7
@@ -0,0 +1,6 @@
+MD5 7a60ea8f39822036b86640532accc5ce freeciv-2.0.7.tar.bz2 8473763
+RMD160 5cdc70f1c3fc67180edeb905eda75b245cf412e2 freeciv-2.0.7.tar.bz2 8473763
+SHA256 2d578418b5be354eabb31b754e3617f837090bccea9e03b6da4593e06361e798 freeciv-2.0.7.tar.bz2 8473763
+MD5 77215914712f2f351092918f5e41e39e stdsounds3.tar.gz 118278
+RMD160 46bb5fef4b2d3acf9959b3228c962bdf6591ea09 stdsounds3.tar.gz 118278
+SHA256 a3cc2be93c006c3a9492349aa4552bf059e45efc94135f09241877c221ae1bfa stdsounds3.tar.gz 118278
diff --git a/games-strategy/freeciv/files/digest-freeciv-2.0.8-r1 b/games-strategy/freeciv/files/digest-freeciv-2.0.8-r1
new file mode 100644
index 0000000..fd5043d
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-2.0.8-r1
@@ -0,0 +1,6 @@
+MD5 9ebd5899c2c78362e0e2c68791673a88 freeciv-2.0.8.tar.bz2 8535513
+RMD160 7ab93442cf63db22e9e660d2c1955990a1376d26 freeciv-2.0.8.tar.bz2 8535513
+SHA256 85b396c86f977b85f03fa1309733d21f7cc953e005ff1475f9981b77fa9f28f3 freeciv-2.0.8.tar.bz2 8535513
+MD5 77215914712f2f351092918f5e41e39e stdsounds3.tar.gz 118278
+RMD160 46bb5fef4b2d3acf9959b3228c962bdf6591ea09 stdsounds3.tar.gz 118278
+SHA256 a3cc2be93c006c3a9492349aa4552bf059e45efc94135f09241877c221ae1bfa stdsounds3.tar.gz 118278
diff --git a/games-strategy/freeciv/files/digest-freeciv-20050318 b/games-strategy/freeciv/files/digest-freeciv-20050318
new file mode 100644
index 0000000..4fbe7d8
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-20050318
@@ -0,0 +1,2 @@
+MD5 448e7ac6368bf64f6d407e96b9abc896 freeciv-cvs-Mar-18.tar.bz2 8810709
+MD5 63b06631addeaccf45bc4bf6b8ddf7b3 stdsounds2.tar.gz 1223738
diff --git a/games-strategy/freeciv/files/digest-freeciv-20050325 b/games-strategy/freeciv/files/digest-freeciv-20050325
new file mode 100644
index 0000000..3bddff9
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-20050325
@@ -0,0 +1,2 @@
+MD5 d06137189655c9f3a8ffd142772ae29b freeciv-cvs-Mar-25.tar.bz2 8582248
+MD5 63b06631addeaccf45bc4bf6b8ddf7b3 stdsounds2.tar.gz 1223738
diff --git a/games-strategy/freeciv/files/digest-freeciv-20050408 b/games-strategy/freeciv/files/digest-freeciv-20050408
new file mode 100644
index 0000000..e328d2e
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-20050408
@@ -0,0 +1,2 @@
+MD5 7e5334b9f0eeb6b80117f6bce545a661 freeciv-cvs-Apr-08.tar.bz2 8603672
+MD5 63b06631addeaccf45bc4bf6b8ddf7b3 stdsounds2.tar.gz 1223738
diff --git a/games-strategy/freeciv/files/digest-freeciv-20050413 b/games-strategy/freeciv/files/digest-freeciv-20050413
new file mode 100644
index 0000000..674d52b
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-20050413
@@ -0,0 +1,2 @@
+MD5 20381acb0eba5b5f15ea1b9436ccc985 freeciv-cvs-Apr-13.tar.bz2 8596614
+MD5 63b06631addeaccf45bc4bf6b8ddf7b3 stdsounds2.tar.gz 1223738
diff --git a/games-strategy/freeciv/files/digest-freeciv-20050414 b/games-strategy/freeciv/files/digest-freeciv-20050414
new file mode 100644
index 0000000..c9f2f00
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-20050414
@@ -0,0 +1,2 @@
+MD5 41bdee920755afdf1f82cccf260df734 freeciv-cvs-Apr-14.tar.bz2 8596295
+MD5 63b06631addeaccf45bc4bf6b8ddf7b3 stdsounds2.tar.gz 1223738
diff --git a/games-strategy/freeciv/files/digest-freeciv-20050415 b/games-strategy/freeciv/files/digest-freeciv-20050415
new file mode 100644
index 0000000..fa55bc6
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-20050415
@@ -0,0 +1,2 @@
+MD5 bd3aa9900082ebbdb362dcd19fee22c9 freeciv-cvs-Apr-15.tar.bz2 8608048
+MD5 63b06631addeaccf45bc4bf6b8ddf7b3 stdsounds2.tar.gz 1223738
diff --git a/games-strategy/freeciv/files/digest-freeciv-20050421 b/games-strategy/freeciv/files/digest-freeciv-20050421
new file mode 100644
index 0000000..3a081ba
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-20050421
@@ -0,0 +1,2 @@
+MD5 1a858019d9b449dfc578797c8a14fe3d freeciv-cvs-Apr-21.tar.bz2 8579129
+MD5 63b06631addeaccf45bc4bf6b8ddf7b3 stdsounds2.tar.gz 1223738
diff --git a/games-strategy/freeciv/files/digest-freeciv-20050425 b/games-strategy/freeciv/files/digest-freeciv-20050425
new file mode 100644
index 0000000..77d1b4f
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-20050425
@@ -0,0 +1,2 @@
+MD5 ab6c573ebc9a802f256640d7cabe517b freeciv-cvs-Apr-25.tar.bz2 8588770
+MD5 63b06631addeaccf45bc4bf6b8ddf7b3 stdsounds2.tar.gz 1223738
diff --git a/games-strategy/freeciv/files/digest-freeciv-20050429 b/games-strategy/freeciv/files/digest-freeciv-20050429
new file mode 100644
index 0000000..7a4e176
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-20050429
@@ -0,0 +1,2 @@
+MD5 4940fd69086ab38b201ee3ba9f8f6927 freeciv-cvs-Apr-29.tar.bz2 8750956
+MD5 63b06631addeaccf45bc4bf6b8ddf7b3 stdsounds2.tar.gz 1223738
diff --git a/games-strategy/freeciv/files/digest-freeciv-20050430 b/games-strategy/freeciv/files/digest-freeciv-20050430
new file mode 100644
index 0000000..7b8e472
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-20050430
@@ -0,0 +1,2 @@
+MD5 cc56d9852f98c7e4e0c843a6dfc1b078 freeciv-cvs-Apr-30.tar.bz2 8751918
+MD5 63b06631addeaccf45bc4bf6b8ddf7b3 stdsounds2.tar.gz 1223738
diff --git a/games-strategy/freeciv/files/digest-freeciv-9999 b/games-strategy/freeciv/files/digest-freeciv-9999
new file mode 100644
index 0000000..706394e
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-9999
@@ -0,0 +1,3 @@
+MD5 77215914712f2f351092918f5e41e39e stdsounds3.tar.gz 118278
+RMD160 46bb5fef4b2d3acf9959b3228c962bdf6591ea09 stdsounds3.tar.gz 118278
+SHA256 a3cc2be93c006c3a9492349aa4552bf059e45efc94135f09241877c221ae1bfa stdsounds3.tar.gz 118278
diff --git a/games-strategy/freeciv/files/freeciv-2.0.8-DoS.patch b/games-strategy/freeciv/files/freeciv-2.0.8-DoS.patch
new file mode 100644
index 0000000..83a61dd
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv-2.0.8-DoS.patch
@@ -0,0 +1,26 @@
+--- trunk/server/unithand.c 2006/07/12 17:18:43 12065
++++ trunk/server/unithand.c 2006/07/16 12:15:25 12106
+@@ -1622,7 +1622,8 @@
+ struct tile *src_tile = map_pos_to_tile(packet->src_x, packet->src_y);
+ int i;
+
+- if (!punit || packet->length < 0 || punit->activity != ACTIVITY_IDLE) {
++ if (!punit || packet->length < 0 || punit->activity != ACTIVITY_IDLE
++ || packet->length > MAX_LEN_ROUTE) {
+ return;
+ }
+
+--- trunk/common/packets.c 2006/03/04 02:42:00 11710
++++ trunk/common/packets.c 2006/07/24 08:37:08 12146
+@@ -562,8 +562,11 @@
+ chunk->total_length, chunk->chunk_length);
+
+ if (chunk->total_length < 0
++ || chunk->chunk_length < 0
+ || chunk->total_length >= MAX_ATTRIBUTE_BLOCK
+ || chunk->offset < 0
++ || chunk->offset > chunk->total_length /* necessary check on 32 bit systems */
++ || chunk->chunk_length > chunk->total_length
+ || chunk->offset + chunk->chunk_length > chunk->total_length
+ || (chunk->offset != 0
+ && chunk->total_length != pplayer->attribute_block_buffer.length)) {
diff --git a/games-strategy/freeciv/files/freeciv-20050318.ebuild b/games-strategy/freeciv/files/freeciv-20050318.ebuild
new file mode 100644
index 0000000..12da4f1
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv-20050318.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+MY_P=${PN}-cvs-Mar-${PV:6:2}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/latest/${MY_P}.tar.bz2
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="X Xaw3d gtk gtk2 nls readline esd imlib alsa zlib"
+
+RDEPEND="X? ( virtual/x11 )
+ Xaw3d? ( x11-libs/Xaw3d )
+ readline? ( sys-libs/readline )
+ zlib? ( sys-libs/zlib )
+ imlib? ( media-libs/imlib )
+ esd? ( media-sound/esound )
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ alsa? ( media-libs/alsa-lib )"
+
+# 2.0 dependancies added by AD Rutledge, not sure exactly what versions,
+# this should be fixed if it requires a specific version or later
+DEPEND="${RDEPEND}
+ nls? (
+ sys-devel/gettext
+ >=sys-apps/sed-4
+ )"
+
+src_compile() {
+ local myclient="no"
+ use X && myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_with zlib) \
+ $(use_with readline) \
+ $(use_with imlib) \
+ $(use_enable nls) \
+ $(use_enable alsa) \
+ --enable-client=${myclient} \
+ || die "configure failed"
+
+ # Grrrr, the locale location is hard-coded in configure.in to be
+ # '${prefix}/share/locale'. That is so wrong. (Bug 40253)
+ if use nls ; then
+ sed -i \
+ -e "/LOCALEDIR/ s:\".*:\"${GAMES_DATADIR}/locale\":" config.h \
+ || die "locale fixup failed"
+ fi
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ insinto /usr/X11R6/lib/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ # install sounds
+ cp -R ../stdsounds* "${D}${GAMES_DATADIR}/${PN}"
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/files/freeciv-20050325.ebuild b/games-strategy/freeciv/files/freeciv-20050325.ebuild
new file mode 100644
index 0000000..e4f77a7
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv-20050325.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+MY_P=${PN}-cvs-Apr-${PV:6:2}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/latest/${MY_P}.tar.bz2
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="X Xaw3d gtk gtk2 nls readline esd imlib alsa zlib"
+
+RDEPEND="X? ( virtual/x11 )
+ Xaw3d? ( x11-libs/Xaw3d )
+ readline? ( sys-libs/readline )
+ zlib? ( sys-libs/zlib )
+ imlib? ( media-libs/imlib )
+ esd? ( media-sound/esound )
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ alsa? ( media-libs/alsa-lib )"
+
+# 2.0 dependancies added by AD Rutledge, not sure exactly what versions,
+# this should be fixed if it requires a specific version or later
+DEPEND="${RDEPEND}
+ nls? (
+ sys-devel/gettext
+ >=sys-apps/sed-4
+ )"
+
+src_compile() {
+ local myclient="no"
+ use X && myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_with zlib) \
+ $(use_with readline) \
+ $(use_with imlib) \
+ $(use_enable nls) \
+ $(use_enable alsa) \
+ --enable-client=${myclient} \
+ || die "configure failed"
+
+ # Grrrr, the locale location is hard-coded in configure.in to be
+ # '${prefix}/share/locale'. That is so wrong. (Bug 40253)
+ if use nls ; then
+ sed -i \
+ -e "/LOCALEDIR/ s:\".*:\"${GAMES_DATADIR}/locale\":" config.h \
+ || die "locale fixup failed"
+ fi
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ insinto /usr/X11R6/lib/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ # install sounds
+ cp -R ../stdsounds* "${D}${GAMES_DATADIR}/${PN}"
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/files/freeciv-20050408.ebuild b/games-strategy/freeciv/files/freeciv-20050408.ebuild
new file mode 100644
index 0000000..e4f77a7
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv-20050408.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+MY_P=${PN}-cvs-Apr-${PV:6:2}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/latest/${MY_P}.tar.bz2
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="X Xaw3d gtk gtk2 nls readline esd imlib alsa zlib"
+
+RDEPEND="X? ( virtual/x11 )
+ Xaw3d? ( x11-libs/Xaw3d )
+ readline? ( sys-libs/readline )
+ zlib? ( sys-libs/zlib )
+ imlib? ( media-libs/imlib )
+ esd? ( media-sound/esound )
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ alsa? ( media-libs/alsa-lib )"
+
+# 2.0 dependancies added by AD Rutledge, not sure exactly what versions,
+# this should be fixed if it requires a specific version or later
+DEPEND="${RDEPEND}
+ nls? (
+ sys-devel/gettext
+ >=sys-apps/sed-4
+ )"
+
+src_compile() {
+ local myclient="no"
+ use X && myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_with zlib) \
+ $(use_with readline) \
+ $(use_with imlib) \
+ $(use_enable nls) \
+ $(use_enable alsa) \
+ --enable-client=${myclient} \
+ || die "configure failed"
+
+ # Grrrr, the locale location is hard-coded in configure.in to be
+ # '${prefix}/share/locale'. That is so wrong. (Bug 40253)
+ if use nls ; then
+ sed -i \
+ -e "/LOCALEDIR/ s:\".*:\"${GAMES_DATADIR}/locale\":" config.h \
+ || die "locale fixup failed"
+ fi
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ insinto /usr/X11R6/lib/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ # install sounds
+ cp -R ../stdsounds* "${D}${GAMES_DATADIR}/${PN}"
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/files/freeciv-20050413.ebuild b/games-strategy/freeciv/files/freeciv-20050413.ebuild
new file mode 100644
index 0000000..e4f77a7
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv-20050413.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+MY_P=${PN}-cvs-Apr-${PV:6:2}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/latest/${MY_P}.tar.bz2
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="X Xaw3d gtk gtk2 nls readline esd imlib alsa zlib"
+
+RDEPEND="X? ( virtual/x11 )
+ Xaw3d? ( x11-libs/Xaw3d )
+ readline? ( sys-libs/readline )
+ zlib? ( sys-libs/zlib )
+ imlib? ( media-libs/imlib )
+ esd? ( media-sound/esound )
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ alsa? ( media-libs/alsa-lib )"
+
+# 2.0 dependancies added by AD Rutledge, not sure exactly what versions,
+# this should be fixed if it requires a specific version or later
+DEPEND="${RDEPEND}
+ nls? (
+ sys-devel/gettext
+ >=sys-apps/sed-4
+ )"
+
+src_compile() {
+ local myclient="no"
+ use X && myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_with zlib) \
+ $(use_with readline) \
+ $(use_with imlib) \
+ $(use_enable nls) \
+ $(use_enable alsa) \
+ --enable-client=${myclient} \
+ || die "configure failed"
+
+ # Grrrr, the locale location is hard-coded in configure.in to be
+ # '${prefix}/share/locale'. That is so wrong. (Bug 40253)
+ if use nls ; then
+ sed -i \
+ -e "/LOCALEDIR/ s:\".*:\"${GAMES_DATADIR}/locale\":" config.h \
+ || die "locale fixup failed"
+ fi
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ insinto /usr/X11R6/lib/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ # install sounds
+ cp -R ../stdsounds* "${D}${GAMES_DATADIR}/${PN}"
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/files/freeciv-20050414.ebuild b/games-strategy/freeciv/files/freeciv-20050414.ebuild
new file mode 100644
index 0000000..e4f77a7
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv-20050414.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+MY_P=${PN}-cvs-Apr-${PV:6:2}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/latest/${MY_P}.tar.bz2
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="X Xaw3d gtk gtk2 nls readline esd imlib alsa zlib"
+
+RDEPEND="X? ( virtual/x11 )
+ Xaw3d? ( x11-libs/Xaw3d )
+ readline? ( sys-libs/readline )
+ zlib? ( sys-libs/zlib )
+ imlib? ( media-libs/imlib )
+ esd? ( media-sound/esound )
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ alsa? ( media-libs/alsa-lib )"
+
+# 2.0 dependancies added by AD Rutledge, not sure exactly what versions,
+# this should be fixed if it requires a specific version or later
+DEPEND="${RDEPEND}
+ nls? (
+ sys-devel/gettext
+ >=sys-apps/sed-4
+ )"
+
+src_compile() {
+ local myclient="no"
+ use X && myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_with zlib) \
+ $(use_with readline) \
+ $(use_with imlib) \
+ $(use_enable nls) \
+ $(use_enable alsa) \
+ --enable-client=${myclient} \
+ || die "configure failed"
+
+ # Grrrr, the locale location is hard-coded in configure.in to be
+ # '${prefix}/share/locale'. That is so wrong. (Bug 40253)
+ if use nls ; then
+ sed -i \
+ -e "/LOCALEDIR/ s:\".*:\"${GAMES_DATADIR}/locale\":" config.h \
+ || die "locale fixup failed"
+ fi
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ insinto /usr/X11R6/lib/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ # install sounds
+ cp -R ../stdsounds* "${D}${GAMES_DATADIR}/${PN}"
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/files/freeciv-20050415.ebuild b/games-strategy/freeciv/files/freeciv-20050415.ebuild
new file mode 100644
index 0000000..e4f77a7
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv-20050415.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+MY_P=${PN}-cvs-Apr-${PV:6:2}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/latest/${MY_P}.tar.bz2
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="X Xaw3d gtk gtk2 nls readline esd imlib alsa zlib"
+
+RDEPEND="X? ( virtual/x11 )
+ Xaw3d? ( x11-libs/Xaw3d )
+ readline? ( sys-libs/readline )
+ zlib? ( sys-libs/zlib )
+ imlib? ( media-libs/imlib )
+ esd? ( media-sound/esound )
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ alsa? ( media-libs/alsa-lib )"
+
+# 2.0 dependancies added by AD Rutledge, not sure exactly what versions,
+# this should be fixed if it requires a specific version or later
+DEPEND="${RDEPEND}
+ nls? (
+ sys-devel/gettext
+ >=sys-apps/sed-4
+ )"
+
+src_compile() {
+ local myclient="no"
+ use X && myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_with zlib) \
+ $(use_with readline) \
+ $(use_with imlib) \
+ $(use_enable nls) \
+ $(use_enable alsa) \
+ --enable-client=${myclient} \
+ || die "configure failed"
+
+ # Grrrr, the locale location is hard-coded in configure.in to be
+ # '${prefix}/share/locale'. That is so wrong. (Bug 40253)
+ if use nls ; then
+ sed -i \
+ -e "/LOCALEDIR/ s:\".*:\"${GAMES_DATADIR}/locale\":" config.h \
+ || die "locale fixup failed"
+ fi
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ insinto /usr/X11R6/lib/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ # install sounds
+ cp -R ../stdsounds* "${D}${GAMES_DATADIR}/${PN}"
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/files/freeciv-20050421.ebuild b/games-strategy/freeciv/files/freeciv-20050421.ebuild
new file mode 100644
index 0000000..e4f77a7
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv-20050421.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+MY_P=${PN}-cvs-Apr-${PV:6:2}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/latest/${MY_P}.tar.bz2
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="X Xaw3d gtk gtk2 nls readline esd imlib alsa zlib"
+
+RDEPEND="X? ( virtual/x11 )
+ Xaw3d? ( x11-libs/Xaw3d )
+ readline? ( sys-libs/readline )
+ zlib? ( sys-libs/zlib )
+ imlib? ( media-libs/imlib )
+ esd? ( media-sound/esound )
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ alsa? ( media-libs/alsa-lib )"
+
+# 2.0 dependancies added by AD Rutledge, not sure exactly what versions,
+# this should be fixed if it requires a specific version or later
+DEPEND="${RDEPEND}
+ nls? (
+ sys-devel/gettext
+ >=sys-apps/sed-4
+ )"
+
+src_compile() {
+ local myclient="no"
+ use X && myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_with zlib) \
+ $(use_with readline) \
+ $(use_with imlib) \
+ $(use_enable nls) \
+ $(use_enable alsa) \
+ --enable-client=${myclient} \
+ || die "configure failed"
+
+ # Grrrr, the locale location is hard-coded in configure.in to be
+ # '${prefix}/share/locale'. That is so wrong. (Bug 40253)
+ if use nls ; then
+ sed -i \
+ -e "/LOCALEDIR/ s:\".*:\"${GAMES_DATADIR}/locale\":" config.h \
+ || die "locale fixup failed"
+ fi
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ insinto /usr/X11R6/lib/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ # install sounds
+ cp -R ../stdsounds* "${D}${GAMES_DATADIR}/${PN}"
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/files/freeciv-20050425.ebuild b/games-strategy/freeciv/files/freeciv-20050425.ebuild
new file mode 100644
index 0000000..e4f77a7
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv-20050425.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+MY_P=${PN}-cvs-Apr-${PV:6:2}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/latest/${MY_P}.tar.bz2
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="X Xaw3d gtk gtk2 nls readline esd imlib alsa zlib"
+
+RDEPEND="X? ( virtual/x11 )
+ Xaw3d? ( x11-libs/Xaw3d )
+ readline? ( sys-libs/readline )
+ zlib? ( sys-libs/zlib )
+ imlib? ( media-libs/imlib )
+ esd? ( media-sound/esound )
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ alsa? ( media-libs/alsa-lib )"
+
+# 2.0 dependancies added by AD Rutledge, not sure exactly what versions,
+# this should be fixed if it requires a specific version or later
+DEPEND="${RDEPEND}
+ nls? (
+ sys-devel/gettext
+ >=sys-apps/sed-4
+ )"
+
+src_compile() {
+ local myclient="no"
+ use X && myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_with zlib) \
+ $(use_with readline) \
+ $(use_with imlib) \
+ $(use_enable nls) \
+ $(use_enable alsa) \
+ --enable-client=${myclient} \
+ || die "configure failed"
+
+ # Grrrr, the locale location is hard-coded in configure.in to be
+ # '${prefix}/share/locale'. That is so wrong. (Bug 40253)
+ if use nls ; then
+ sed -i \
+ -e "/LOCALEDIR/ s:\".*:\"${GAMES_DATADIR}/locale\":" config.h \
+ || die "locale fixup failed"
+ fi
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ insinto /usr/X11R6/lib/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ # install sounds
+ cp -R ../stdsounds* "${D}${GAMES_DATADIR}/${PN}"
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/files/freeciv-20050429.ebuild b/games-strategy/freeciv/files/freeciv-20050429.ebuild
new file mode 100644
index 0000000..4c44e02
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv-20050429.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+MY_P=${PN}-cvs-Apr-${PV:6:2}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/latest/${MY_P}.tar.bz2
+ !dedicated? (
+ alsa? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz )
+ esd? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz )
+ sdl? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz )
+ )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE="Xaw3d gtk gtk2 nls readline dedicated alsa esd sdl"
+
+RDEPEND="sys-libs/zlib
+ readline? ( sys-libs/readline )
+ !dedicated? (
+ virtual/x11
+ !gtk? ( Xaw3d? ( x11-libs/Xaw3d ) )
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ alsa? (
+ >=media-libs/alsa-lib-1.0
+ >=media-libs/audiofile-0.2
+ )
+ esd? ( >=media-sound/esound-0.2 )
+ sdl? (
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/libsdl-1.2
+ )
+ )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ >=sys-apps/sed-4"
+
+
+pkg_setup() {
+ if use '!dedicated' ; then
+ if use gtk && use gtk2 ; then
+ einfo "The Freeciv Client will be built with the GTK+-2 toolkit"
+ elif use gtk ; then
+ einfo "The Freeciv Client will be built with the GTK+-1.2 toolkit"
+ elif use Xaw3d ; then
+ einfo "The Freeciv Client will be built with the Xaw3d toolkit"
+ else
+ einfo "The Freeciv Client will be built with the Xaw toolkit"
+ fi
+ if use '!esd' && use '!alsa' && use '!sdl' ; then
+ ewarn ""
+ ewarn "To enable sound support in civclient, you must enable"
+ ewarn "at least one of this USE flags: alsa, esd, sdl"
+ ewarn ""
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ # install locales in /usr/share/locale
+ sed -i 's:^\(localedir = \).*:\1/usr/share/locale:' \
+ ${S}/intl/Makefile.in ${S}/po/Makefile.in.in || die "sed failed"
+ sed -i '/^#define LOCALEDIR/s:".*":"/usr/share/locale":' \
+ ${S}/configure || die "sed failed"
+
+ # install the .desktop in /usr/share/applications
+ sed -i 's:^\(desktopfiledir = \).*:\1/usr/share/applications:' \
+ ${S}/client/Makefile.in || die "sed failed"
+
+ # remove civclient manpage if dedicated server
+ use dedicated && {
+ sed -i '/man_MANS = /s:civclient.6::' \
+ ${S}/doc/man/Makefile.in || die "sed failed"
+ }
+}
+
+src_compile() {
+ # Configure the client toolkit
+ local myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+ use dedicated && myclient="no"
+
+ # Configure the sound plugins
+ local mysoundconf
+ if use dedicated ; then
+ mysoundconf="--disable-alsa --disable-esd --disable-sdl-mixer"
+ else
+ #XXX --enable-{alsa,esd,sdl-mixer} actually disable them...
+ #XXX ==> use --disable-* only, and autodetect to enable.
+ #XXX mysoundconf="${mysoundconf} $(use_enable alsa)"
+ use alsa || mysoundconf="${mysoundconf} --disable-alsa"
+ #XXX mysoundconf="${mysoundconf} $(use_enable esd)"
+ use esd || mysoundconf="${mysoundconf} --disable-esd"
+ #XXX mysoundconf="${mysoundconf} $(use_enable sdl sdl-mixer)"
+ use sdl || mysoundconf="${mysoundconf} --disable-sdl-mixer"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-zlib \
+ $(use_with readline) \
+ $(use_enable nls) \
+ --enable-client=${myclient} \
+ ${mysoundconf} \
+ || die "egamesconf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ if use '!dedicated' ; then
+ # Install the app-defaults if Xaw/Xaw3d toolkit
+ if use '!gtk'; then
+ insinto /etc/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+ fi
+ # Install sounds if at least one sound plugin was built
+ if use alsa || use esd || use sdl ; then
+ cp -R ../stdsounds* ${D}${GAMES_DATADIR}/${PN} \
+ || die "failed to install sounds"
+ fi
+ # Create and install the html manual. It can't be done for dedicated
+ # servers, because the 'civmanual' tool is then not built. Also
+ # delete civmanual from the GAMES_BINDIR, because it's then useless.
+ # Note: to have it localized, it should be ran from _postinst, or
+ # something like that, but then it's a PITA to avoid orphan files...
+ ./manual/civmanual || die "civmanual failed"
+ dohtml manual*.html || die "dohtml failed"
+ rm -f ${D}/${GAMES_BINDIR}/civmanual
+ fi
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO} \
+ || die "dodoc failed"
+
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/files/freeciv-20050430.ebuild b/games-strategy/freeciv/files/freeciv-20050430.ebuild
new file mode 100644
index 0000000..4c44e02
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv-20050430.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+MY_P=${PN}-cvs-Apr-${PV:6:2}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/latest/${MY_P}.tar.bz2
+ !dedicated? (
+ alsa? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz )
+ esd? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz )
+ sdl? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz )
+ )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE="Xaw3d gtk gtk2 nls readline dedicated alsa esd sdl"
+
+RDEPEND="sys-libs/zlib
+ readline? ( sys-libs/readline )
+ !dedicated? (
+ virtual/x11
+ !gtk? ( Xaw3d? ( x11-libs/Xaw3d ) )
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ alsa? (
+ >=media-libs/alsa-lib-1.0
+ >=media-libs/audiofile-0.2
+ )
+ esd? ( >=media-sound/esound-0.2 )
+ sdl? (
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/libsdl-1.2
+ )
+ )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ >=sys-apps/sed-4"
+
+
+pkg_setup() {
+ if use '!dedicated' ; then
+ if use gtk && use gtk2 ; then
+ einfo "The Freeciv Client will be built with the GTK+-2 toolkit"
+ elif use gtk ; then
+ einfo "The Freeciv Client will be built with the GTK+-1.2 toolkit"
+ elif use Xaw3d ; then
+ einfo "The Freeciv Client will be built with the Xaw3d toolkit"
+ else
+ einfo "The Freeciv Client will be built with the Xaw toolkit"
+ fi
+ if use '!esd' && use '!alsa' && use '!sdl' ; then
+ ewarn ""
+ ewarn "To enable sound support in civclient, you must enable"
+ ewarn "at least one of this USE flags: alsa, esd, sdl"
+ ewarn ""
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ # install locales in /usr/share/locale
+ sed -i 's:^\(localedir = \).*:\1/usr/share/locale:' \
+ ${S}/intl/Makefile.in ${S}/po/Makefile.in.in || die "sed failed"
+ sed -i '/^#define LOCALEDIR/s:".*":"/usr/share/locale":' \
+ ${S}/configure || die "sed failed"
+
+ # install the .desktop in /usr/share/applications
+ sed -i 's:^\(desktopfiledir = \).*:\1/usr/share/applications:' \
+ ${S}/client/Makefile.in || die "sed failed"
+
+ # remove civclient manpage if dedicated server
+ use dedicated && {
+ sed -i '/man_MANS = /s:civclient.6::' \
+ ${S}/doc/man/Makefile.in || die "sed failed"
+ }
+}
+
+src_compile() {
+ # Configure the client toolkit
+ local myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+ use dedicated && myclient="no"
+
+ # Configure the sound plugins
+ local mysoundconf
+ if use dedicated ; then
+ mysoundconf="--disable-alsa --disable-esd --disable-sdl-mixer"
+ else
+ #XXX --enable-{alsa,esd,sdl-mixer} actually disable them...
+ #XXX ==> use --disable-* only, and autodetect to enable.
+ #XXX mysoundconf="${mysoundconf} $(use_enable alsa)"
+ use alsa || mysoundconf="${mysoundconf} --disable-alsa"
+ #XXX mysoundconf="${mysoundconf} $(use_enable esd)"
+ use esd || mysoundconf="${mysoundconf} --disable-esd"
+ #XXX mysoundconf="${mysoundconf} $(use_enable sdl sdl-mixer)"
+ use sdl || mysoundconf="${mysoundconf} --disable-sdl-mixer"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-zlib \
+ $(use_with readline) \
+ $(use_enable nls) \
+ --enable-client=${myclient} \
+ ${mysoundconf} \
+ || die "egamesconf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ if use '!dedicated' ; then
+ # Install the app-defaults if Xaw/Xaw3d toolkit
+ if use '!gtk'; then
+ insinto /etc/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+ fi
+ # Install sounds if at least one sound plugin was built
+ if use alsa || use esd || use sdl ; then
+ cp -R ../stdsounds* ${D}${GAMES_DATADIR}/${PN} \
+ || die "failed to install sounds"
+ fi
+ # Create and install the html manual. It can't be done for dedicated
+ # servers, because the 'civmanual' tool is then not built. Also
+ # delete civmanual from the GAMES_BINDIR, because it's then useless.
+ # Note: to have it localized, it should be ran from _postinst, or
+ # something like that, but then it's a PITA to avoid orphan files...
+ ./manual/civmanual || die "civmanual failed"
+ dohtml manual*.html || die "dohtml failed"
+ rm -f ${D}/${GAMES_BINDIR}/civmanual
+ fi
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO} \
+ || die "dodoc failed"
+
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/files/freeciv.png b/games-strategy/freeciv/files/freeciv.png
new file mode 100644
index 0000000..52d8c90
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv.png
Binary files differ
diff --git a/games-strategy/freeciv/freeciv-2.0.0_beta6.ebuild b/games-strategy/freeciv/freeciv-2.0.0_beta6.ebuild
new file mode 100644
index 0000000..6222fda
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-2.0.0_beta6.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+MY_P=${PN}-${PV/_/-}
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/freeciv/beta/${MY_P}.tar.bz2
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="X Xaw3d gtk gtk2 nls readline esd imlib alsa zlib"
+
+RDEPEND="X? ( virtual/x11 )
+ Xaw3d? ( x11-libs/Xaw3d )
+ readline? ( sys-libs/readline )
+ zlib? ( sys-libs/zlib )
+ imlib? ( media-libs/imlib )
+ esd? ( media-sound/esound )
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ alsa? ( media-libs/alsa-lib )"
+
+# 2.0 dependancies added by AD Rutledge, not sure exactly what versions,
+# this should be fixed if it requires a specific version or later
+DEPEND="${RDEPEND}
+ nls? (
+ sys-devel/gettext
+ >=sys-apps/sed-4
+ )"
+
+src_compile() {
+ local myclient="no"
+ use X && myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_with zlib) \
+ $(use_with readline) \
+ $(use_with imlib) \
+ $(use_enable nls) \
+ $(use_enable alsa) \
+ --enable-client=${myclient} \
+ || die "configure failed"
+
+ # Grrrr, the locale location is hard-coded in configure.in to be
+ # '${prefix}/share/locale'. That is so wrong. (Bug 40253)
+ if use nls ; then
+ sed -i \
+ -e "/LOCALEDIR/ s:\".*:\"${GAMES_DATADIR}/locale\":" config.h \
+ || die "locale fixup failed"
+ fi
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ insinto /usr/X11R6/lib/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ # install sounds
+ cp -R ../stdsounds* "${D}${GAMES_DATADIR}/${PN}"
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/freeciv-2.0.0_beta7.ebuild b/games-strategy/freeciv/freeciv-2.0.0_beta7.ebuild
new file mode 100644
index 0000000..6222fda
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-2.0.0_beta7.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+MY_P=${PN}-${PV/_/-}
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/freeciv/beta/${MY_P}.tar.bz2
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="X Xaw3d gtk gtk2 nls readline esd imlib alsa zlib"
+
+RDEPEND="X? ( virtual/x11 )
+ Xaw3d? ( x11-libs/Xaw3d )
+ readline? ( sys-libs/readline )
+ zlib? ( sys-libs/zlib )
+ imlib? ( media-libs/imlib )
+ esd? ( media-sound/esound )
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ alsa? ( media-libs/alsa-lib )"
+
+# 2.0 dependancies added by AD Rutledge, not sure exactly what versions,
+# this should be fixed if it requires a specific version or later
+DEPEND="${RDEPEND}
+ nls? (
+ sys-devel/gettext
+ >=sys-apps/sed-4
+ )"
+
+src_compile() {
+ local myclient="no"
+ use X && myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_with zlib) \
+ $(use_with readline) \
+ $(use_with imlib) \
+ $(use_enable nls) \
+ $(use_enable alsa) \
+ --enable-client=${myclient} \
+ || die "configure failed"
+
+ # Grrrr, the locale location is hard-coded in configure.in to be
+ # '${prefix}/share/locale'. That is so wrong. (Bug 40253)
+ if use nls ; then
+ sed -i \
+ -e "/LOCALEDIR/ s:\".*:\"${GAMES_DATADIR}/locale\":" config.h \
+ || die "locale fixup failed"
+ fi
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ insinto /usr/X11R6/lib/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ # install sounds
+ cp -R ../stdsounds* "${D}${GAMES_DATADIR}/${PN}"
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/freeciv-2.0.1.ebuild b/games-strategy/freeciv/freeciv-2.0.1.ebuild
new file mode 100644
index 0000000..e511a7d
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-2.0.1.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.0.1.ebuild,v 1.3 2005/05/17 11:36:22 yoswink Exp $
+
+inherit games
+
+MY_P=${PN}-${PV/_/-}
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/stable/${MY_P}.tar.bz2
+ !dedicated? (
+ alsa? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz )
+ esd? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz )
+ sdl? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds2.tar.gz )
+ )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~ppc ~x86 ~alpha"
+IUSE="alsa dedicated esd gtk gtk2 nls readline sdl Xaw3d"
+
+RDEPEND="sys-libs/zlib
+ readline? ( sys-libs/readline )
+ !dedicated? (
+ virtual/x11
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ !gtk? ( Xaw3d? ( x11-libs/Xaw3d ) )
+ alsa? (
+ >=media-libs/alsa-lib-1.0
+ >=media-libs/audiofile-0.2
+ )
+ esd? ( >=media-sound/esound-0.2 )
+ sdl? (
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/libsdl-1.2
+ )
+ )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ games_pkg_setup
+ if ! use dedicated ; then
+ if use gtk ; then
+ if use gtk2 ; then
+ einfo "The Freeciv Client will be built with the GTK+-2 toolkit"
+ else
+ einfo "The Freeciv Client will be built with the GTK+-1.2 toolkit"
+ fi
+ elif use Xaw3d ; then
+ einfo "The Freeciv Client will be built with the Xaw3d toolkit"
+ else
+ einfo "The Freeciv Client will be built with the Xaw toolkit"
+ fi
+ if ! use esd && ! use alsa && ! use sdl ; then
+ ewarn
+ ewarn "To enable sound support in civclient, you must enable"
+ ewarn "at least one of this USE flags: alsa, esd, sdl"
+ ewarn
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # install locales in /usr/share/locale
+ sed -i \
+ -e 's:^\(localedir = \).*:\1/usr/share/locale:' \
+ intl/Makefile.in po/Makefile.in.in \
+ || die "sed failed"
+ sed -i \
+ -e '/^#define LOCALEDIR/s:".*":"/usr/share/locale":' \
+ configure \
+ || die "sed failed"
+
+ # install the .desktop in /usr/share/applications
+ sed -i \
+ -e 's:^\(desktopfiledir = \).*:\1/usr/share/applications:' \
+ client/Makefile.in \
+ || die "sed failed"
+
+ # remove civclient manpage if dedicated server
+ if use dedicated ; then
+ sed -i \
+ -e '/man_MANS = /s:civclient.6::' \
+ doc/man/Makefile.in \
+ || die "sed failed"
+ fi
+}
+
+src_compile() {
+ local mysoundconf
+ local myclient
+
+ if use dedicated ; then
+ mysoundconf="--disable-alsa --disable-esd --disable-sdl-mixer"
+ myclient="no"
+ else
+ myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+ #FIXME --enable-{alsa,esd,sdl-mixer} actually disable them...
+ #FIXME ==> use --disable-* only, and autodetect to enable.
+ use alsa || mysoundconf="${mysoundconf} --disable-alsa"
+ use esd || mysoundconf="${mysoundconf} --disable-esd"
+ use sdl || mysoundconf="${mysoundconf} --disable-sdl-mixer"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-zlib \
+ $(use_enable nls) \
+ $(use_with readline) \
+ --enable-client=${myclient} \
+ ${mysoundconf} \
+ || die "egamesconf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ if ! use dedicated ; then
+ # Install the app-defaults if Xaw/Xaw3d toolkit
+ if ! use gtk ; then
+ insinto /etc/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+ fi
+ # Install sounds if at least one sound plugin was built
+ if use alsa || use esd || use sdl ; then
+ cp -R ../stdsounds* "${D}${GAMES_DATADIR}/${PN}" \
+ || die "failed to install sounds"
+ fi
+ # Create and install the html manual. It can't be done for dedicated
+ # servers, because the 'civmanual' tool is then not built. Also
+ # delete civmanual from the GAMES_BINDIR, because it's then useless.
+ # Note: to have it localized, it should be ran from _postinst, or
+ # something like that, but then it's a PITA to avoid orphan files...
+ ./manual/civmanual || die "civmanual failed"
+ dohtml manual*.html || die "dohtml failed"
+ rm -f "${D}/${GAMES_BINDIR}/civmanual"
+ fi
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/freeciv-2.0.7.ebuild b/games-strategy/freeciv/freeciv-2.0.7.ebuild
new file mode 100644
index 0000000..3a84024
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-2.0.7.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.0.7.ebuild,v 1.1 2005/11/07 09:11:35 mr_bones_ Exp $
+
+inherit games
+
+MY_P=${PN}-${PV/_/-}
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/stable/${MY_P}.tar.bz2
+ !dedicated? (
+ alsa? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz )
+ esd? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz )
+ sdl? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz )
+ )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="alsa dedicated esd gtk nls readline sdl Xaw3d"
+
+RDEPEND="sys-libs/zlib
+ readline? ( sys-libs/readline )
+ !dedicated? (
+ virtual/x11
+ gtk? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk? (
+ Xaw3d? ( x11-libs/Xaw3d )
+ )
+ alsa? (
+ >=media-libs/alsa-lib-1.0
+ >=media-libs/audiofile-0.2
+ )
+ esd? ( >=media-sound/esound-0.2 )
+ sdl? (
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/libsdl-1.2
+ )
+ )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ games_pkg_setup
+ if ! use dedicated ; then
+ if use gtk ; then
+ einfo "The Freeciv Client will be built with the GTK+-2 toolkit"
+ elif use Xaw3d ; then
+ einfo "The Freeciv Client will be built with the Xaw3d toolkit"
+ else
+ einfo "The Freeciv Client will be built with the Xaw toolkit"
+ fi
+ if ! use esd && ! use alsa && ! use sdl ; then
+ ewarn
+ ewarn "To enable sound support in civclient, you must enable"
+ ewarn "at least one of this USE flags: alsa, esd, sdl"
+ ewarn
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # install locales in /usr/share/locale
+ sed -i \
+ -e 's:^\(localedir = \).*:\1/usr/share/locale:' \
+ intl/Makefile.in po/Makefile.in.in \
+ || die "sed failed"
+ sed -i \
+ -e '/^#define LOCALEDIR/s:".*":"/usr/share/locale":' \
+ configure \
+ || die "sed failed"
+
+ # install the .desktop in /usr/share/applications
+ sed -i \
+ -e 's:^\(desktopfiledir = \).*:\1/usr/share/applications:' \
+ client/Makefile.in \
+ || die "sed failed"
+
+ # remove civclient manpage if dedicated server
+ if use dedicated ; then
+ sed -i \
+ -e '/man_MANS = /s:civclient.6::' \
+ doc/man/Makefile.in \
+ || die "sed failed"
+ fi
+}
+
+src_compile() {
+ local mysoundconf
+ local myclient
+
+ if use dedicated ; then
+ mysoundconf="--disable-alsa --disable-esd --disable-sdl-mixer"
+ myclient="no"
+ else
+ myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ myclient="gtk-2.0"
+ fi
+ #FIXME --enable-{alsa,esd,sdl-mixer} actually disable them...
+ #FIXME ==> use --disable-* only, and autodetect to enable.
+ use alsa || mysoundconf="${mysoundconf} --disable-alsa"
+ use esd || mysoundconf="${mysoundconf} --disable-esd"
+ use sdl || mysoundconf="${mysoundconf} --disable-sdl-mixer"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-zlib \
+ $(use_enable nls) \
+ $(use_with readline) \
+ --enable-client=${myclient} \
+ ${mysoundconf} \
+ || die "egamesconf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ if ! use dedicated ; then
+ # Install the app-defaults if Xaw/Xaw3d toolkit
+ if ! use gtk ; then
+ insinto /etc/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+ fi
+ # Install sounds if at least one sound plugin was built
+ if use alsa || use esd || use sdl ; then
+ cp -R ../data/stdsounds* "${D}${GAMES_DATADIR}/${PN}" \
+ || die "failed to install sounds"
+ fi
+ # Create and install the html manual. It can't be done for dedicated
+ # servers, because the 'civmanual' tool is then not built. Also
+ # delete civmanual from the GAMES_BINDIR, because it's then useless.
+ # Note: to have it localized, it should be ran from _postinst, or
+ # something like that, but then it's a PITA to avoid orphan files...
+ ./manual/civmanual || die "civmanual failed"
+ dohtml manual*.html || die "dohtml failed"
+ rm -f "${D}/${GAMES_BINDIR}/civmanual"
+ fi
+
+ dodoc ChangeLog NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/freeciv-2.0.8-r1.ebuild b/games-strategy/freeciv/freeciv-2.0.8-r1.ebuild
new file mode 100644
index 0000000..ce9952a
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-2.0.8-r1.ebuild
@@ -0,0 +1,192 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.0.8-r1.ebuild,v 1.2 2006/08/28 00:43:00 kumba Exp $
+
+inherit eutils games
+
+MY_P=${PN}-${PV/_/-}
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/stable/${MY_P}.tar.bz2
+ !dedicated? (
+ alsa? (
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz )
+ esd? (
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz )
+ sdl? (
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz ) )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 mips ppc sparc x86"
+IUSE="alsa dedicated esd gtk nls readline sdl Xaw3d"
+
+RDEPEND="sys-libs/zlib
+ readline? ( sys-libs/readline )
+ !dedicated? (
+ gtk? (
+ >=dev-util/pkgconfig-0.9
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk? (
+ Xaw3d? (
+ x11-libs/Xaw3d )
+ !Xaw3d? (
+ || (
+ x11-libs/libXaw
+ virtual/x11 ) )
+ || ( (
+ x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXt
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm )
+ virtual/x11 ) )
+ alsa? (
+ >=media-libs/alsa-lib-1.0
+ >=media-libs/audiofile-0.2
+ )
+ esd? ( >=media-sound/esound-0.2 )
+ sdl? (
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/libsdl-1.2
+ )
+ )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ || ( ( x11-proto/xextproto )
+ virtual/x11 )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ games_pkg_setup
+ if ! use dedicated ; then
+ if use gtk ; then
+ einfo "The Freeciv Client will be built with the GTK+-2 toolkit"
+ elif use Xaw3d ; then
+ einfo "The Freeciv Client will be built with the Xaw3d toolkit"
+ else
+ einfo "The Freeciv Client will be built with the Xaw toolkit"
+ fi
+ if ! use esd && ! use alsa && ! use sdl ; then
+ ewarn
+ ewarn "To enable sound support in civclient, you must enable"
+ ewarn "at least one of this USE flags: alsa, esd, sdl"
+ ewarn
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # bug #141563 DoS attack
+ # https://bugs.gentoo.org/show_bug.cgi?id=141563
+ epatch "${FILESDIR}/${P}-DoS.patch"
+
+ # install locales in /usr/share/locale
+ sed -i \
+ -e 's:^\(localedir = \).*:\1/usr/share/locale:' \
+ intl/Makefile.in po/Makefile.in.in \
+ || die "sed failed"
+ sed -i \
+ -e '/^#define LOCALEDIR/s:".*":"/usr/share/locale":' \
+ configure \
+ || die "sed failed"
+
+ # change .desktop icon to the freeciv icon rather than the gnome globe
+ sed -i \
+ -e 's:^\(Icon=\).*:\1freeciv.png:' \
+ bootstrap/freeciv.desktop.in \
+ || die "sed failed"
+
+ # change .desktop category so it is not gnome specific
+ sed -i \
+ -e 's:^\(Categories=GNOME;Application;Game;Strategy;\):Categories=Application;Game;StrategyGame;:' \
+ bootstrap/freeciv.desktop.in \
+ || die "sed failed"
+ # install the .desktop in /usr/share/applications
+ sed -i \
+ -e 's:^\(desktopfiledir = \).*:\1/usr/share/applications:' \
+ client/Makefile.in \
+ || die "sed failed"
+
+ # remove civclient manpage if dedicated server
+ if use dedicated ; then
+ sed -i \
+ -e '/man_MANS = /s:civclient.6::' \
+ doc/man/Makefile.in \
+ || die "sed failed"
+ fi
+}
+
+src_compile() {
+ local mysoundconf
+ local myclient
+
+ if use dedicated ; then
+ mysoundconf="--disable-alsa --disable-esd --disable-sdl-mixer"
+ myclient="no"
+ else
+ myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ myclient="gtk-2.0"
+ fi
+ #FIXME --enable-{alsa,esd,sdl-mixer} actually disable them...
+ #FIXME ==> use --disable-* only, and autodetect to enable.
+ use alsa || mysoundconf="${mysoundconf} --disable-alsa"
+ use esd || mysoundconf="${mysoundconf} --disable-esd"
+ use sdl || mysoundconf="${mysoundconf} --disable-sdl-mixer"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-zlib \
+ $(use_enable nls) \
+ $(use_with readline) \
+ --enable-client=${myclient} \
+ ${mysoundconf} \
+ || die "egamesconf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ if ! use dedicated ; then
+ # Install the app-defaults if Xaw/Xaw3d toolkit
+ if ! use gtk ; then
+ insinto /etc/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+ fi
+ # Install sounds if at least one sound plugin was built
+ if use alsa || use esd || use sdl ; then
+ cp -R ../data/stdsounds* "${D}${GAMES_DATADIR}/${PN}" \
+ || die "failed to install sounds"
+ fi
+ # Create and install the html manual. It can't be done for dedicated
+ # servers, because the 'civmanual' tool is then not built. Also
+ # delete civmanual from the GAMES_BINDIR, because it's then useless.
+ # Note: to have it localized, it should be ran from _postinst, or
+ # something like that, but then it's a PITA to avoid orphan files...
+ ./manual/civmanual || die "civmanual failed"
+ dohtml manual*.html || die "dohtml failed"
+ rm -f "${D}/${GAMES_BINDIR}/civmanual"
+ fi
+
+ dodoc ChangeLog NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ doicon "${FILESDIR}/${PN}.png"
+
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/freeciv-9999.ebuild b/games-strategy/freeciv/freeciv-9999.ebuild
new file mode 100644
index 0000000..3e36168
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-9999.ebuild
@@ -0,0 +1,192 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils games subversion flag-o-matic
+
+ESVN_REPO_URI="svn://svn.gna.org/svn/freeciv/trunk"
+
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="!dedicated? (
+ alsa? (
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz )
+ esd? (
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz )
+ sdl? (
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz ) )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-*"
+IUSE="alsa dedicated esd gtk nls readline sdl Xaw3d"
+
+RDEPEND="sys-libs/zlib
+ readline? ( sys-libs/readline )
+ !dedicated? (
+ gtk? (
+ >=dev-util/pkgconfig-0.9
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk? (
+ Xaw3d? (
+ x11-libs/Xaw3d )
+ !Xaw3d? (
+ || (
+ x11-libs/libXaw
+ virtual/x11 ) )
+ || ( (
+ x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXt
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm )
+ virtual/x11 ) )
+ alsa? (
+ >=media-libs/alsa-lib-1.0
+ >=media-libs/audiofile-0.2
+ )
+ esd? ( >=media-sound/esound-0.2 )
+ sdl? (
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/libsdl-1.2
+ )
+ )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ || ( ( x11-proto/xextproto )
+ virtual/x11 )"
+
+pkg_setup() {
+ games_pkg_setup
+ if ! use dedicated ; then
+ if use gtk ; then
+ einfo "The Freeciv Client will be built with the GTK+-2 toolkit"
+ elif use Xaw3d ; then
+ einfo "The Freeciv Client will be built with the Xaw3d toolkit"
+ else
+ einfo "The Freeciv Client will be built with the Xaw toolkit"
+ fi
+ if ! use esd && ! use alsa && ! use sdl ; then
+ ewarn
+ ewarn "To enable sound support in civclient, you must enable"
+ ewarn "at least one of this USE flags: alsa, esd, sdl"
+ ewarn
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ subversion_src_unpack
+ cd "${S}"
+ # dont configure
+ sed -i -e 's:running configure ... ":\0\nexit 0:' autogen.sh
+ ./autogen.sh
+
+
+ # install locales in /usr/share/locale
+ sed -i \
+ -e 's:^\(localedir = \).*:\1/usr/share/locale:' \
+ intl/Makefile.in po/Makefile.in.in \
+ || die "sed failed"
+ sed -i \
+ -e '/^#define LOCALEDIR/s:".*":"/usr/share/locale":' \
+ configure \
+ || die "sed failed"
+
+ # change .desktop icon to the freeciv icon rather than the gnome globe
+ sed -i \
+ -e 's:^\(Icon=\).*:\1freeciv.png:' \
+ bootstrap/freeciv.desktop.in \
+ || die "sed failed"
+
+ # change .desktop category so it is not gnome specific
+ sed -i \
+ -e 's:^\(Categories=GNOME;Application;Game;Strategy;\):Categories=Application;Game;StrategyGame;:' \
+ bootstrap/freeciv.desktop.in \
+ || die "sed failed"
+ # install the .desktop in /usr/share/applications
+ sed -i \
+ -e 's:^\(desktopfiledir = \).*:\1/usr/share/applications:' \
+ client/Makefile.in \
+ || die "sed failed"
+
+ # remove civclient manpage if dedicated server
+ if use dedicated ; then
+ sed -i \
+ -e '/man_MANS = /s:civclient.6::' \
+ doc/man/Makefile.in \
+ || die "sed failed"
+ fi
+}
+
+src_compile() {
+ filter-flags -ftree-vectorize
+ local mysoundconf
+ local myclient
+
+ if use dedicated ; then
+ mysoundconf="--disable-alsa --disable-esd --disable-sdl-mixer"
+ myclient="no"
+ else
+ myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ myclient="gtk-2.0"
+ fi
+ #FIXME --enable-{alsa,esd,sdl-mixer} actually disable them...
+ #FIXME ==> use --disable-* only, and autodetect to enable.
+ use alsa || mysoundconf="${mysoundconf} --disable-alsa"
+ use esd || mysoundconf="${mysoundconf} --disable-esd"
+ use sdl || mysoundconf="${mysoundconf} --disable-sdl-mixer"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-zlib \
+ $(use_enable nls) \
+ $(use_with readline) \
+ --enable-client=sdl \
+ ${mysoundconf} \
+ || die "egamesconf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ if ! use dedicated ; then
+ # Install the app-defaults if Xaw/Xaw3d toolkit
+ if ! use gtk ; then
+ insinto /etc/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+ fi
+ # Install sounds if at least one sound plugin was built
+ if use alsa || use esd || use sdl ; then
+ cp -R ../data/stdsounds* "${D}${GAMES_DATADIR}/${PN}" \
+ || die "failed to install sounds"
+ fi
+ # Create and install the html manual. It can't be done for dedicated
+ # servers, because the 'civmanual' tool is then not built. Also
+ # delete civmanual from the GAMES_BINDIR, because it's then useless.
+ # Note: to have it localized, it should be ran from _postinst, or
+ # something like that, but then it's a PITA to avoid orphan files...
+ ./manual/civmanual || die "civmanual failed"
+ dohtml manual*.html || die "dohtml failed"
+ rm -f "${D}/${GAMES_BINDIR}/civmanual"
+ fi
+
+ dodoc ChangeLog NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ doicon "${FILESDIR}/${PN}.png"
+
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/freeciv-9999.ebuild.old b/games-strategy/freeciv/freeciv-9999.ebuild.old
new file mode 100644
index 0000000..d435044
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-9999.ebuild.old
@@ -0,0 +1,178 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games subversion
+
+ESVN_REPO_URI="svn://svn.gna.org/svn/freeciv/trunk"
+
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="!dedicated? (
+ alsa? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz )
+ esd? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz )
+ sdl? ( http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz )
+ )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="alsa dedicated esd gtk gtk2 nls readline sdl Xaw3d"
+
+RDEPEND="sys-libs/zlib
+ readline? ( sys-libs/readline )
+ !dedicated? (
+ virtual/x11
+ gtk? (
+ gtk2? (
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ )
+ )
+ !gtk? ( Xaw3d? ( x11-libs/Xaw3d ) )
+ alsa? (
+ >=media-libs/alsa-lib-1.0
+ >=media-libs/audiofile-0.2
+ )
+ esd? ( >=media-sound/esound-0.2 )
+ sdl? (
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/libsdl-1.2
+ )
+ )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ games_pkg_setup
+ if ! use dedicated ; then
+ if use gtk ; then
+ if use gtk2 ; then
+ einfo "The Freeciv Client will be built with the GTK+-2 toolkit"
+ else
+ einfo "The Freeciv Client will be built with the GTK+-1.2 toolkit"
+ fi
+ elif use Xaw3d ; then
+ einfo "The Freeciv Client will be built with the Xaw3d toolkit"
+ else
+ einfo "The Freeciv Client will be built with the Xaw toolkit"
+ fi
+ if ! use esd && ! use alsa && ! use sdl ; then
+ ewarn
+ ewarn "To enable sound support in civclient, you must enable"
+ ewarn "at least one of this USE flags: alsa, esd, sdl"
+ ewarn
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cvs_src_unpack
+ cd "${S}"
+
+ # install locales in /usr/share/locale
+ sed -i \
+ -e 's:^\(localedir = \).*:\1/usr/share/locale:' \
+ intl/Makefile.in po/Makefile.in.in \
+ || die "sed failed"
+ sed -i \
+ -e "s:LOCALEDIR, '\./share/locale':LOCALEDIR, '/usr/share/locale':" \
+ configure.ac \
+ || die "sed failed"
+}
+
+src_compile() {
+ local mysoundconf
+ local myclient
+
+ if use dedicated ; then
+ mysoundconf="--disable-alsa --disable-esd --disable-sdl-mixer"
+ myclient="no"
+ else
+ myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ use gtk2 \
+ && myclient="gtk-2.0" \
+ || myclient="gtk"
+ fi
+ #FIXME --enable-{alsa,esd,sdl-mixer} actually disable them...
+ #FIXME ==> use --disable-* only, and autodetect to enable.
+ use alsa || mysoundconf="${mysoundconf} --disable-alsa"
+ use esd || mysoundconf="${mysoundconf} --disable-esd"
+ use sdl || mysoundconf="${mysoundconf} --disable-sdl-mixer"
+ fi
+
+ ./autogen.sh \
+ --prefix="${GAMES_PREFIX}" \
+ --build=${CBUILD:-${CHOST}} \
+ --host=${CHOST} \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --datadir="${GAMES_DATADIR}" \
+ --sysconfdir="${GAMES_SYSCONFDIR}" \
+ --localstatedir="${GAMES_STATEDIR}" \
+ --disable-dependency-tracking \
+ --with-zlib \
+ $(use_enable nls) \
+ $(use_with readline) \
+ --enable-client=${myclient} \
+ ${mysoundconf} \
+ || die "egamesconf failed"
+
+ emake || die "emake failed"
+
+ # install the .desktop in /usr/share/applications
+ sed -i \
+ -e 's:^\(desktopfiledir = \).*:\1/usr/share/applications:' \
+ client/Makefile.in \
+ || die "sed failed"
+
+ # remove civclient manpage if dedicated server
+ if use dedicated ; then
+ sed -i \
+ -e '/man_MANS = /s:civclient.6::' \
+ doc/man/Makefile.in \
+ || die "sed failed"
+ fi
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ if ! use dedicated ; then
+ # Install the app-defaults if Xaw/Xaw3d toolkit
+ if ! use gtk ; then
+ insinto /etc/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+ fi
+ # Install sounds if at least one sound plugin was built
+ if use alsa || use esd || use sdl ; then
+ cp -R ../data/stdsounds* "${D}${GAMES_DATADIR}/${PN}" \
+ || die "failed to install sounds"
+ fi
+ # Create and install the html manual. It can't be done for dedicated
+ # servers, because the 'civmanual' tool is then not built. Also
+ # delete civmanual from the GAMES_BINDIR, because it's then useless.
+ # Note: to have it localized, it should be ran from _postinst, or
+ # something like that, but then it's a PITA to avoid orphan files...
+ #./manual/civmanual || die "civmanual failed"
+ #dohtml manual*.html || die "dohtml failed"
+ rm -f "${D}/${GAMES_BINDIR}/civmanual"
+ fi
+
+ dodoc ChangeLog NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/freeciv-9999.ebuild.or b/games-strategy/freeciv/freeciv-9999.ebuild.or
new file mode 100644
index 0000000..cf25389
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-9999.ebuild.or
@@ -0,0 +1,192 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils games subversion flag-o-matic
+
+ESVN_REPO_URI="svn://svn.gna.org/svn/freeciv/trunk"
+
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="!dedicated? (
+ alsa? (
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz )
+ esd? (
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz )
+ sdl? (
+ http://www.freeciv.org/ftp/contrib/sounds/sets/stdsounds3.tar.gz ) )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-*"
+IUSE="alsa dedicated esd gtk nls readline sdl Xaw3d"
+
+RDEPEND="sys-libs/zlib
+ readline? ( sys-libs/readline )
+ !dedicated? (
+ gtk? (
+ >=dev-util/pkgconfig-0.9
+ >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ )
+ !gtk? (
+ Xaw3d? (
+ x11-libs/Xaw3d )
+ !Xaw3d? (
+ || (
+ x11-libs/libXaw
+ virtual/x11 ) )
+ || ( (
+ x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXt
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm )
+ virtual/x11 ) )
+ alsa? (
+ >=media-libs/alsa-lib-1.0
+ >=media-libs/audiofile-0.2
+ )
+ esd? ( >=media-sound/esound-0.2 )
+ sdl? (
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/libsdl-1.2
+ )
+ )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ || ( ( x11-proto/xextproto )
+ virtual/x11 )"
+
+pkg_setup() {
+ games_pkg_setup
+ if ! use dedicated ; then
+ if use gtk ; then
+ einfo "The Freeciv Client will be built with the GTK+-2 toolkit"
+ elif use Xaw3d ; then
+ einfo "The Freeciv Client will be built with the Xaw3d toolkit"
+ else
+ einfo "The Freeciv Client will be built with the Xaw toolkit"
+ fi
+ if ! use esd && ! use alsa && ! use sdl ; then
+ ewarn
+ ewarn "To enable sound support in civclient, you must enable"
+ ewarn "at least one of this USE flags: alsa, esd, sdl"
+ ewarn
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ subversion_src_unpack
+ cd "${S}"
+ # dont configure
+ sed -i -e 's:running configure ... ":\0\nexit 0:' autogen.sh
+ ./autogen.sh
+
+
+ # install locales in /usr/share/locale
+ sed -i \
+ -e 's:^\(localedir = \).*:\1/usr/share/locale:' \
+ intl/Makefile.in po/Makefile.in.in \
+ || die "sed failed"
+ sed -i \
+ -e 's:\(FC_EXPAND_DIR(LOCALEDIR,\).*:\1 "/usr/share/locale"):' \
+ configure.ac \
+ || die "sed failed"
+
+ # change .desktop icon to the freeciv icon rather than the gnome globe
+ sed -i \
+ -e 's:^\(Icon=\).*:\1freeciv.png:' \
+ bootstrap/freeciv.desktop.in \
+ || die "sed failed"
+
+ # change .desktop category so it is not gnome specific
+ sed -i \
+ -e 's:^\(Categories=GNOME;Application;Game;Strategy;\):Categories=Application;Game;StrategyGame;:' \
+ bootstrap/freeciv.desktop.in \
+ || die "sed failed"
+ # install the .desktop in /usr/share/applications
+ sed -i \
+ -e 's:^\(desktopfiledir = \).*:\1/usr/share/applications:' \
+ client/Makefile.am \
+ || die "sed failed"
+
+ # remove civclient manpage if dedicated server
+ if use dedicated ; then
+ sed -i \
+ -e '/man_MANS = /s:civclient.6::' \
+ doc/man/Makefile.am \
+ || die "sed failed"
+ fi
+}
+
+src_compile() {
+ #filter-flags -ftree-vectorize
+ local mysoundconf
+ local myclient
+
+ if use dedicated ; then
+ mysoundconf="--disable-alsa --disable-esd --disable-sdl-mixer"
+ myclient="no"
+ else
+ myclient="xaw"
+ use Xaw3d && myclient="xaw3d"
+ if use gtk ; then
+ myclient="gtk-2.0"
+ fi
+ #FIXME --enable-{alsa,esd,sdl-mixer} actually disable them...
+ #FIXME ==> use --disable-* only, and autodetect to enable.
+ use alsa || mysoundconf="${mysoundconf} --disable-alsa"
+ use esd || mysoundconf="${mysoundconf} --disable-esd"
+ use sdl || mysoundconf="${mysoundconf} --disable-sdl-mixer"
+ fi
+
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-zlib \
+ $(use_enable nls) \
+ $(use_with readline) \
+ --enable-client=${myclient} \
+ ${mysoundconf} \
+ || die "egamesconf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ if ! use dedicated ; then
+ # Install the app-defaults if Xaw/Xaw3d toolkit
+ if ! use gtk ; then
+ insinto /etc/X11/app-defaults
+ doins data/Freeciv || die "doins failed"
+ fi
+ # Install sounds if at least one sound plugin was built
+ if use alsa || use esd || use sdl ; then
+ cp -R ../data/stdsounds* "${D}${GAMES_DATADIR}/${PN}" \
+ || die "failed to install sounds"
+ fi
+ # Create and install the html manual. It can't be done for dedicated
+ # servers, because the 'civmanual' tool is then not built. Also
+ # delete civmanual from the GAMES_BINDIR, because it's then useless.
+ # Note: to have it localized, it should be ran from _postinst, or
+ # something like that, but then it's a PITA to avoid orphan files...
+ ./manual/civmanual || die "civmanual failed"
+ dohtml manual*.html || die "dohtml failed"
+ rm -f "${D}/${GAMES_BINDIR}/civmanual"
+ fi
+
+ dodoc ChangeLog NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+
+ doicon "${FILESDIR}/${PN}.png"
+
+ prepgamesdirs
+}
diff --git a/games-strategy/freeciv/stdsounds.soundspec b/games-strategy/freeciv/stdsounds.soundspec
new file mode 100644
index 0000000..00fd041
--- /dev/null
+++ b/games-strategy/freeciv/stdsounds.soundspec
@@ -0,0 +1,262 @@
+[soundspec]
+; Format and options of this spec file:
+options = "+soundspec"
+
+[info]
+artists = "Samples taken from www.waveform.dk (various authors), and
+OpenQuartz (Ali Jackson, alister667@hotmail.com) and Paroxysm (pOx,
+pox@planetquake.com)."
+
+; For a list of tags used see README.sound, buildings.ruleset and
+; units.ruleset.
+
+[files]
+
+;b_generic = ""
+;b_airport = ""
+;b_aqueduct = ""
+;b_bank = ""
+;b_barracks_i = ""
+;b_barracks_ii = ""
+;b_barracks_iii = ""
+;b_cathedral = ""
+;b_city_walls = ""
+;b_coastal_defense = ""
+;b_colosseum = ""
+;b_courthouse = ""
+;b_factory = ""
+;b_granary = ""
+;b_harbour = ""
+;b_hydro_plant = ""
+;b_library = ""
+;b_marketplace = ""
+;b_mass_transit = ""
+;b_mfg_plant = ""
+;b_nuclear_plant = ""
+;b_offshore_platform = ""
+;b_palace = ""
+;b_police_station = ""
+;b_port_facility = ""
+;b_power_plant = ""
+;b_recycling_center = ""
+;b_research_lab = ""
+;b_sam_battery = ""
+;b_sdi_defense = ""
+;b_sewer_system = ""
+;b_solar_plant = ""
+;b_space_component = ""
+;b_space_module = ""
+;b_space_structural = ""
+;b_stock_exchange = ""
+;b_super_highways = ""
+;b_supermarket = ""
+;b_temple = ""
+;b_university = ""
+
+f_generic = "stdsounds/woodbrk.wav"
+f_aegis_cruiser = "stdsounds/rhino.wav"
+f_alpine_troops = "stdsounds/guncock.wav"
+;f_archers = ""
+f_armor = "stdsounds/rhino.wav"
+f_artillery = "stdsounds/rhino.wav"
+;f_barbarian_leader = ""
+f_battleship = "stdsounds/r_exp3.wav"
+f_bomber = "stdsounds/rhino.wav"
+f_cannon = "stdsounds/wall01.wav"
+;f_caravan = ""
+;f_caravel = ""
+;f_carrier = ""
+f_catapult = "stdsounds/wall01.wav"
+f_cavalry = "stdsounds/bang10.wav"
+;f_chariot = ""
+f_cruise_missile = "stdsounds/rhino.wav"
+f_cruiser = "stdsounds/rhino.wav"
+;f_crusaders = ""
+f_destroyer = "stdsounds/r_exp3.wav"
+;f_diplomat = ""
+;f_dragoons = ""
+;f_elephants = ""
+;f_engineers = ""
+;f_explorer = ""
+;f_fanatics = ""
+f_fighter = "stdsounds/rhino.wav"
+;f_freight = ""
+;f_frigate = ""
+;f_galleon = ""
+f_helicopter = "stdsounds/rhino.wav"
+;f_horsemen = ""
+f_howitzer = "stdsounds/r_exp3.wav"
+f_ironclad = "stdsounds/rhino.wav"
+;f_knights = ""
+;f_legion = ""
+f_marines = "stdsounds/guncock.wav"
+f_mech_inf = "stdsounds/guncock.wav"
+f_musketeers = "stdsounds/bang10.wav"
+f_nuclear = "stdsounds/rhino.wav"
+f_paratroopers = "stdsounds/guncock.wav"
+f_partisan = "stdsounds/bang10.wav"
+;f_phalanx = ""
+;f_pikemen = ""
+f_riflemen = "stdsounds/guncock.wav"
+;f_settlers = ""
+;f_spy = ""
+f_stealth_bomber = "stdsounds/rhino.wav"
+f_stealth_fighter = "stdsounds/rhino.wav"
+f_submarine = "stdsounds/rhino.wav"
+;f_transport = ""
+;f_trireme = ""
+;f_warriors = ""
+
+m_generic = "stdsounds/foot3.wav"
+m_aegis_cruiser = "stdsounds/inh2o.wav"
+;m_alpine_troops = ""
+;m_archers = ""
+;m_armor = ""
+;m_artillery = ""
+;m_barbarian_leader = ""
+m_battleship = "stdsounds/inh2o.wav"
+;m_bomber = ""
+;m_cannon = ""
+;m_caravan = ""
+m_caravel = "stdsounds/inh2o.wav"
+m_carrier = "stdsounds/inh2o.wav"
+;m_catapult = ""
+;m_cavalry = ""
+;m_chariot = ""
+;m_cruise_missile = ""
+m_cruiser = "stdsounds/inh2o.wav"
+;m_crusaders = ""
+m_destroyer = "stdsounds/inh2o.wav"
+;m_diplomat = ""
+;m_dragoons = ""
+;m_elephants = ""
+;m_engineers = ""
+;m_explorer = ""
+;m_fanatics = ""
+;m_fighter = ""
+;m_freight = ""
+m_frigate = "stdsounds/inh2o.wav"
+m_galleon = "stdsounds/inh2o.wav"
+;m_helicopter = ""
+;m_horsemen = ""
+;m_howitzer = ""
+m_ironclad = "stdsounds/inh2o.wav"
+;m_knights = ""
+;m_legion = ""
+;m_marines = ""
+;m_mech_inf = ""
+;m_musketeers = ""
+;m_nuclear = ""
+;m_paratroopers = ""
+;m_partisan = ""
+;m_phalanx = ""
+;m_pikemen = ""
+;m_riflemen = ""
+;m_settlers = ""
+;m_spy = ""
+;m_stealth_bomber = ""
+;m_stealth_fighter = ""
+m_submarine = "stdsounds/inh2o.wav"
+m_transport = "stdsounds/inh2o.wav"
+m_trireme = "stdsounds/inh2o.wav"
+;m_warriors = ""
+
+w_generic = "stdsounds/gong10.wav"
+;w_apollo_program = ""
+;w_asmiths_trading_co = ""
+;w_colossus = ""
+;w_copernicus_observatory = ""
+;w_cure_for_cancer = ""
+;w_darwins_voyage = ""
+;w_eiffel_tower = ""
+;w_great_library = ""
+;w_great_wall = ""
+;w_hanging_gardens = ""
+;w_hoover_dam = ""
+;w_isaac_newtons_college = ""
+;w_js_bachs_cathedral = ""
+;w_king_richards_crusade = ""
+;w_leonardos_workshop = ""
+;w_lighthouse = ""
+;w_magellans_expedition = ""
+;w_manhattan_project = ""
+;w_marco_polos_embassy = ""
+;w_michelangelos_chapel = ""
+;w_oracle = ""
+;w_pyramids = ""
+;w_seti_program = ""
+;w_shakespeares_theatre = ""
+;w_statue_of_liberty = ""
+;w_sun_tzus_war_academy = ""
+;w_united_nations = ""
+;w_womens_suffrage = ""
+
+;e_anarchy = ""
+;e_broadcast_report = ""
+;e_cancel_pact = ""
+;e_city_aq_building = ""
+;e_city_aqueduct = ""
+;e_city_build = ""
+;e_city_cantbuild = ""
+;e_city_cma_release = ""
+;e_city_disorder = ""
+;e_city_famine = ""
+;e_city_famine_feared = ""
+;e_city_gran_throttle = ""
+;e_city_growth = ""
+;e_city_lost = ""
+;e_city_love = ""
+;e_city_may_soon_grow = ""
+;e_city_normal = ""
+;e_city_nuked = ""
+;e_city_wonder_will_be_built = ""
+;e_destroyed = ""
+;e_dipl_incident = ""
+e_diplomated = "stdsounds/cfx01.wav"
+;e_first_contact = ""
+;e_game_end = ""
+e_game_start = "stdsounds/chineseprc09.wav"
+;e_global_eco = ""
+;e_hut_barb = ""
+;e_hut_barb_city_near = ""
+;e_hut_barb_killed = ""
+;e_hut_city = ""
+;e_hut_gold = ""
+;e_hut_merc = ""
+;e_hut_settler = ""
+;e_hut_tech = ""
+;e_imp_auctioned = ""
+;e_imp_auto = ""
+;e_imp_build = ""
+;e_imp_buy = ""
+e_imp_sold = "stdsounds/metbrk.wav"
+;e_low_on_funds = ""
+;e_message_wall = ""
+e_my_diplomat = "stdsounds/cfx11.wav"
+e_nation_selected = "stdsounds/plopp.wav"
+;e_new_government = ""
+;e_next_year = ""
+;e_nuke = ""
+;e_pollution = ""
+;e_report = ""
+;e_revolt_done = ""
+;e_revolt_start = ""
+;e_spaceship = ""
+;e_tech_gain = ""
+;e_tech_learned = ""
+e_turn_bell = "stdsounds/chineseprc09.wav"
+;e_unit_build = ""
+;e_unit_buy = ""
+;e_unit_lost = ""
+;e_unit_lost_att = ""
+;e_unit_upgraded = ""
+;e_unit_win = ""
+;e_unit_win_att = ""
+;e_uprising = ""
+;e_wonder_build = ""
+;e_wonder_obsolete = ""
+;e_wonder_started = ""
+;e_wonder_stopped = ""
+;e_worklist = ""
+
+music_start = "stdsounds/amb18.wav"