source: www-apps/b2evolution/b2evolution-3.3.2.ebuild @ 0babac3

Revision 0babac3, 1.3 KB checked in by geos_one <geos_one@…>, 11 years ago (diff)

bump

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1583 6952d904-891a-0410-993b-d76249ca496b

  • Property mode set to 100644
Line 
1# Copyright 1999-2009 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
5inherit webapp eutils depend.php
6
7MY_EXT="stable-2009-11-09"
8MY_PV=${PV/_/-}
9
10DESCRIPTION="Multilingual multiuser multi-blog engine"
11HOMEPAGE="http://www.b2evolution.net"
12SRC_URI="mirror://sourceforge/evocms/${PN}-${MY_PV}-${MY_EXT}.zip"
13
14LICENSE="GPL-2"
15KEYWORDS="~alpha ~amd64 ~ppc ~x86"
16IUSE=""
17
18RDEPEND=""
19DEPEND="${RDEPEND}
20        app-arch/unzip"
21
22need_httpd_cgi
23need_php_httpd
24
25S="${WORKDIR}/${PN}"
26
27pkg_setup() {
28        webapp_pkg_setup
29        has_php
30        if [[ ${PHP_VERSION} == "4" ]]; then
31                require_php_with_use expat tokenizer mysql
32        else
33                require_php_with_use xml tokenizer mysql
34        fi
35}
36
37src_install() {
38        webapp_src_preinst
39
40        insinto "${MY_HTDOCSDIR}"
41        doins -r blogs/*
42
43        rm doc/*.*-*.html doc/*.src.html
44        dohtml doc/*.html
45
46        webapp_serverowned "${MY_HTDOCSDIR}"
47        webapp_serverowned "${MY_HTDOCSDIR}"/conf/_basic_config.php
48        webapp_configfile "${MY_HTDOCSDIR}"/conf/_{basic_config,advanced,locales,formatting,admin,stats,application}.php
49
50        webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
51        webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
52
53        webapp_src_install
54}
Note: See TracBrowser for help on using the repository browser.