summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/mediawiki')
-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.0_beta61
-rw-r--r--www-apps/mediawiki/mediawiki-1.4.0_beta6.ebuild113
4 files changed, 123 insertions, 1 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog
index e3c24d390db7..fa4243ec8590 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.6 2005/02/04 10:40:32 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.7 2005/02/17 02:02:48 trapni Exp $
+
+*mediawiki-1.4.0_beta6 (17 Feb 2005)
+
+ 17 Feb 2005; Christian Parpart <trapni@gentoo.org>
+ +mediawiki-1.4.0_beta6.ebuild:
+ version bump to 1.4.0_beta6; although fixed bug #81671 for 1.4x line
*mediawiki-1.3.10 (04 Feb 2005)
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest
index 82a43454fe7b..4f7ccc24b449 100644
--- a/www-apps/mediawiki/Manifest
+++ b/www-apps/mediawiki/Manifest
@@ -3,7 +3,9 @@ MD5 d4cefb1e8b2ce25b591d6e58b25ea5b0 mediawiki-1.3.10.ebuild 2887
MD5 8505d1d4f9e8fb24f4b443b93c9a83ad mediawiki-1.3.9.ebuild 2905
MD5 0e201daa491640c742b312e06075cbc5 metadata.xml 225
MD5 35a0e6cf4443d23878ea785986f334ea mediawiki-1.3.8.ebuild 2907
+MD5 cb2e7ec85c84a1eb1ad07bd9a1d88051 mediawiki-1.4.0_beta6.ebuild 2757
MD5 f083e5c34cf1201e213e4b2daa3b289a files/digest-mediawiki-1.3.8 68
MD5 e7fd7d166aef336c1a208037b713c73f files/digest-mediawiki-1.3.9 68
MD5 85f32b5fca9afd6479cdcea022c096f2 files/postinstall-en.txt 1731
MD5 65a9a4a88505bddcab12d66386dde551 files/digest-mediawiki-1.3.10 69
+MD5 879799e2704ed2b265e9891f6712447f files/digest-mediawiki-1.4.0_beta6 71
diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.4.0_beta6 b/www-apps/mediawiki/files/digest-mediawiki-1.4.0_beta6
new file mode 100644
index 000000000000..36bf42bf7156
--- /dev/null
+++ b/www-apps/mediawiki/files/digest-mediawiki-1.4.0_beta6
@@ -0,0 +1 @@
+MD5 d11d6fb88c70bc51aed53466637e5f23 mediawiki-1.4beta6.tar.gz 1835951
diff --git a/www-apps/mediawiki/mediawiki-1.4.0_beta6.ebuild b/www-apps/mediawiki/mediawiki-1.4.0_beta6.ebuild
new file mode 100644
index 000000000000..8ba2bfac038b
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.4.0_beta6.ebuild
@@ -0,0 +1,113 @@
+# 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.0_beta6.ebuild,v 1.1 2005/02/17 02:02:48 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"
+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 )
+ 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/norma
+ includes/template
+ 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-en.txt
+ webapp_src_install
+}