diff options
author | Christian Parpart <trapni@gentoo.org> | 2005-08-24 00:04:39 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2005-08-24 00:04:39 +0000 |
commit | e0b4f1583a01df3e672c56e650211d692d21d04f (patch) | |
tree | 8b634c1dde85e8285022f3afb160a015c77893d2 /www-apps | |
parent | mediawiki-1.5.0_rc1 is out, and masked for testing :-P (diff) | |
download | gentoo-2-e0b4f1583a01df3e672c56e650211d692d21d04f.tar.gz gentoo-2-e0b4f1583a01df3e672c56e650211d692d21d04f.tar.bz2 gentoo-2-e0b4f1583a01df3e672c56e650211d692d21d04f.zip |
bringing 1.5 series into the tree (masked for testing anyway)
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'www-apps')
-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_rc1 | 1 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.5.0_rc1.ebuild | 119 |
4 files changed, 129 insertions, 1 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog index b6e589ad62ae..032e3e092188 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.24 2005/08/23 23:51:07 trapni Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.25 2005/08/24 00:04:39 trapni Exp $ + +*mediawiki-1.5.0_rc1 (24 Aug 2005) + + 24 Aug 2005; Christian Parpart <trapni@gentoo.org> + +mediawiki-1.5.0_rc1.ebuild: + bringing 1.5 series into the tree (masked for testing anyway) 24 Aug 2005; Christian Parpart <trapni@gentoo.org> -mediawiki-1.3.11.ebuild, -mediawiki-1.3.12.ebuild, diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index 76e3e55ec03b..ca900c3c4d85 100644 --- a/www-apps/mediawiki/Manifest +++ b/www-apps/mediawiki/Manifest @@ -4,9 +4,11 @@ MD5 4fdadbc34a0bae3bc044cc7e4a6f259c mediawiki-1.4.7.ebuild 2788 MD5 4ce25f8911fa68ab85e31b0953266511 metadata.xml 226 MD5 4a5dbf7502c5e1c63b49ca91f378d5d4 mediawiki-1.4.8.ebuild 2788 MD5 974728a7a5ca221f73700bf7aa2356af mediawiki-1.3.14.ebuild 2899 +MD5 382da5e771f4cd602790d7c00d776a20 mediawiki-1.5.0_rc1.ebuild 2778 MD5 7ec90d807694699cb90d9a56ec2ff67b files/postinstall-1.4-en.txt 1843 MD5 85f32b5fca9afd6479cdcea022c096f2 files/postinstall-en.txt 1731 MD5 6bbb8b1b565c4c501fa6551f85956d95 files/digest-mediawiki-1.3.13 69 MD5 225bfdef8f4fea909375f51a477c8eaf files/digest-mediawiki-1.4.7 68 MD5 93950f0c5eceff409e784a4da219d25a files/digest-mediawiki-1.4.8 68 MD5 b290cd8df8d7bb2f6c601b5118ab1b3d files/digest-mediawiki-1.3.14 69 +MD5 42160ce99f3cb126873ce4fd37553891 files/digest-mediawiki-1.5.0_rc1 69 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.5.0_rc1 b/www-apps/mediawiki/files/digest-mediawiki-1.5.0_rc1 new file mode 100644 index 000000000000..378ff0738c76 --- /dev/null +++ b/www-apps/mediawiki/files/digest-mediawiki-1.5.0_rc1 @@ -0,0 +1 @@ +MD5 f8b61f0cdac4ed8a7ed7aecf02d3bc78 mediawiki-1.5rc1.tar.gz 2301935 diff --git a/www-apps/mediawiki/mediawiki-1.5.0_rc1.ebuild b/www-apps/mediawiki/mediawiki-1.5.0_rc1.ebuild new file mode 100644 index 000000000000..b93cd17e470a --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.5.0_rc1.ebuild @@ -0,0 +1,119 @@ +# 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_rc1.ebuild,v 1.1 2005/08/24 00:04:39 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="~amd64 ~x86" +IUSE="imagemagick math" + +S="${WORKDIR}/${P/.0_/}" + +DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )" + +RDEPEND="virtual/php + >=dev-db/mysql-4 + math? ( virtual/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 + languages + maintenance + maintenance/archives + maintenance/dtrace + maintenance/oracle + maintenance/oracle/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 +} |