summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-07-31 09:40:21 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-07-31 09:40:21 +0000
commit66560f82b98f553f7dd4d5f3ae89ecf26a6b3905 (patch)
tree6d92a8627cc6d99811f1cceffd263f611c9fcd74 /www-apps/mantisbt
parentStable for x86, wrt bug #428774 (diff)
downloadgentoo-2-66560f82b98f553f7dd4d5f3ae89ecf26a6b3905.tar.gz
gentoo-2-66560f82b98f553f7dd4d5f3ae89ecf26a6b3905.tar.bz2
gentoo-2-66560f82b98f553f7dd4d5f3ae89ecf26a6b3905.zip
Bump
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/mantisbt')
-rw-r--r--www-apps/mantisbt/ChangeLog10
-rw-r--r--www-apps/mantisbt/mantisbt-1.2.11.ebuild49
2 files changed, 56 insertions, 3 deletions
diff --git a/www-apps/mantisbt/ChangeLog b/www-apps/mantisbt/ChangeLog
index bbb7aae3732d..15c2ea5c4d72 100644
--- a/www-apps/mantisbt/ChangeLog
+++ b/www-apps/mantisbt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/mantisbt
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.115 2011/12/14 22:53:05 mabi Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.116 2012/07/31 09:40:21 patrick Exp $
+
+*mantisbt-1.2.11 (31 Jul 2012)
+
+ 31 Jul 2012; Patrick Lauer <patrick@gentoo.org> +mantisbt-1.2.11.ebuild:
+ Bump
14 Dec 2011; Matti Bickel <mabi@gentoo.org> mantisbt-1.2.8.ebuild:
Merging categories dev-php5 and dev-php (bug #324665)
@@ -530,4 +535,3 @@
+files/postinstall-en.txt, +mantisbt-0.18.3.ebuild:
Initial ebuild (by swegener, really). Thanks to blubber, Jacob Smullyan
<smulloni@smullyan.org>, and swegener for their work. Closes #27161.
-
diff --git a/www-apps/mantisbt/mantisbt-1.2.11.ebuild b/www-apps/mantisbt/mantisbt-1.2.11.ebuild
new file mode 100644
index 000000000000..341849d1ccd0
--- /dev/null
+++ b/www-apps/mantisbt/mantisbt-1.2.11.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/mantisbt-1.2.11.ebuild,v 1.1 2012/07/31 09:40:21 patrick Exp $
+
+EAPI="2"
+
+inherit eutils webapp depend.php
+
+DESCRIPTION="PHP/MySQL/Web based bugtracking system"
+HOMEPAGE="http://www.mantisbt.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ virtual/httpd-php
+ virtual/httpd-cgi
+ || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )
+ >=dev-php/ezc-Base-1.8
+ >=dev-php/ezc-Graph-1.5
+ >=dev-php/adodb-5.10"
+
+src_prepare() {
+ # Drop external libraries
+ rm -r "${S}/library/adodb/"
+ rm -r "${S}/library/ezc/"{Base,Graph}
+ sed -e 's:ezc/Base/src/base.php:ezc/Base/base.php:' \
+ -i "${S}"/plugins/MantisGraph/{core/graph_api.php,pages/summary_graph_cumulative_bydate2.php} \
+ || die
+ # Fix incorrect filename
+ sed -e 's:config_default_inc.php:config_defaults_inc.php:' \
+ -i "${S}/lang/strings_russian.txt" || die
+}
+
+src_install() {
+ webapp_src_preinst
+ rm doc/{LICENSE,INSTALL}
+ dodoc doc/{CREDITS,CUSTOMIZATION,RELEASE} doc/en/*
+
+ rm -rf doc packages
+ mv config_inc.php.sample config_inc.php
+ cp -R . "${D}/${MY_HTDOCSDIR}"
+
+ webapp_configfile "${MY_HTDOCSDIR}/config_inc.php"
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en-1.0.0.txt"
+ webapp_src_install
+}