annotate www-apps/mantisbt/mantisbt-1.2.12.ebuild @ 498:f601344b3d41

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