www-apps/mediawiki: Bump
(Portage version: 2.2.0_alpha84/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
This commit is contained in:
parent
2dba70de84
commit
43d7f148c9
@ -1,7 +1,17 @@
|
|||||||
# ChangeLog for www-apps/mediawiki
|
# ChangeLog for www-apps/mediawiki
|
||||||
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.136 2010/04/15 20:25:15 maekke Exp $
|
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.136 2010/04/15 20:25:15 maekke Exp $
|
||||||
|
|
||||||
|
*mediawiki-1.18.1-r1 (30 Jan 2012)
|
||||||
|
*mediawiki-1.16.5-r1 (30 Jan 2012)
|
||||||
|
|
||||||
|
30 Jan 2012; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
-files/mediawiki-1.15.1-restrict-0.8.4.patch, -mediawiki-1.15.5.ebuild,
|
||||||
|
-mediawiki-1.16.0.ebuild, -mediawiki-1.16.1.ebuild, -mediawiki-1.16.2.ebuild,
|
||||||
|
-mediawiki-1.16.3.ebuild, -mediawiki-1.16.4.ebuild,
|
||||||
|
+mediawiki-1.16.5-r1.ebuild, +mediawiki-1.18.1-r1.ebuild:
|
||||||
|
Bump
|
||||||
|
|
||||||
*mediawiki-1.16.4 (23 Apr 2011)
|
*mediawiki-1.16.4 (23 Apr 2011)
|
||||||
*mediawiki-1.16.3 (23 Apr 2011)
|
*mediawiki-1.16.3 (23 Apr 2011)
|
||||||
*mediawiki-1.16.2 (23 Apr 2011)
|
*mediawiki-1.16.2 (23 Apr 2011)
|
||||||
|
@ -1,18 +1,9 @@
|
|||||||
AUX mediawiki-1.15.1-restrict-0.8.4.patch 85120 RMD160 08867fba1a7d10c4bcf9879f467ae0e68b39fb49 SHA1 7577154e26e3b746fcb4b389eaa80c7b02e6258c SHA256 2d3abad56abdfce4a162bd895e00832a0fc5427965da76a641b16901c85fea62
|
|
||||||
AUX mediawiki-1.16.0-restrict-0.8.4-1.patch 84849 RMD160 0e9b75ad1c9affef1c2576b527c61b7ce73997bf SHA1 820c403d59599e4db42cca21933c455fef98636f SHA256 fac5f321d90b0d4ecf4d4f01266b085dc2e06cf0b4738caf604d07167298fa66
|
AUX mediawiki-1.16.0-restrict-0.8.4-1.patch 84849 RMD160 0e9b75ad1c9affef1c2576b527c61b7ce73997bf SHA1 820c403d59599e4db42cca21933c455fef98636f SHA256 fac5f321d90b0d4ecf4d4f01266b085dc2e06cf0b4738caf604d07167298fa66
|
||||||
AUX postinstall-1.13-en.txt 2751 RMD160 4f6c918bc1b897ed017ab8129a6d5387e982e07a SHA1 a4afb248ab7cb7abe25aa9d69533a7fd52401d73 SHA256 cebfe53c219cd6acacffcf0ed24493c0aa3180c89fa954e4a7e458dd0feb62c9
|
AUX postinstall-1.13-en.txt 2751 RMD160 4f6c918bc1b897ed017ab8129a6d5387e982e07a SHA1 a4afb248ab7cb7abe25aa9d69533a7fd52401d73 SHA256 cebfe53c219cd6acacffcf0ed24493c0aa3180c89fa954e4a7e458dd0feb62c9
|
||||||
AUX postupgrade-1.13-en.txt 1651 RMD160 aaae13a05a0984dfb327b9b5e2c6faa0d3c0c037 SHA1 a97fb9f33d964a795ec159df0628e1897b12e257 SHA256 be7ed53ebce19077a55ce3fbd7eafca7843fffc0c5e821549a4e2e1db9c560bf
|
AUX postupgrade-1.13-en.txt 1651 RMD160 aaae13a05a0984dfb327b9b5e2c6faa0d3c0c037 SHA1 a97fb9f33d964a795ec159df0628e1897b12e257 SHA256 be7ed53ebce19077a55ce3fbd7eafca7843fffc0c5e821549a4e2e1db9c560bf
|
||||||
DIST mediawiki-1.15.5.tar.gz 11595008 RMD160 5113beb1df46c56275a90d5a1cb85c2b01ca541f SHA1 b157fe37bb89c78e5ffa0f27b14beb886db3a5f4 SHA256 f838c94af81e018dcf11f77674d2a363e97b8832d0d66416294fd301db720ab5
|
DIST mediawiki-1.16.5.tar.gz 13235937 RMD160 0a8298051baaf02f400bc6f317508f7b7544ec57 SHA1 2526a5aebeafe49dcbfb1584823e467445daf1ae SHA256 5b451f578d9876f02a1a4363851d1558385290638676680ab33dc26116db20cb
|
||||||
DIST mediawiki-1.16.0.tar.gz 12647934 RMD160 dc65164fd92bdfbc22992652cd31789d08527936 SHA1 41d6dc0530eb00fd96f48690b8d7041d2b7fd7f3 SHA256 81abaf3393cfbffb464f9c2da8c091983b49bbbb09d156669b443042cd48ac92
|
DIST mediawiki-1.18.1.tar.gz 17271798 RMD160 066871f63d38120ba0985f5168351a6a66a45758 SHA1 1c433523a5ae2835e97462053e08ad7c01e178d2 SHA256 d9db16b4f18bc43984f323ad90f724ee5ffa52e1f21e6c453bc8d4b1210e1a34
|
||||||
DIST mediawiki-1.16.1.tar.gz 12651399 RMD160 4af3d31325682801062b898736eaecd77175d2f9 SHA1 9287498265f2d881e19731fba303bd59bad61fe9 SHA256 ac6b7f40d50aabd10b708f9119118cd404414b137f371192696cebdd32877abd
|
EBUILD mediawiki-1.16.5-r1.ebuild 3887 RMD160 56b5aa102247414a58d2c3f2244d01c151cd434e SHA1 27e92dcdb786abb8841d6de8c775d2fb55fc67c0 SHA256 d147fe6deff2485561282341445d3238fbb4b6d57ebee3cb805c15302d276d81
|
||||||
DIST mediawiki-1.16.2.tar.gz 13072216 RMD160 27173b5dbdca9733fa9e55b1c04c8d61071f68cd SHA1 cb8565fafc847d8a0d59f4fdb7a09183267c4d5c SHA256 c33be7df9f705df07ab8bdb53cf0ed2c993819b3feaffa96fbcd123b50c78454
|
EBUILD mediawiki-1.18.1-r1.ebuild 3850 RMD160 c228d34dc33fca73ef0637cb5b3888eeb245353f SHA1 178b13edecceadc037c6070c8786188b2f8826d7 SHA256 8fbb55caf33d6f050260c3e69464ced64b0b26215daace789b6b505c74f90441
|
||||||
DIST mediawiki-1.16.3.tar.gz 13192922 RMD160 5d24f4de5b94d981f279b9ca5f9fe32df6f78cc7 SHA1 e82d815f48fb56edc00aad36ff2a8cd6cfdfafdd SHA256 1b53e5ea79e560e75e12b0f9c454832ef9f600b3366a95e3539434e735e336b0
|
MISC ChangeLog 24928 RMD160 c1213ae08838cf00acc3dbb5c3ecdd67d9333f4e SHA1 bbb7ed0033169023b8af5a725b8dd6afbcfd548e SHA256 e85053d5aecea49ea4d762d5abdd2307d20fbad8de34ec6667301408a53b13dc
|
||||||
DIST mediawiki-1.16.4.tar.gz 13196153 RMD160 7a438be56ebf57e363769b567add173ac5edbb71 SHA1 a6917e906f3979806aacdd6bd186c74d7e248dd9 SHA256 59b39e9dabb8df297a9dcb4d66920294b3f86ad755739d0bd6dc40cf52a69c08
|
|
||||||
EBUILD mediawiki-1.15.5.ebuild 3686 RMD160 3b744c35d167e3a3532f87607c9f13e960bba595 SHA1 9c690b35fd2912309ff8410cf6f976e7ced074e1 SHA256 a93417a93d47d500c4eb5bb6f555dd13414e2fa506c39babbbb3f479bd18539c
|
|
||||||
EBUILD mediawiki-1.16.0.ebuild 3697 RMD160 f063729d1e07bfd0b2154ad49fb1367b80b8ded4 SHA1 2fdea7d54a8b7d10b3a39537c33491b6cd3ffb91 SHA256 87efde0ada20de66e75b3a719f489ef82070cd6e6be4396322a71b74aeab94be
|
|
||||||
EBUILD mediawiki-1.16.1.ebuild 3697 RMD160 ad3153950972d9b64181ed8000b4507b800a571c SHA1 f9f610442d508771808009244b52d401f5574625 SHA256 69b53f05ff9cf3ad5864e25f7e6cd6f2bcbbbb824af9082d39c2b92aa912e155
|
|
||||||
EBUILD mediawiki-1.16.2.ebuild 3697 RMD160 ad3153950972d9b64181ed8000b4507b800a571c SHA1 f9f610442d508771808009244b52d401f5574625 SHA256 69b53f05ff9cf3ad5864e25f7e6cd6f2bcbbbb824af9082d39c2b92aa912e155
|
|
||||||
EBUILD mediawiki-1.16.3.ebuild 3697 RMD160 ad3153950972d9b64181ed8000b4507b800a571c SHA1 f9f610442d508771808009244b52d401f5574625 SHA256 69b53f05ff9cf3ad5864e25f7e6cd6f2bcbbbb824af9082d39c2b92aa912e155
|
|
||||||
EBUILD mediawiki-1.16.4.ebuild 3697 RMD160 ad3153950972d9b64181ed8000b4507b800a571c SHA1 f9f610442d508771808009244b52d401f5574625 SHA256 69b53f05ff9cf3ad5864e25f7e6cd6f2bcbbbb824af9082d39c2b92aa912e155
|
|
||||||
MISC ChangeLog 24530 RMD160 7bdbedca38c8ef6f8b16430216f5fe3e3db5396a SHA1 5c6d6e630a7dac4545f7af933f008aa56642499f SHA256 2ca4d792f40ec4ca56870dca4641d9dbcdf375811ca1cf9e8ea9d06508af8dec
|
|
||||||
MISC metadata.xml 418 RMD160 337019d783d66bbadf67162c84d6d3b8b3a8f0f4 SHA1 b49b71fd11a91a2e5f8953cf9a1643abee3c67b3 SHA256 68dd9b135528db0c39e306e60b4e910b402ee121fa1b0dc17107d1ba7c66d0eb
|
MISC metadata.xml 418 RMD160 337019d783d66bbadf67162c84d6d3b8b3a8f0f4 SHA1 b49b71fd11a91a2e5f8953cf9a1643abee3c67b3 SHA256 68dd9b135528db0c39e306e60b4e910b402ee121fa1b0dc17107d1ba7c66d0eb
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,132 +0,0 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.15.2.ebuild,v 1.5 2010/04/15 20:25:15 maekke Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
inherit webapp depend.php versionator eutils
|
|
||||||
|
|
||||||
MY_BRANCH=$(get_version_component_range 1-2)
|
|
||||||
|
|
||||||
DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
|
|
||||||
HOMEPAGE="http://www.mediawiki.org"
|
|
||||||
SRC_URI="http://download.wikimedia.org/mediawiki/${MY_BRANCH}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ppc sparc x86"
|
|
||||||
IUSE="imagemagick math mysql postgres +ocamlopt"
|
|
||||||
|
|
||||||
DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )
|
|
||||||
|| ( <dev-lang/php-5.3[pcre,spl] >=dev-lang/php-5.3 )
|
|
||||||
dev-lang/php[session,xml,mysql?,postgres?]
|
|
||||||
|| ( dev-lang/php[gd] dev-lang/php[gd-external] )
|
|
||||||
ocamlopt? ( math? ( dev-lang/ocaml[ocamlopt] ) )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
math? (
|
|
||||||
app-text/dvipng
|
|
||||||
virtual/tex-base
|
|
||||||
app-text/ghostscript-gpl
|
|
||||||
media-gfx/imagemagick
|
|
||||||
)
|
|
||||||
imagemagick? ( media-gfx/imagemagick )"
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
need_httpd_cgi
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
webapp_src_prepare
|
|
||||||
epatch "${FILESDIR}"/mediawiki-1.16.0-restrict-0.8.4-1.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if use math; then
|
|
||||||
einfo "Compiling math support"
|
|
||||||
cd math || die
|
|
||||||
if ! use ocamlopt; then
|
|
||||||
sed -e "s/ocamlopt/ocamlc/" \
|
|
||||||
-e "s/cmxa/cma/" \
|
|
||||||
-e "s/cmx/cmo/g" -i Makefile || die
|
|
||||||
fi
|
|
||||||
emake || die
|
|
||||||
else
|
|
||||||
einfo "No math support enabled. Skipping."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# TODO: 1. think about includes/zhtable/ support
|
|
||||||
# 2. generate docs (?): echo '0' | php mwdocgen.php
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
webapp_src_preinst
|
|
||||||
|
|
||||||
# First we install math, docs and then copy everything left into htdocs dir
|
|
||||||
# to avoid bugs like #236411.
|
|
||||||
|
|
||||||
# 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"
|
|
||||||
exeinto "${MY_HTDOCSDIR}"/math
|
|
||||||
doexe math/texvc || die "Failed to create math support executable."
|
|
||||||
|
|
||||||
docinto math
|
|
||||||
dodoc math/{README,TODO}
|
|
||||||
docinto ""
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
local DOCS="FAQ HISTORY INSTALL README* RELEASE-NOTES UPGRADE CREDITS"
|
|
||||||
dodoc ${DOCS} docs/*.txt
|
|
||||||
docinto php-memcached
|
|
||||||
dodoc docs/php-memcached/*
|
|
||||||
|
|
||||||
# Clean everything not used at the site...
|
|
||||||
rm -rf ${DOCS} COPYING tests math t docs
|
|
||||||
find . -name Makefile -delete
|
|
||||||
# and install
|
|
||||||
insinto "${MY_HTDOCSDIR}"
|
|
||||||
doins -r .
|
|
||||||
|
|
||||||
# If imagemagick is enabled then setup for image upload.
|
|
||||||
# We ensure the directory is prepared for writing.
|
|
||||||
if use imagemagick; then
|
|
||||||
webapp_serverowned "${MY_HTDOCSDIR}"/images
|
|
||||||
fi
|
|
||||||
|
|
||||||
webapp_postinst_txt en "${FILESDIR}/postinstall-1.13-en.txt"
|
|
||||||
webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.13-en.txt"
|
|
||||||
webapp_src_install
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
prev_instal="false"
|
|
||||||
if has_version ${CATEGORY}/${PN}; then
|
|
||||||
prev_instal="true"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
webapp_pkg_postinst
|
|
||||||
if ${prev_instal}; then
|
|
||||||
einfo
|
|
||||||
elog "=== Consult the release notes ==="
|
|
||||||
elog "Before doing anything, stop and consult the release notes"
|
|
||||||
elog "/usr/share/doc/${PF}/RELEASE-NOTES.bz2"
|
|
||||||
elog
|
|
||||||
elog "These detail bug fixes, new features and functionality, and any"
|
|
||||||
elog "particular points that may need to be noted during the upgrade procedure."
|
|
||||||
einfo
|
|
||||||
ewarn "Back up existing files and the database before upgrade."
|
|
||||||
ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
|
|
||||||
ewarn "provides an overview of the backup process."
|
|
||||||
einfo
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,132 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.15.2.ebuild,v 1.5 2010/04/15 20:25:15 maekke Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
inherit webapp depend.php versionator eutils
|
|
||||||
|
|
||||||
MY_BRANCH=$(get_version_component_range 1-2)
|
|
||||||
|
|
||||||
DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
|
|
||||||
HOMEPAGE="http://www.mediawiki.org"
|
|
||||||
SRC_URI="http://download.wikimedia.org/mediawiki/${MY_BRANCH}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ppc sparc x86"
|
|
||||||
IUSE="imagemagick math mysql postgres +ocamlopt"
|
|
||||||
|
|
||||||
DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )
|
|
||||||
|| ( <dev-lang/php-5.3[pcre,spl] >=dev-lang/php-5.3 )
|
|
||||||
dev-lang/php[session,xml,mysql?,postgres?]
|
|
||||||
|| ( dev-lang/php[gd] dev-lang/php[gd-external] )
|
|
||||||
ocamlopt? ( math? ( dev-lang/ocaml[ocamlopt] ) )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
math? (
|
|
||||||
app-text/dvipng
|
|
||||||
virtual/tex-base
|
|
||||||
app-text/ghostscript-gpl
|
|
||||||
media-gfx/imagemagick
|
|
||||||
)
|
|
||||||
imagemagick? ( media-gfx/imagemagick )"
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
need_httpd_cgi
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
webapp_src_prepare
|
|
||||||
epatch "${FILESDIR}"/mediawiki-1.16.0-restrict-0.8.4-1.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if use math; then
|
|
||||||
einfo "Compiling math support"
|
|
||||||
cd math || die
|
|
||||||
if ! use ocamlopt; then
|
|
||||||
sed -e "s/ocamlopt/ocamlc/" \
|
|
||||||
-e "s/cmxa/cma/" \
|
|
||||||
-e "s/cmx/cmo/g" -i Makefile || die
|
|
||||||
fi
|
|
||||||
emake || die
|
|
||||||
else
|
|
||||||
einfo "No math support enabled. Skipping."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# TODO: 1. think about includes/zhtable/ support
|
|
||||||
# 2. generate docs (?): echo '0' | php mwdocgen.php
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
webapp_src_preinst
|
|
||||||
|
|
||||||
# First we install math, docs and then copy everything left into htdocs dir
|
|
||||||
# to avoid bugs like #236411.
|
|
||||||
|
|
||||||
# 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"
|
|
||||||
exeinto "${MY_HTDOCSDIR}"/math
|
|
||||||
doexe math/texvc || die "Failed to create math support executable."
|
|
||||||
|
|
||||||
docinto math
|
|
||||||
dodoc math/{README,TODO}
|
|
||||||
docinto ""
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
local DOCS="FAQ HISTORY INSTALL README* RELEASE-NOTES UPGRADE CREDITS"
|
|
||||||
dodoc ${DOCS} docs/*.txt
|
|
||||||
docinto php-memcached
|
|
||||||
dodoc docs/php-memcached/*
|
|
||||||
|
|
||||||
# Clean everything not used at the site...
|
|
||||||
rm -rf ${DOCS} COPYING tests math t docs
|
|
||||||
find . -name Makefile -delete
|
|
||||||
# and install
|
|
||||||
insinto "${MY_HTDOCSDIR}"
|
|
||||||
doins -r .
|
|
||||||
|
|
||||||
# If imagemagick is enabled then setup for image upload.
|
|
||||||
# We ensure the directory is prepared for writing.
|
|
||||||
if use imagemagick; then
|
|
||||||
webapp_serverowned "${MY_HTDOCSDIR}"/images
|
|
||||||
fi
|
|
||||||
|
|
||||||
webapp_postinst_txt en "${FILESDIR}/postinstall-1.13-en.txt"
|
|
||||||
webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.13-en.txt"
|
|
||||||
webapp_src_install
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
prev_instal="false"
|
|
||||||
if has_version ${CATEGORY}/${PN}; then
|
|
||||||
prev_instal="true"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
webapp_pkg_postinst
|
|
||||||
if ${prev_instal}; then
|
|
||||||
einfo
|
|
||||||
elog "=== Consult the release notes ==="
|
|
||||||
elog "Before doing anything, stop and consult the release notes"
|
|
||||||
elog "/usr/share/doc/${PF}/RELEASE-NOTES.bz2"
|
|
||||||
elog
|
|
||||||
elog "These detail bug fixes, new features and functionality, and any"
|
|
||||||
elog "particular points that may need to be noted during the upgrade procedure."
|
|
||||||
einfo
|
|
||||||
ewarn "Back up existing files and the database before upgrade."
|
|
||||||
ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
|
|
||||||
ewarn "provides an overview of the backup process."
|
|
||||||
einfo
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,132 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.15.2.ebuild,v 1.5 2010/04/15 20:25:15 maekke Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
inherit webapp depend.php versionator eutils
|
|
||||||
|
|
||||||
MY_BRANCH=$(get_version_component_range 1-2)
|
|
||||||
|
|
||||||
DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
|
|
||||||
HOMEPAGE="http://www.mediawiki.org"
|
|
||||||
SRC_URI="http://download.wikimedia.org/mediawiki/${MY_BRANCH}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ppc sparc x86"
|
|
||||||
IUSE="imagemagick math mysql postgres +ocamlopt"
|
|
||||||
|
|
||||||
DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )
|
|
||||||
|| ( <dev-lang/php-5.3[pcre,spl] >=dev-lang/php-5.3 )
|
|
||||||
dev-lang/php[session,xml,mysql?,postgres?]
|
|
||||||
|| ( dev-lang/php[gd] dev-lang/php[gd-external] )
|
|
||||||
ocamlopt? ( math? ( dev-lang/ocaml[ocamlopt] ) )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
math? (
|
|
||||||
app-text/dvipng
|
|
||||||
virtual/tex-base
|
|
||||||
app-text/ghostscript-gpl
|
|
||||||
media-gfx/imagemagick
|
|
||||||
)
|
|
||||||
imagemagick? ( media-gfx/imagemagick )"
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
need_httpd_cgi
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
webapp_src_prepare
|
|
||||||
epatch "${FILESDIR}"/mediawiki-1.16.0-restrict-0.8.4-1.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if use math; then
|
|
||||||
einfo "Compiling math support"
|
|
||||||
cd math || die
|
|
||||||
if ! use ocamlopt; then
|
|
||||||
sed -e "s/ocamlopt/ocamlc/" \
|
|
||||||
-e "s/cmxa/cma/" \
|
|
||||||
-e "s/cmx/cmo/g" -i Makefile || die
|
|
||||||
fi
|
|
||||||
emake || die
|
|
||||||
else
|
|
||||||
einfo "No math support enabled. Skipping."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# TODO: 1. think about includes/zhtable/ support
|
|
||||||
# 2. generate docs (?): echo '0' | php mwdocgen.php
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
webapp_src_preinst
|
|
||||||
|
|
||||||
# First we install math, docs and then copy everything left into htdocs dir
|
|
||||||
# to avoid bugs like #236411.
|
|
||||||
|
|
||||||
# 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"
|
|
||||||
exeinto "${MY_HTDOCSDIR}"/math
|
|
||||||
doexe math/texvc || die "Failed to create math support executable."
|
|
||||||
|
|
||||||
docinto math
|
|
||||||
dodoc math/{README,TODO}
|
|
||||||
docinto ""
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
local DOCS="FAQ HISTORY INSTALL README* RELEASE-NOTES UPGRADE CREDITS"
|
|
||||||
dodoc ${DOCS} docs/*.txt
|
|
||||||
docinto php-memcached
|
|
||||||
dodoc docs/php-memcached/*
|
|
||||||
|
|
||||||
# Clean everything not used at the site...
|
|
||||||
rm -rf ${DOCS} COPYING tests math t docs
|
|
||||||
find . -name Makefile -delete
|
|
||||||
# and install
|
|
||||||
insinto "${MY_HTDOCSDIR}"
|
|
||||||
doins -r .
|
|
||||||
|
|
||||||
# If imagemagick is enabled then setup for image upload.
|
|
||||||
# We ensure the directory is prepared for writing.
|
|
||||||
if use imagemagick; then
|
|
||||||
webapp_serverowned "${MY_HTDOCSDIR}"/images
|
|
||||||
fi
|
|
||||||
|
|
||||||
webapp_postinst_txt en "${FILESDIR}/postinstall-1.13-en.txt"
|
|
||||||
webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.13-en.txt"
|
|
||||||
webapp_src_install
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
prev_instal="false"
|
|
||||||
if has_version ${CATEGORY}/${PN}; then
|
|
||||||
prev_instal="true"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
webapp_pkg_postinst
|
|
||||||
if ${prev_instal}; then
|
|
||||||
einfo
|
|
||||||
elog "=== Consult the release notes ==="
|
|
||||||
elog "Before doing anything, stop and consult the release notes"
|
|
||||||
elog "/usr/share/doc/${PF}/RELEASE-NOTES.bz2"
|
|
||||||
elog
|
|
||||||
elog "These detail bug fixes, new features and functionality, and any"
|
|
||||||
elog "particular points that may need to be noted during the upgrade procedure."
|
|
||||||
einfo
|
|
||||||
ewarn "Back up existing files and the database before upgrade."
|
|
||||||
ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
|
|
||||||
ewarn "provides an overview of the backup process."
|
|
||||||
einfo
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,132 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.15.2.ebuild,v 1.5 2010/04/15 20:25:15 maekke Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
inherit webapp depend.php versionator eutils
|
|
||||||
|
|
||||||
MY_BRANCH=$(get_version_component_range 1-2)
|
|
||||||
|
|
||||||
DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
|
|
||||||
HOMEPAGE="http://www.mediawiki.org"
|
|
||||||
SRC_URI="http://download.wikimedia.org/mediawiki/${MY_BRANCH}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ppc sparc x86"
|
|
||||||
IUSE="imagemagick math mysql postgres +ocamlopt"
|
|
||||||
|
|
||||||
DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )
|
|
||||||
|| ( <dev-lang/php-5.3[pcre,spl] >=dev-lang/php-5.3 )
|
|
||||||
dev-lang/php[session,xml,mysql?,postgres?]
|
|
||||||
|| ( dev-lang/php[gd] dev-lang/php[gd-external] )
|
|
||||||
ocamlopt? ( math? ( dev-lang/ocaml[ocamlopt] ) )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
math? (
|
|
||||||
app-text/dvipng
|
|
||||||
virtual/tex-base
|
|
||||||
app-text/ghostscript-gpl
|
|
||||||
media-gfx/imagemagick
|
|
||||||
)
|
|
||||||
imagemagick? ( media-gfx/imagemagick )"
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
need_httpd_cgi
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
webapp_src_prepare
|
|
||||||
epatch "${FILESDIR}"/mediawiki-1.16.0-restrict-0.8.4-1.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if use math; then
|
|
||||||
einfo "Compiling math support"
|
|
||||||
cd math || die
|
|
||||||
if ! use ocamlopt; then
|
|
||||||
sed -e "s/ocamlopt/ocamlc/" \
|
|
||||||
-e "s/cmxa/cma/" \
|
|
||||||
-e "s/cmx/cmo/g" -i Makefile || die
|
|
||||||
fi
|
|
||||||
emake || die
|
|
||||||
else
|
|
||||||
einfo "No math support enabled. Skipping."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# TODO: 1. think about includes/zhtable/ support
|
|
||||||
# 2. generate docs (?): echo '0' | php mwdocgen.php
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
webapp_src_preinst
|
|
||||||
|
|
||||||
# First we install math, docs and then copy everything left into htdocs dir
|
|
||||||
# to avoid bugs like #236411.
|
|
||||||
|
|
||||||
# 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"
|
|
||||||
exeinto "${MY_HTDOCSDIR}"/math
|
|
||||||
doexe math/texvc || die "Failed to create math support executable."
|
|
||||||
|
|
||||||
docinto math
|
|
||||||
dodoc math/{README,TODO}
|
|
||||||
docinto ""
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
local DOCS="FAQ HISTORY INSTALL README* RELEASE-NOTES UPGRADE CREDITS"
|
|
||||||
dodoc ${DOCS} docs/*.txt
|
|
||||||
docinto php-memcached
|
|
||||||
dodoc docs/php-memcached/*
|
|
||||||
|
|
||||||
# Clean everything not used at the site...
|
|
||||||
rm -rf ${DOCS} COPYING tests math t docs
|
|
||||||
find . -name Makefile -delete
|
|
||||||
# and install
|
|
||||||
insinto "${MY_HTDOCSDIR}"
|
|
||||||
doins -r .
|
|
||||||
|
|
||||||
# If imagemagick is enabled then setup for image upload.
|
|
||||||
# We ensure the directory is prepared for writing.
|
|
||||||
if use imagemagick; then
|
|
||||||
webapp_serverowned "${MY_HTDOCSDIR}"/images
|
|
||||||
fi
|
|
||||||
|
|
||||||
webapp_postinst_txt en "${FILESDIR}/postinstall-1.13-en.txt"
|
|
||||||
webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.13-en.txt"
|
|
||||||
webapp_src_install
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
prev_instal="false"
|
|
||||||
if has_version ${CATEGORY}/${PN}; then
|
|
||||||
prev_instal="true"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
webapp_pkg_postinst
|
|
||||||
if ${prev_instal}; then
|
|
||||||
einfo
|
|
||||||
elog "=== Consult the release notes ==="
|
|
||||||
elog "Before doing anything, stop and consult the release notes"
|
|
||||||
elog "/usr/share/doc/${PF}/RELEASE-NOTES.bz2"
|
|
||||||
elog
|
|
||||||
elog "These detail bug fixes, new features and functionality, and any"
|
|
||||||
elog "particular points that may need to be noted during the upgrade procedure."
|
|
||||||
einfo
|
|
||||||
ewarn "Back up existing files and the database before upgrade."
|
|
||||||
ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
|
|
||||||
ewarn "provides an overview of the backup process."
|
|
||||||
einfo
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,8 +1,8 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.15.2.ebuild,v 1.5 2010/04/15 20:25:15 maekke Exp $
|
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.16.5.ebuild,v 1.5 2011/09/27 16:35:57 xarthisius Exp $
|
||||||
|
|
||||||
EAPI="2"
|
EAPI="3"
|
||||||
inherit webapp depend.php versionator eutils
|
inherit webapp depend.php versionator eutils
|
||||||
|
|
||||||
MY_BRANCH=$(get_version_component_range 1-2)
|
MY_BRANCH=$(get_version_component_range 1-2)
|
||||||
@ -12,23 +12,23 @@ HOMEPAGE="http://www.mediawiki.org"
|
|||||||
SRC_URI="http://download.wikimedia.org/mediawiki/${MY_BRANCH}/${P}.tar.gz"
|
SRC_URI="http://download.wikimedia.org/mediawiki/${MY_BRANCH}/${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
KEYWORDS="~alpha amd64 ~arm ppc sparc x86"
|
KEYWORDS="~alpha amd64 ppc sparc x86"
|
||||||
IUSE="imagemagick math mysql postgres +ocamlopt"
|
IUSE="imagemagick math mysql postgres +ocamlopt sqlite"
|
||||||
|
|
||||||
DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )
|
DEPEND="math? ( >=dev-lang/ocaml-3.0.6[ocamlopt?] )"
|
||||||
|| ( <dev-lang/php-5.3[pcre,spl] >=dev-lang/php-5.3 )
|
|
||||||
dev-lang/php[session,xml,mysql?,postgres?]
|
|
||||||
|| ( dev-lang/php[gd] dev-lang/php[gd-external] )
|
|
||||||
ocamlopt? ( math? ( dev-lang/ocaml[ocamlopt] ) )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
RDEPEND="${DEPEND}
|
||||||
math? (
|
math? (
|
||||||
app-text/dvipng
|
app-text/dvipng
|
||||||
virtual/tex-base
|
virtual/tex-base
|
||||||
app-text/ghostscript-gpl
|
app-text/ghostscript-gpl
|
||||||
media-gfx/imagemagick
|
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
|
||||||
)
|
)
|
||||||
imagemagick? ( media-gfx/imagemagick )"
|
imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
|
||||||
|
!imagemagick? ( || ( dev-lang/php[gd] dev-lang/php[gd-external] ) )
|
||||||
|
|| ( >=dev-lang/php-5.3[mysql?,postgres?,session,xml]
|
||||||
|
<dev-lang/php-5.3[mysql?,pcre,postgres?,session,spl,xml] )
|
||||||
|
sqlite? ( dev-db/sqlite:3[fts3]
|
||||||
|
|| ( >=dev-lang/php-5.3[sqlite3,pdo] <dev-lang/php-5.3[sqlite,pdo] ) )"
|
||||||
|
|
||||||
RESTRICT="test"
|
RESTRICT="test"
|
||||||
|
|
||||||
@ -36,8 +36,8 @@ need_httpd_cgi
|
|||||||
need_php_httpd
|
need_php_httpd
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}"/mediawiki-1.16.0-restrict-0.8.4-1.patch
|
||||||
webapp_src_prepare
|
webapp_src_prepare
|
||||||
epatch "${FILESDIR}"/mediawiki-1.15.1-restrict-0.8.4.patch
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
@ -51,7 +51,7 @@ src_compile() {
|
|||||||
fi
|
fi
|
||||||
emake || die
|
emake || die
|
||||||
else
|
else
|
||||||
einfo "No math support enabled. Skipping."
|
einfo "Math support not enabled. Skipping."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO: 1. think about includes/zhtable/ support
|
# TODO: 1. think about includes/zhtable/ support
|
||||||
@ -102,7 +102,7 @@ src_install() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
webapp_postinst_txt en "${FILESDIR}/postinstall-1.13-en.txt"
|
webapp_postinst_txt en "${FILESDIR}/postinstall-1.13-en.txt"
|
||||||
webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.13-en.txt"
|
webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
|
||||||
webapp_src_install
|
webapp_src_install
|
||||||
}
|
}
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.15.2.ebuild,v 1.5 2010/04/15 20:25:15 maekke Exp $
|
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.18.0.ebuild,v 1.2 2011/12/09 22:09:03 radhermit Exp $
|
||||||
|
|
||||||
EAPI="2"
|
EAPI="4"
|
||||||
inherit webapp depend.php versionator eutils
|
inherit webapp depend.php versionator eutils
|
||||||
|
|
||||||
MY_BRANCH=$(get_version_component_range 1-2)
|
MY_BRANCH=$(get_version_component_range 1-2)
|
||||||
@ -12,32 +12,33 @@ HOMEPAGE="http://www.mediawiki.org"
|
|||||||
SRC_URI="http://download.wikimedia.org/mediawiki/${MY_BRANCH}/${P}.tar.gz"
|
SRC_URI="http://download.wikimedia.org/mediawiki/${MY_BRANCH}/${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
KEYWORDS="~alpha amd64 ~arm ppc sparc x86"
|
#KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||||
IUSE="imagemagick math mysql postgres +ocamlopt"
|
KEYWORDS=""
|
||||||
|
IUSE="imagemagick math mysql postgres +ocamlopt sqlite"
|
||||||
|
|
||||||
DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )
|
DEPEND="math? ( >=dev-lang/ocaml-3.0.6[ocamlopt?] )"
|
||||||
|| ( <dev-lang/php-5.3[pcre,spl] >=dev-lang/php-5.3 )
|
|
||||||
dev-lang/php[session,xml,mysql?,postgres?]
|
|
||||||
|| ( dev-lang/php[gd] dev-lang/php[gd-external] )
|
|
||||||
ocamlopt? ( math? ( dev-lang/ocaml[ocamlopt] ) )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
RDEPEND="${DEPEND}
|
||||||
math? (
|
math? (
|
||||||
app-text/dvipng
|
app-text/dvipng
|
||||||
virtual/tex-base
|
virtual/tex-base
|
||||||
app-text/ghostscript-gpl
|
app-text/ghostscript-gpl
|
||||||
media-gfx/imagemagick
|
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
|
||||||
)
|
)
|
||||||
imagemagick? ( media-gfx/imagemagick )"
|
imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
|
||||||
|
!imagemagick? ( || ( dev-lang/php[gd] dev-lang/php[gd-external] ) )
|
||||||
RESTRICT="test"
|
|| ( >=dev-lang/php-5.3[mysql?,postgres?,session,xml]
|
||||||
|
<dev-lang/php-5.3[mysql?,pcre,postgres?,session,spl,xml] )
|
||||||
|
sqlite? ( dev-db/sqlite:3[fts3]
|
||||||
|
|| ( >=dev-lang/php-5.3[sqlite3,pdo] <dev-lang/php-5.3[sqlite,pdo] ) )"
|
||||||
|
|
||||||
need_httpd_cgi
|
need_httpd_cgi
|
||||||
need_php_httpd
|
need_php_httpd
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
webapp_src_prepare
|
|
||||||
epatch "${FILESDIR}"/mediawiki-1.16.0-restrict-0.8.4-1.patch
|
epatch "${FILESDIR}"/mediawiki-1.16.0-restrict-0.8.4-1.patch
|
||||||
|
webapp_src_prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
@ -49,9 +50,9 @@ src_compile() {
|
|||||||
-e "s/cmxa/cma/" \
|
-e "s/cmxa/cma/" \
|
||||||
-e "s/cmx/cmo/g" -i Makefile || die
|
-e "s/cmx/cmo/g" -i Makefile || die
|
||||||
fi
|
fi
|
||||||
emake || die
|
emake
|
||||||
else
|
else
|
||||||
einfo "No math support enabled. Skipping."
|
einfo "Math support not enabled. Skipping."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO: 1. think about includes/zhtable/ support
|
# TODO: 1. think about includes/zhtable/ support
|
||||||
@ -70,7 +71,7 @@ src_install() {
|
|||||||
if use math; then
|
if use math; then
|
||||||
einfo "Installing math support"
|
einfo "Installing math support"
|
||||||
exeinto "${MY_HTDOCSDIR}"/math
|
exeinto "${MY_HTDOCSDIR}"/math
|
||||||
doexe math/texvc || die "Failed to create math support executable."
|
doexe math/texvc
|
||||||
|
|
||||||
docinto math
|
docinto math
|
||||||
dodoc math/{README,TODO}
|
dodoc math/{README,TODO}
|
||||||
@ -83,7 +84,7 @@ src_install() {
|
|||||||
webapp_serverowned "${MY_HTDOCSDIR}"/images/tmp
|
webapp_serverowned "${MY_HTDOCSDIR}"/images/tmp
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local DOCS="FAQ HISTORY INSTALL README* RELEASE-NOTES UPGRADE CREDITS"
|
local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-1.18 UPGRADE"
|
||||||
dodoc ${DOCS} docs/*.txt
|
dodoc ${DOCS} docs/*.txt
|
||||||
docinto php-memcached
|
docinto php-memcached
|
||||||
dodoc docs/php-memcached/*
|
dodoc docs/php-memcached/*
|
||||||
@ -102,7 +103,7 @@ src_install() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
webapp_postinst_txt en "${FILESDIR}/postinstall-1.13-en.txt"
|
webapp_postinst_txt en "${FILESDIR}/postinstall-1.13-en.txt"
|
||||||
webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.13-en.txt"
|
webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
|
||||||
webapp_src_install
|
webapp_src_install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user