summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2005-10-26 12:18:15 +0000
committerChristian Parpart <trapni@gentoo.org>2005-10-26 12:18:15 +0000
commitc8c355b7c945b06081f006c2450b0c8fae56d869 (patch)
tree6a6b1ba30c864a83403814fad9bfe5bc982f7a20 /www-apps
parentRemoving old version (diff)
downloadhistorical-c8c355b7c945b06081f006c2450b0c8fae56d869.tar.gz
historical-c8c355b7c945b06081f006c2450b0c8fae56d869.tar.bz2
historical-c8c355b7c945b06081f006c2450b0c8fae56d869.zip
version bump
Package-Manager: portage-2.0.53_rc6
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/mediawiki/ChangeLog8
-rw-r--r--www-apps/mediawiki/files/digest-mediawiki-1.5.11
-rw-r--r--www-apps/mediawiki/mediawiki-1.5.1.ebuild129
3 files changed, 137 insertions, 1 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog
index 4aeaa78fb03b..51aa2eacbf2d 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.36 2005/10/23 11:34:52 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.37 2005/10/26 12:18:14 trapni Exp $
+
+*mediawiki-1.5.1 (26 Oct 2005)
+
+ 26 Oct 2005; Christian Parpart <trapni@gentoo.org>
+ +mediawiki-1.5.1.ebuild:
+ version bump
*mediawiki-1.4.11 (23 Oct 2005)
*mediawiki-1.3.17 (23 Oct 2005)
diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.5.1 b/www-apps/mediawiki/files/digest-mediawiki-1.5.1
new file mode 100644
index 000000000000..edaa3300556a
--- /dev/null
+++ b/www-apps/mediawiki/files/digest-mediawiki-1.5.1
@@ -0,0 +1 @@
+MD5 f2030d3302a899f4e4f2e6d9f3842067 mediawiki-1.5.1.tar.gz 2292603
diff --git a/www-apps/mediawiki/mediawiki-1.5.1.ebuild b/www-apps/mediawiki/mediawiki-1.5.1.ebuild
new file mode 100644
index 000000000000..7d0ff6e0acfc
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.5.1.ebuild
@@ -0,0 +1,129 @@
+# 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.5.1.ebuild,v 1.1 2005/10/26 12:18:15 trapni Exp $
+
+inherit webapp depend.php
+
+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="~amd64 ~sparc ~x86"
+IUSE="imagemagick math"
+
+S="${WORKDIR}/${P/.0_/}"
+
+DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )"
+
+RDEPEND="
+ >=dev-db/mysql-4
+ math? (
+ virtual/tetex
+ virtual/ghostscript
+ media-gfx/imagemagick
+ )
+ imagemagick? (
+ media-gfx/imagemagick
+ )
+"
+
+need_php_httpd
+
+pkg_setup() {
+ webapp_pkg_setup
+ require_php_with_use pcre
+ require_gd
+}
+
+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
+ languages
+ maintenance
+ maintenance/archives
+ maintenance/postgresql
+ maintenance/storage
+ skins
+ skins/amethyst
+ skins/chick
+ skins/common
+ skins/common/images
+ skins/common/images/icons
+ skins/disabled
+ skins/monobook
+ skins/myskin
+ skins/simple
+ "
+ 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/*.txt
+ rm -f docs/*.txt
+
+ 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
+}