summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2005-04-25 08:24:23 +0000
committerChristian Parpart <trapni@gentoo.org>2005-04-25 08:24:23 +0000
commitd436900775a7dcc04706733b084df6d37bbe7bd2 (patch)
treedd751e79b96d898e4087e8cb36f6347454f7f3fb /www-apps
parentn-c-b requires USE='unicode' cdrtools, added a pkg_setup() check for 2.8.7, s... (diff)
downloadgentoo-2-d436900775a7dcc04706733b084df6d37bbe7bd2.tar.gz
gentoo-2-d436900775a7dcc04706733b084df6d37bbe7bd2.tar.bz2
gentoo-2-d436900775a7dcc04706733b084df6d37bbe7bd2.zip
version bump
(Portage version: 2.0.51.20-r4)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/mediawiki/ChangeLog8
-rw-r--r--www-apps/mediawiki/Manifest2
-rw-r--r--www-apps/mediawiki/files/digest-mediawiki-1.4.11
-rw-r--r--www-apps/mediawiki/mediawiki-1.4.1.ebuild114
4 files changed, 124 insertions, 1 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog
index c22ef2cb54ab..b1879670cf0c 100644
--- a/www-apps/mediawiki/ChangeLog
+++ b/www-apps/mediawiki/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apps/mediawiki
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.13 2005/04/03 00:47:24 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.14 2005/04/25 08:24:23 trapni Exp $
+
+*mediawiki-1.4.1 (25 Apr 2005)
+
+ 25 Apr 2005; Christian Parpart <trapni@gentoo.org>
+ +mediawiki-1.4.1.ebuild:
+ version bump
03 Apr 2005; Christian Parpart <trapni@gentoo.org> mediawiki-1.4.0.ebuild:
adding ppc keyword on request
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest
index 98a78fb15318..ef32dc39ae05 100644
--- a/www-apps/mediawiki/Manifest
+++ b/www-apps/mediawiki/Manifest
@@ -1,8 +1,10 @@
MD5 c12fdba982039fd65c1adb161185dba7 ChangeLog 2266
MD5 b29637f11785b5fcd20652ea276ac6f2 mediawiki-1.4.0_rc1.ebuild 2783
MD5 9b808d7d4184d4e1c6e4dc157b12e159 mediawiki-1.3.11.ebuild 2899
+MD5 3cfbe050f8c72dbbc1122357fcb20d0f mediawiki-1.4.1.ebuild 2784
MD5 0e201daa491640c742b312e06075cbc5 metadata.xml 225
MD5 3cfbe050f8c72dbbc1122357fcb20d0f mediawiki-1.4.0.ebuild 2784
+MD5 7be4b5621b030f1dbc2e7d239a0d35bd files/digest-mediawiki-1.4.1 68
MD5 8424600ddd0869dff41acc4ae6c1985b files/digest-mediawiki-1.4.0 68
MD5 5d9fc5f361dabb5aef718a1670539e00 files/digest-mediawiki-1.3.11 69
MD5 77cc76e9a9cad4aab2b9bb4c0d57271d files/digest-mediawiki-1.4.0_rc1 69
diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.4.1 b/www-apps/mediawiki/files/digest-mediawiki-1.4.1
new file mode 100644
index 000000000000..8971b7b4b73d
--- /dev/null
+++ b/www-apps/mediawiki/files/digest-mediawiki-1.4.1
@@ -0,0 +1 @@
+MD5 4deb2cf6ae4f93ec69234d89a23ebc8f mediawiki-1.4.1.tar.gz 1930501
diff --git a/www-apps/mediawiki/mediawiki-1.4.1.ebuild b/www-apps/mediawiki/mediawiki-1.4.1.ebuild
new file mode 100644
index 000000000000..6cf5ce1adf52
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.4.1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.4.1.ebuild,v 1.1 2005/04/25 08:24:23 trapni Exp $
+
+inherit webapp
+
+DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
+HOMEPAGE="http://www.mediawiki.org"
+SRC_URI="mirror://sourceforge/wikipedia/${P/.0_/}.tar.gz"
+RESTRICT="nomirror"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="imagemagick math"
+
+S="${WORKDIR}/${P/.0_/}"
+
+DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )"
+
+RDEPEND="virtual/php
+ >=dev-db/mysql-4
+ math? ( app-text/tetex
+ app-text/ghostscript
+ media-gfx/imagemagick )
+ imagemagick? ( media-gfx/imagemagick )"
+
+src_compile() {
+ if use math; then
+ einfo "Compiling math support"
+ cd math || die
+ emake || die
+ else
+ einfo "No math support enabled. Skipping."
+ fi
+
+ # TODO: think about includes/zhtable/ support
+}
+
+src_install() {
+ webapp_src_preinst
+
+ # copy the app's main files excluding math support, docs, and tests
+ local DIRS="
+ config
+ extensions
+ images
+ includes
+ includes/normal
+ includes/templates
+ includes/zhtable
+ irc
+ languages
+ maintenance
+ maintenance/archives
+ maintenance/postgresql
+ skins
+ skins/amethyst
+ skins/chick
+ skins/common
+ skins/common/images
+ skins/disabled
+ skins/monobook
+ skins/myskin
+ "
+ insinto ${MY_HTDOCSDIR}
+ doins *.php *.inc *.phtml
+ for DIR in ${DIRS}; do
+ dodir ${MY_HTDOCSDIR}/${DIR}
+ insinto ${MY_HTDOCSDIR}/${DIR}
+ doins ${DIR}/*
+ test -f ${DIR}/.htaccess && doins ${DIR}/.htaccess
+ done
+
+ # installing some docs
+ local DOCS="AdminSettings.sample COPYING FAQ HISTORY INSTALL README RELEASE-NOTES UPGRADE"
+ for DOC in ${DOCS}; do
+ dodoc "${DOC}"
+ rm -f "${DOC}"
+ done
+ dodoc docs/*.doc
+ rm -f docs/*.doc
+
+ docinto php-memcached
+ dodoc docs/php-memcached/*
+
+ # If imagemagick is enabled then setup for image upload.
+ # We ensure the directory is prepared for writing. The post-
+ # install instructions guide the user to enable the feature.
+ if use imagemagick; then
+ webapp_serverowned ${MY_HTDOCSDIR}/images
+ fi
+
+ # If we've enabled math USE-flag, install math support.
+ # We ensure the directories are prepared for writing. The post-
+ # install instructions guide the user to enable the feature.
+ if use math; then
+ einfo "Installing math support"
+ dodir ${MY_HTDOCSDIR}/math
+ exeinto ${MY_HTDOCSDIR}/math
+ doexe math/texvc
+
+ # Docs
+ docinto math
+ dodoc math/README math/TODO
+
+ # Working directories. Server writeable.
+ dodir ${MY_HTDOCSDIR}/images/math
+ webapp_serverowned ${MY_HTDOCSDIR}/images/math
+ dodir ${MY_HTDOCSDIR}/images/tmp
+ webapp_serverowned ${MY_HTDOCSDIR}/images/tmp
+ fi
+
+ webapp_postinst_txt en ${FILESDIR}/postinstall-1.4-en.txt
+ webapp_src_install
+}