From: Philippe Trottier Date: Tue, 9 Jan 2007 10:27:14 +0000 (+0000) Subject: bug 161091 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=95d89b6bb285477cd820fd749655e1cc9df75405;p=gentoo.git bug 161091 Package-Manager: portage-2.1.1-r2 --- diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index 9c6168a7a615..2c617a144110 100644 --- a/www-apps/mediawiki/Manifest +++ b/www-apps/mediawiki/Manifest @@ -14,10 +14,6 @@ AUX jobindexlength-mysql5.patch 711 RMD160 05b553a450e92ea42dda07525f294bdcdc409 MD5 449fd3e0f441a7dee98dfde7b658e373 files/jobindexlength-mysql5.patch 711 RMD160 05b553a450e92ea42dda07525f294bdcdc40969b files/jobindexlength-mysql5.patch 711 SHA256 bd4a0cf0594454ace7c149963b8b6c550b38faf97dc840e76f10bbfab528d281 files/jobindexlength-mysql5.patch 711 -AUX postinstall-1.4-en.txt 1843 RMD160 0edc078e798bd526698a78d5c8bbee9845abd391 SHA1 b7d56a2c8e97e34d3dfea05ceb32483e8df90426 SHA256 d986da24f01c1dceb6540ddc95fa18a2506184655438b26e1fba7546cf192653 -MD5 7ec90d807694699cb90d9a56ec2ff67b files/postinstall-1.4-en.txt 1843 -RMD160 0edc078e798bd526698a78d5c8bbee9845abd391 files/postinstall-1.4-en.txt 1843 -SHA256 d986da24f01c1dceb6540ddc95fa18a2506184655438b26e1fba7546cf192653 files/postinstall-1.4-en.txt 1843 AUX postinstall-1.5-en.txt 1842 RMD160 37e48f6025ac40ccc3e2e99c6d380c73979ba2a3 SHA1 b3118284f7157bcc0b11839f866d776ba6bb43b9 SHA256 bc59c510deac6d24887dee9ecd5ba71e9b2e28ee014614b2571d02d7d852081d MD5 90f0eb21b7617d28f1c524baabdf6c8c files/postinstall-1.5-en.txt 1842 RMD160 37e48f6025ac40ccc3e2e99c6d380c73979ba2a3 files/postinstall-1.5-en.txt 1842 @@ -26,51 +22,59 @@ AUX postinstall-en.txt 1731 RMD160 c6c370d046facf6a73c4827cd3f8510e63a442f3 SHA1 MD5 85f32b5fca9afd6479cdcea022c096f2 files/postinstall-en.txt 1731 RMD160 c6c370d046facf6a73c4827cd3f8510e63a442f3 files/postinstall-en.txt 1731 SHA256 cb0067f6f3fb8366f499ef5f81a07ac236620bf5792a6b4497a34d9302779a71 files/postinstall-en.txt 1731 -DIST mediawiki-1.4.15.tar.gz 1982704 RMD160 43b679b16a128ba5e40cf446a3ef47994e1033e0 SHA1 c1db9115690f44a610b98de9cba54adb2f2775ae SHA256 7f87c5dd9051a7721fc21a0005d15891273edaa842c8bd1e27c302b96fab6c05 -DIST mediawiki-1.5.8.tar.gz 2287928 RMD160 ecb530a5aa16ac90d87667652fdefc6424a36e38 SHA1 02def0948d508fb00ffef90685b53fd4ed5c6ee9 SHA256 28dbfc2c1602b1039a7408457f7774615e92553ac1b276e7aa55c34458708b61 DIST mediawiki-1.6.8.tar.gz 2728821 RMD160 a73c03f4e9cb9ca857dcba08eb4addc72d0b67f8 SHA1 b2ac945ceef2cac253a1e73b9de1da5f79aa7e77 SHA256 c2cc2e701007ea7a141567fb86e16a4680b17c03ef617e9d081a7af87aa95a39 +DIST mediawiki-1.6.9.tar.gz 2729054 RMD160 869c0f382b833937926e27193dc73818867f7a4c SHA1 a00bcc6b306a92234da0c2cd3d564869a15045a0 SHA256 faa5a0b03a96555f25b7d9a12d2d1fab646a75486cab4107117e282559a89c53 DIST mediawiki-1.7.1.tar.gz 3256428 RMD160 b1117b385971e6e02908e2cf4b610d082d75bad3 SHA1 bdd685d4fe5d7b0d8e0ef2cf9a843bbab60d20ac SHA256 c1b921faedddc14befe1c9593cba80cf6acfe86f21d9eca48617f7a95461bdd2 +DIST mediawiki-1.7.2.tar.gz 3256639 RMD160 722354c5da8efe3c753f7ed2a2adce921ec10e24 SHA1 f63468ce745bbda6d42f66fc64c713b4fd000ef2 SHA256 4323abd31c1d5d149bee1f74fa70173d0cc651bd5fe8bf0b1452705ede4743e0 DIST mediawiki-1.8.2.tar.gz 3491471 RMD160 85399c70d20d2a68a8e37944a84079655cc1b434 SHA1 d04c9d4c297c7707462626d88cf04d190bd9772b SHA256 1ff1ae27049e77db1af149d6bca193d13dd39a7586f3c14617e14abc46db129d -EBUILD mediawiki-1.4.15.ebuild 2886 RMD160 d58935c6122fd9892fcb36d404583749d4612f1a SHA1 c6d3b90b0f0aca5de3245142d12588917804ce0c SHA256 4beac8ef3b1c6eae507889731cfd93287de29050d40292f612c7b604637c90d3 -MD5 f663ae99b3fb6aa042c0057e69a4f899 mediawiki-1.4.15.ebuild 2886 -RMD160 d58935c6122fd9892fcb36d404583749d4612f1a mediawiki-1.4.15.ebuild 2886 -SHA256 4beac8ef3b1c6eae507889731cfd93287de29050d40292f612c7b604637c90d3 mediawiki-1.4.15.ebuild 2886 -EBUILD mediawiki-1.5.8.ebuild 2950 RMD160 78f0f10fffe3603a9bd4793463b4518a76608415 SHA1 ec50ffcc2d535f6db4f09f0d2b902182e62185c3 SHA256 5aaafdf4123f14d9b9ed58b2d09123c28cf7dfc13289279391fc7cde4d6622d4 -MD5 57278608cae32353a17b550595547dbf mediawiki-1.5.8.ebuild 2950 -RMD160 78f0f10fffe3603a9bd4793463b4518a76608415 mediawiki-1.5.8.ebuild 2950 -SHA256 5aaafdf4123f14d9b9ed58b2d09123c28cf7dfc13289279391fc7cde4d6622d4 mediawiki-1.5.8.ebuild 2950 +DIST mediawiki-1.8.3.tar.gz 3492474 RMD160 bcee8bec9fbb7d9189c39e32ccc0c1ed3601305c SHA1 fa4daa4376b80f61be5925e6172daa76938d9bad SHA256 0fe4d5177e75a52e2a68090813944a283e9c5178305bea1852f410edc93879d3 EBUILD mediawiki-1.6.8.ebuild 3140 RMD160 5848c9afd98908d907f3743f677585f38ff4298b SHA1 43273904bdb8867b1011ff48325d8a4175dbd87d SHA256 c062f671252e4723bd105c4a1756c614d73f11867de5b05b1ff803b85e4d56e9 MD5 d2aa1a1aab1197cb7059e67733f3c194 mediawiki-1.6.8.ebuild 3140 RMD160 5848c9afd98908d907f3743f677585f38ff4298b mediawiki-1.6.8.ebuild 3140 SHA256 c062f671252e4723bd105c4a1756c614d73f11867de5b05b1ff803b85e4d56e9 mediawiki-1.6.8.ebuild 3140 +EBUILD mediawiki-1.6.9.ebuild 3143 RMD160 56648707d5f8734130eb79b2d71969e05f45eec8 SHA1 f533254fca622a7a64e870887c9b8d485bc5a70e SHA256 23f14c7e26c0beb5cac4f2cb4d5894850e30ed3bf4f2ffb712284a60d597f6ef +MD5 ce06b6a0a99a72bd4b53ae48bd835b3a mediawiki-1.6.9.ebuild 3143 +RMD160 56648707d5f8734130eb79b2d71969e05f45eec8 mediawiki-1.6.9.ebuild 3143 +SHA256 23f14c7e26c0beb5cac4f2cb4d5894850e30ed3bf4f2ffb712284a60d597f6ef mediawiki-1.6.9.ebuild 3143 EBUILD mediawiki-1.7.1.ebuild 3287 RMD160 dc4eefd7230173b4c090f0c776ae7cf86b8f6e68 SHA1 6314b8042c37c5e15e7a14c94e47d2e3d4dc62f5 SHA256 c9509e6cf7106b980e3a42497ceecafe853d061f07d0177995fd57c36cf28f1a MD5 2ebdbacaadaf1c268fcfd9f81ec5a517 mediawiki-1.7.1.ebuild 3287 RMD160 dc4eefd7230173b4c090f0c776ae7cf86b8f6e68 mediawiki-1.7.1.ebuild 3287 SHA256 c9509e6cf7106b980e3a42497ceecafe853d061f07d0177995fd57c36cf28f1a mediawiki-1.7.1.ebuild 3287 -EBUILD mediawiki-1.8.2.ebuild 3551 RMD160 f46f0d24ae86063f0d003769ccf1b767226e289e SHA1 d5b730796dfa1ff47e68c4ff0103eabd1cb5c473 SHA256 b1862d7aa91f0e25bd93469c422070bcc684d1c75810e62b0c5d564cdf852b42 -MD5 2cfd9f4bed9cc1a16d2117352850570b mediawiki-1.8.2.ebuild 3551 -RMD160 f46f0d24ae86063f0d003769ccf1b767226e289e mediawiki-1.8.2.ebuild 3551 -SHA256 b1862d7aa91f0e25bd93469c422070bcc684d1c75810e62b0c5d564cdf852b42 mediawiki-1.8.2.ebuild 3551 -MISC ChangeLog 12010 RMD160 6fb236ec30238772454c7cf6b7426b94d98fc2bd SHA1 a28f9b093ca88e9eeb4627f36fb8c2b9331d7686 SHA256 1c876ab39b4d3ebddefc80d9c24cbf1a61e81d6fd863feff7e6403cbc4d2d490 -MD5 4618be65301a4952c0d39054671a3067 ChangeLog 12010 -RMD160 6fb236ec30238772454c7cf6b7426b94d98fc2bd ChangeLog 12010 -SHA256 1c876ab39b4d3ebddefc80d9c24cbf1a61e81d6fd863feff7e6403cbc4d2d490 ChangeLog 12010 +EBUILD mediawiki-1.7.2.ebuild 3287 RMD160 ee2252b7c24ae0c636e9b3ec61f74ed4018f1177 SHA1 c9098af210be45583339683f8e30832e3e5e9cc5 SHA256 dcc6e322300e37798be63ec3bf7463bda22191c993368dae15490804a19be924 +MD5 16526da7d2624f785a3759b3a89a0f1a mediawiki-1.7.2.ebuild 3287 +RMD160 ee2252b7c24ae0c636e9b3ec61f74ed4018f1177 mediawiki-1.7.2.ebuild 3287 +SHA256 dcc6e322300e37798be63ec3bf7463bda22191c993368dae15490804a19be924 mediawiki-1.7.2.ebuild 3287 +EBUILD mediawiki-1.8.2.ebuild 3549 RMD160 914d73b907dee66c0d8c79a42ff42cd270300d75 SHA1 c9d8a19719d45754839a4d36360fb7a8521a9248 SHA256 0ebca13c48b2dfe44417b954fbfb2e8f4d457ed8e1405c6026652f38c1055456 +MD5 fcf2324a8e70da24675951e7a0d099e7 mediawiki-1.8.2.ebuild 3549 +RMD160 914d73b907dee66c0d8c79a42ff42cd270300d75 mediawiki-1.8.2.ebuild 3549 +SHA256 0ebca13c48b2dfe44417b954fbfb2e8f4d457ed8e1405c6026652f38c1055456 mediawiki-1.8.2.ebuild 3549 +EBUILD mediawiki-1.8.3.ebuild 3474 RMD160 60df867701a02625b7296fdb3a11c6e41b155857 SHA1 a3b2b8567fa6dfdd9392e55e8a4ef35ecf2d982b SHA256 e84514c8067bd92874f5c74d892fcca59c7e719e541e8378188ed1a7b64515c0 +MD5 0ca21fd81dcca7280408c1721dca1ec8 mediawiki-1.8.3.ebuild 3474 +RMD160 60df867701a02625b7296fdb3a11c6e41b155857 mediawiki-1.8.3.ebuild 3474 +SHA256 e84514c8067bd92874f5c74d892fcca59c7e719e541e8378188ed1a7b64515c0 mediawiki-1.8.3.ebuild 3474 +MISC ChangeLog 12790 RMD160 b6a52d07516848d26161177549016e4b36d3981e SHA1 e925d9257ff02db5891cf188c9e8da4db4af55b7 SHA256 6e6d4ade51f0f7e6cfedfeee542e38b75faa1a07ffae2e1c7db942313b99bbed +MD5 007ae3b5176fad3bbb0182579e598acd ChangeLog 12790 +RMD160 b6a52d07516848d26161177549016e4b36d3981e ChangeLog 12790 +SHA256 6e6d4ade51f0f7e6cfedfeee542e38b75faa1a07ffae2e1c7db942313b99bbed ChangeLog 12790 MISC metadata.xml 366 RMD160 8be6da5afadbc6c6e57d589097d8f702d951bde3 SHA1 4c3b825388a712b4452ba16912b38b9aba76b78e SHA256 dddc4891c17811953d2cae412c4b1a713dc00b3629cd38a5b530c15a0acebcc2 MD5 6e1b02a80fc901d2eaadf52a50e0b905 metadata.xml 366 RMD160 8be6da5afadbc6c6e57d589097d8f702d951bde3 metadata.xml 366 SHA256 dddc4891c17811953d2cae412c4b1a713dc00b3629cd38a5b530c15a0acebcc2 metadata.xml 366 -MD5 01280440a861ad1ac806008bbf5cf5a9 files/digest-mediawiki-1.4.15 253 -RMD160 14e5b48d8b58622f0d42fbb9c7f6fc14d34c894e files/digest-mediawiki-1.4.15 253 -SHA256 3bf4ddb51e2e8068e756d70bf74c460563828bba4e612b46da1c8875e228f074 files/digest-mediawiki-1.4.15 253 -MD5 4317a67804cac69648fa72cbf25d22c5 files/digest-mediawiki-1.5.8 250 -RMD160 1d1cc9df10ce00940dd54897932acddf06051d9b files/digest-mediawiki-1.5.8 250 -SHA256 4d3426b5e5ea97829698df151b39e1263c4d99c98d06fe0e9607c000ad47668b files/digest-mediawiki-1.5.8 250 MD5 f983bc2c8809a6c0e696685ea98505e5 files/digest-mediawiki-1.6.8 250 RMD160 a2f0ddc4805a50fb74a8c6f3d21640979bf5c89b files/digest-mediawiki-1.6.8 250 SHA256 ad429d46f83d05cc18445aec8a52afc546df7ad83ace6ce97027f3fea56987a4 files/digest-mediawiki-1.6.8 250 +MD5 e01281394c8e4eae816f4797e1c47681 files/digest-mediawiki-1.6.9 250 +RMD160 eac662a2d5144e0fb5099978bdc3247be477f6ec files/digest-mediawiki-1.6.9 250 +SHA256 428e3904e5cd48938b64ad71e7bd97e1d905c07c1ca149305e327dbbedf06392 files/digest-mediawiki-1.6.9 250 MD5 578226a99822c123f8b879fbb9b65dd4 files/digest-mediawiki-1.7.1 250 RMD160 2883d419b27a9786b9b7d6b61a9f51de5c1e1fc5 files/digest-mediawiki-1.7.1 250 SHA256 8b8c6f5fd02cfce4f54718cc9eb848692635875b5885d9ef705cc5abc486900f files/digest-mediawiki-1.7.1 250 +MD5 70e64d6eff1da787880f69d5cbe940ff files/digest-mediawiki-1.7.2 250 +RMD160 02debce0b88be3a774bf335d40faa3332f2753d5 files/digest-mediawiki-1.7.2 250 +SHA256 c4effda5d654961d90d85e1a757830973925e83c446640a5cbf03c4dff196080 files/digest-mediawiki-1.7.2 250 MD5 3609db13dffc4eca2c8d3c03065dce74 files/digest-mediawiki-1.8.2 250 RMD160 fa2388c75160698613b7449d9d2a685ad4ff813b files/digest-mediawiki-1.8.2 250 SHA256 4112a96ead6a4a7c8863887f48191ff8e4cc9c0725eb0378d9947fd05fba083d files/digest-mediawiki-1.8.2 250 +MD5 8da40986d7d15f63d406870084136fd4 files/digest-mediawiki-1.8.3 250 +RMD160 e6b933608c56327eba5b6c8b911f76da026f14ab files/digest-mediawiki-1.8.3 250 +SHA256 51c3173513ff30b763048803a9f399ec25780b5c5a910399e6819463476a892f files/digest-mediawiki-1.8.3 250 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.5.8 b/www-apps/mediawiki/files/digest-mediawiki-1.5.8 deleted file mode 100644 index ab25b2129a38..000000000000 --- a/www-apps/mediawiki/files/digest-mediawiki-1.5.8 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 1eef94157377fa8c3d049877a27c0163 mediawiki-1.5.8.tar.gz 2287928 -RMD160 ecb530a5aa16ac90d87667652fdefc6424a36e38 mediawiki-1.5.8.tar.gz 2287928 -SHA256 28dbfc2c1602b1039a7408457f7774615e92553ac1b276e7aa55c34458708b61 mediawiki-1.5.8.tar.gz 2287928 diff --git a/www-apps/mediawiki/files/postinstall-1.4-en.txt b/www-apps/mediawiki/files/postinstall-1.4-en.txt deleted file mode 100644 index b1da07d51d95..000000000000 --- a/www-apps/mediawiki/files/postinstall-1.4-en.txt +++ /dev/null @@ -1,58 +0,0 @@ - -Completing setup: - -To complete installation cd into the MediaWiki install location, but -make sure to start mysql first with: - -$ /etc/init.d/mysql start - -$ cd /var/www/localhost/htdocs/mediawiki/ - -The host directory, localhost, may change depending on your installation. - -Then temporarily make the MediaWiki /config directory writable -to the user the web server is running as. The quickest way is -to make the directory world writable. For example: - -$ chmod a+w config - -Then access it, for example: - -lynx http://localhost/mediawiki/config/ - -After setup move the newly created LocalSettings.php from the config/ -directory to the main mediawiki directory, for example: - -$ mv config/LocalSettings.php . - - Remember to restore safe permissions to the MediaWiki config/ and - LocalSettings.php (which contains clear-text passwords). - chmod a-w config - chmod ug=r,o= LocalSettings.php - chown root:apache LocalSettings.php - -After these steps MediaWiki should be accesable at -http://localhost/mediawiki/ - -Enabling Optional Features: - -If you wish to enable image uploads then you must manually edit the -LocalSettings.php file to uncomment the \$wgDisableUploads line. -If MediaWiki was built with the imagemagick USE-flag the directory -permissions are correct, otherwise you must install ImageMagick and -also adjust permissions on the images directory to allow the server -to write. For example: - -$ chown apache:apache /var/www/localhost/htdocs/mediawiki/images - -Math Support: - -If you wish to enable the math support then you must manually edit" -the LocalSettings.php file to uncomment the \$wgUseTeX line. -MediaWiki must have been built with the math USE-flag enabled or the -necessary support executable will not be present. -You may also have to execute - -$ texconfig dvips printcmd - - -if you have not configured tetex before. diff --git a/www-apps/mediawiki/mediawiki-1.4.15.ebuild b/www-apps/mediawiki/mediawiki-1.4.15.ebuild deleted file mode 100644 index 2a8057bcf2c1..000000000000 --- a/www-apps/mediawiki/mediawiki-1.4.15.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# 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.4.15.ebuild,v 1.3 2006/11/23 17:17:48 vivo 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="virtual/php - >=virtual/mysql-4.0 - math? ( virtual/tetex - virtual/ghostscript - media-gfx/imagemagick ) - imagemagick? ( media-gfx/imagemagick )" - -pkg_setup() { - webapp_pkg_setup - require_php_with_use pcre session mysql - 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 - irc - languages - maintenance - maintenance/archives - maintenance/postgresql - skins - skins/amethyst - skins/chick - skins/common - skins/common/images - skins/disabled - skins/monobook - skins/myskin - " - 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/*.doc - rm -f docs/*.doc - - 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 -} diff --git a/www-apps/mediawiki/mediawiki-1.5.8.ebuild b/www-apps/mediawiki/mediawiki-1.5.8.ebuild deleted file mode 100644 index 0c87e0061834..000000000000 --- a/www-apps/mediawiki/mediawiki-1.5.8.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# 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.5.8.ebuild,v 1.4 2006/11/23 17:17:48 vivo 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=" - >=virtual/mysql-4.0 - 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 mysql - 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.5-en.txt - webapp_src_install -}