diff options
author | Christian Parpart <trapni@gentoo.org> | 2005-10-23 11:28:50 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2005-10-23 11:28:50 +0000 |
commit | 0e50182632f4995303ebd84a3cb86cb2b8c66765 (patch) | |
tree | 60d8b57ebbb6fa6a8a723a17c02b6869b3cfde5b /www-apps/mediawiki | |
parent | Stable on x86, bug #108270. (diff) | |
download | gentoo-2-0e50182632f4995303ebd84a3cb86cb2b8c66765.tar.gz gentoo-2-0e50182632f4995303ebd84a3cb86cb2b8c66765.tar.bz2 gentoo-2-0e50182632f4995303ebd84a3cb86cb2b8c66765.zip |
version bump
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'www-apps/mediawiki')
-rw-r--r-- | www-apps/mediawiki/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/mediawiki/Manifest | 2 | ||||
-rw-r--r-- | www-apps/mediawiki/files/digest-mediawiki-1.5.0 | 1 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.5.0.ebuild | 129 |
4 files changed, 139 insertions, 1 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog index 647019b70ccc..77d54ed5c49f 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.34 2005/10/16 04:21:36 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.35 2005/10/23 11:28:50 trapni Exp $ + +*mediawiki-1.5.0 (23 Oct 2005) + + 23 Oct 2005; Christian Parpart <trapni@gentoo.org> + +mediawiki-1.5.0.ebuild: + version bump 16 Oct 2005; Jason Wever <weeve@gentoo.org> mediawiki-1.5.0_rc4-r1.ebuild: Added ~sparc keyword. diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index 59b282f5f27b..8b49c6265506 100644 --- a/www-apps/mediawiki/Manifest +++ b/www-apps/mediawiki/Manifest @@ -9,6 +9,7 @@ MD5 225bfdef8f4fea909375f51a477c8eaf files/digest-mediawiki-1.4.7 68 MD5 93950f0c5eceff409e784a4da219d25a files/digest-mediawiki-1.4.8 68 MD5 fa7f17c613d569b12a8fc159c200119f files/digest-mediawiki-1.4.9 68 MD5 fa7f17c613d569b12a8fc159c200119f files/digest-mediawiki-1.4.9-r1 68 +MD5 e7126e6e9d80398d7f39e6f2137b82f9 files/digest-mediawiki-1.5.0 68 MD5 3f4fb8ab22b652c550ae715a23f7ec9f files/digest-mediawiki-1.5.0_rc2 69 MD5 0654dfba1f053b84973463aea5a6b365 files/digest-mediawiki-1.5.0_rc3 69 MD5 27d8115205843202a079bb0aebfefea7 files/digest-mediawiki-1.5.0_rc4 69 @@ -25,6 +26,7 @@ MD5 4fdadbc34a0bae3bc044cc7e4a6f259c mediawiki-1.4.7.ebuild 2788 MD5 4a5dbf7502c5e1c63b49ca91f378d5d4 mediawiki-1.4.8.ebuild 2788 MD5 387803dfbebedc5a239cb73beb1c6901 mediawiki-1.4.9-r1.ebuild 2790 MD5 3219b106dec605bb1d275a0dc4ec1e3c mediawiki-1.4.9.ebuild 2788 +MD5 a74fb4f9cf7a131dbe43ea1adae48e86 mediawiki-1.5.0.ebuild 2942 MD5 aad0574c17a7b7fe55b6386582073021 mediawiki-1.5.0_rc2.ebuild 2913 MD5 c5c75d463f4267ce9b1f328e2e2f3fba mediawiki-1.5.0_rc3.ebuild 2913 MD5 a74fb4f9cf7a131dbe43ea1adae48e86 mediawiki-1.5.0_rc4-r1.ebuild 2942 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.5.0 b/www-apps/mediawiki/files/digest-mediawiki-1.5.0 new file mode 100644 index 000000000000..219df30eca2d --- /dev/null +++ b/www-apps/mediawiki/files/digest-mediawiki-1.5.0 @@ -0,0 +1 @@ +MD5 b431e82ee5fd0d619d17cb2d417387c3 mediawiki-1.5.0.tar.gz 2276060 diff --git a/www-apps/mediawiki/mediawiki-1.5.0.ebuild b/www-apps/mediawiki/mediawiki-1.5.0.ebuild new file mode 100644 index 000000000000..ac8d81158bc5 --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.5.0.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.0.ebuild,v 1.1 2005/10/23 11:28:50 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 +} |