| 1 |
mabi |
1.1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
|
|
# $Header: /var/cvsroot/gentoo-x86/www-apps/b2evolution/b2evolution-2.4.0_rc2.ebuild,v 1.3 2008/02/22 15:43:09 hollow Exp $
|
| 4 |
|
|
|
| 5 |
|
|
EAPI=4
|
| 6 |
|
|
|
| 7 |
|
|
inherit webapp eutils
|
| 8 |
|
|
|
| 9 |
|
|
MY_EXT="stable-2012-04-03"
|
| 10 |
|
|
MY_PV=${PV/_/-}
|
| 11 |
|
|
|
| 12 |
|
|
DESCRIPTION="Multilingual multiuser multi-blog engine"
|
| 13 |
|
|
HOMEPAGE="http://www.b2evolution.net"
|
| 14 |
|
|
SRC_URI="mirror://sourceforge/evocms/${PN}-${MY_PV}-${MY_EXT}.zip"
|
| 15 |
|
|
|
| 16 |
|
|
LICENSE="GPL-2"
|
| 17 |
|
|
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
|
| 18 |
|
|
IUSE=""
|
| 19 |
|
|
|
| 20 |
|
|
RDEPEND="virtual/httpd-php
|
| 21 |
|
|
dev-lang/php[ctype,curl,mysql,tokenizer,xml]"
|
| 22 |
|
|
DEPEND="${RDEPEND}
|
| 23 |
|
|
app-arch/unzip"
|
| 24 |
|
|
|
| 25 |
|
|
need_httpd_cgi
|
| 26 |
|
|
|
| 27 |
|
|
S="${WORKDIR}/${PN}"
|
| 28 |
|
|
|
| 29 |
|
|
src_install() {
|
| 30 |
|
|
webapp_src_preinst
|
| 31 |
|
|
|
| 32 |
|
|
insinto "${MY_HTDOCSDIR}"
|
| 33 |
|
|
doins -r blogs/*
|
| 34 |
|
|
|
| 35 |
|
|
rm doc/*.*-*.html doc/*.src.html
|
| 36 |
|
|
dohtml doc/*.html
|
| 37 |
|
|
|
| 38 |
|
|
webapp_serverowned "${MY_HTDOCSDIR}"/conf/_basic_config.template.php
|
| 39 |
|
|
webapp_serverowned "${MY_HTDOCSDIR}"/{cache,media}/
|
| 40 |
|
|
webapp_configfile
|
| 41 |
|
|
"${MY_HTDOCSDIR}"/conf/_{basic_config.template,advanced,locales,formatting,admin,stats,application,config,icons,upgrade}.php
|
| 42 |
|
|
|
| 43 |
|
|
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
|
| 44 |
|
|
webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
|
| 45 |
|
|
|
| 46 |
|
|
webapp_src_install
|
| 47 |
|
|
}
|