diff options
-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.4 | 1 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.5.4.ebuild | 129 |
4 files changed, 139 insertions, 1 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog index b5f567d87072..28334e7db8df 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.43 2005/12/06 06:43:09 trapni Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.44 2005/12/23 15:34:28 trapni Exp $ + +*mediawiki-1.5.4 (23 Dec 2005) + + 23 Dec 2005; Christian Parpart <trapni@gentoo.org> + +mediawiki-1.5.4.ebuild: + version bump 06 Dec 2005; Christian Parpart <trapni@gentoo.org> -mediawiki-1.3.15-r1.ebuild, -mediawiki-1.4.9-r1.ebuild, diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index 51fd34abcfe9..9e3103acd5e8 100644 --- a/www-apps/mediawiki/Manifest +++ b/www-apps/mediawiki/Manifest @@ -6,6 +6,7 @@ MD5 3506df677b5db3cae61371dd5eb5af07 files/digest-mediawiki-1.4.10 69 MD5 ec6e042a8762c71dd5a137749e0bc14d files/digest-mediawiki-1.4.11 69 MD5 e6804ca4c1fccd69e4eb208595151b96 files/digest-mediawiki-1.4.12 69 MD5 42e1bd65c10adb286a970248e94cdf75 files/digest-mediawiki-1.5.3 68 +MD5 ae4080e7b0064f629304b571bba347eb files/digest-mediawiki-1.5.4 68 MD5 7ec90d807694699cb90d9a56ec2ff67b files/postinstall-1.4-en.txt 1843 MD5 85f32b5fca9afd6479cdcea022c096f2 files/postinstall-en.txt 1731 MD5 8287b963ff3efc992f54b01eba8b7895 mediawiki-1.3.16.ebuild 2897 @@ -15,4 +16,5 @@ MD5 4ad4ca4c8ce307bcb7be329474c1d548 mediawiki-1.4.10.ebuild 2788 MD5 3dd30f042664b2b989c1e4f37ae7d1b8 mediawiki-1.4.11.ebuild 2788 MD5 98b3e8fc1cde69d5706c94c807ff5884 mediawiki-1.4.12.ebuild 2788 MD5 e8b5e1abb0b60b3068b48e5c0a2f4709 mediawiki-1.5.3.ebuild 2934 +MD5 e8b5e1abb0b60b3068b48e5c0a2f4709 mediawiki-1.5.4.ebuild 2934 MD5 4ce25f8911fa68ab85e31b0953266511 metadata.xml 226 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.5.4 b/www-apps/mediawiki/files/digest-mediawiki-1.5.4 new file mode 100644 index 000000000000..1c720d7e1cdb --- /dev/null +++ b/www-apps/mediawiki/files/digest-mediawiki-1.5.4 @@ -0,0 +1 @@ +MD5 c5cff706c4d2fc8dd5aabd10f1714be0 mediawiki-1.5.4.tar.gz 2286643 diff --git a/www-apps/mediawiki/mediawiki-1.5.4.ebuild b/www-apps/mediawiki/mediawiki-1.5.4.ebuild new file mode 100644 index 000000000000..32ae1a1e68bc --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.5.4.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.4.ebuild,v 1.1 2005/12/23 15:34:28 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 + +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/mysql5 + maintenance/postgresql + maintenance/storage + skins + 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 +} |