annotate www-apps/mantisbt/mantisbt-1.2.11.ebuild @ 338:90ae974540be

mantis has a new version upstream
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 28 Jun 2012 12:14:48 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
338
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2011 Gentoo Foundation
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3 # $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/mantisbt-1.2.8.ebuild,v 1.3 2011/12/14 22:53:05 mabi Exp $
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 EAPI="2"
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 inherit eutils webapp depend.php
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 DESCRIPTION="PHP/MySQL/Web based bugtracking system"
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 HOMEPAGE="http://www.mantisbt.org/"
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 LICENSE="GPL-2"
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 KEYWORDS="~amd64 ~x86"
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 IUSE=""
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 RDEPEND="
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 virtual/httpd-php
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 virtual/httpd-cgi
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 >=dev-php/ezc-Base-1.8
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 >=dev-php/ezc-Graph-1.5
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 >=dev-php/adodb-5.10"
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 src_prepare() {
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 # Drop external libraries
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 rm -r "${S}/library/adodb/"
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 rm -r "${S}/library/ezc/"{Base,Graph}
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 sed -e 's:ezc/Base/src/base.php:ezc/Base/base.php:' \
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 -i "${S}"/plugins/MantisGraph/{core/graph_api.php,pages/summary_graph_cumulative_bydate2.php} \
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 || die
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 # Fix incorrect filename
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 sed -e 's:config_default_inc.php:config_defaults_inc.php:' \
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 -i "${S}/lang/strings_russian.txt" || die
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35 }
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37 src_install() {
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 webapp_src_preinst
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 rm doc/{LICENSE,INSTALL}
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 dodoc doc/{CREDITS,CUSTOMIZATION,RELEASE} doc/en/*
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 rm -rf doc packages
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 mv config_inc.php.sample config_inc.php
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 cp -R . "${D}/${MY_HTDOCSDIR}"
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
45
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
46 webapp_configfile "${MY_HTDOCSDIR}/config_inc.php"
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
47 webapp_postinst_txt en "${FILESDIR}/postinstall-en-1.0.0.txt"
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
48 webapp_src_install
90ae974540be mantis has a new version upstream
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
49 }