diff options
author | Christian Parpart <trapni@gentoo.org> | 2006-05-04 00:29:32 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2006-05-04 00:29:32 +0000 |
commit | 232dd6d715c87c0ab7f6f959fab81c0c4727f8b9 (patch) | |
tree | 09c911a897cd7a829d410748e612511d95f148f5 /www-apps/mediawiki | |
parent | use alternatives to install lemon (diff) | |
download | gentoo-2-232dd6d715c87c0ab7f6f959fab81c0c4727f8b9.tar.gz gentoo-2-232dd6d715c87c0ab7f6f959fab81c0c4727f8b9.tar.bz2 gentoo-2-232dd6d715c87c0ab7f6f959fab81c0c4727f8b9.zip |
version bump
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'www-apps/mediawiki')
-rw-r--r-- | www-apps/mediawiki/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/mediawiki/files/digest-mediawiki-1.6.5 | 3 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.6.5.ebuild | 144 |
3 files changed, 154 insertions, 1 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog index 991999fafa18..2ccaf46088e4 100644 --- a/www-apps/mediawiki/ChangeLog +++ b/www-apps/mediawiki/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/mediawiki # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.55 2006/05/02 21:41:08 trapni Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.56 2006/05/04 00:29:32 trapni Exp $ + +*mediawiki-1.6.5 (03 May 2006) + + 03 May 2006; Christian Parpart <trapni@gentoo.org> + +mediawiki-1.6.5.ebuild: + version bump *mediawiki-1.6.4 (02 May 2006) diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.6.5 b/www-apps/mediawiki/files/digest-mediawiki-1.6.5 new file mode 100644 index 000000000000..4b44a2779baf --- /dev/null +++ b/www-apps/mediawiki/files/digest-mediawiki-1.6.5 @@ -0,0 +1,3 @@ +MD5 cc0611fa713d81303a3b9ea16f25a136 mediawiki-1.6.5.tar.gz 2722041 +RMD160 8916c2071053e44b2ab1c317db884c8dcc21186f mediawiki-1.6.5.tar.gz 2722041 +SHA256 1599e10aa0019ef7a70ff858150b15604e56eea69244bff4ec286c6214ecff71 mediawiki-1.6.5.tar.gz 2722041 diff --git a/www-apps/mediawiki/mediawiki-1.6.5.ebuild b/www-apps/mediawiki/mediawiki-1.6.5.ebuild new file mode 100644 index 000000000000..1d9fc4ee58f5 --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.6.5.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.6.5.ebuild,v 1.1 2006/05/04 00:29:32 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 ~ppc ~sparc ~x86" +IUSE="imagemagick math" + +S="${WORKDIR}/${P/.0_/}" + +DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )" + +RDEPEND=" + >=dev-db/mysql-4.0.14 + math? ( + virtual/tetex + virtual/ghostscript + media-gfx/imagemagick + ) + imagemagick? ( + media-gfx/imagemagick + ) +" + +need_php + +pkg_setup() { + webapp_pkg_setup + require_php_with_use pcre session + 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=( + "bin" + "config" + "extensions" + "images" + "includes" + "includes/cbt" + "includes/normal" + "includes/templates" + "includes/zhtable" + "languages" + "locale" + "maintenance" + "maintenance/archives" + "maintenance/dtrace" + "maintenance/mysql5" + "maintenance/oracle" + "maintenance/oracle/archive" + "maintenance/storage" + "skins" + "skins/chick" + "skins/common" + "skins/common/images" + "skins/common/images/icons" + "skins/disabled" + "skins/htmldump" + "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.5-en.txt + webapp_src_install +} |