/[gentoo-x86]/www-apps/b2evolution/b2evolution-2.4.0_rc2.ebuild
Gentoo

Contents of /www-apps/b2evolution/b2evolution-2.4.0_rc2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Jan 1 20:35:14 2013 UTC (5 years, 8 months ago) by mabi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
remove ancient/insecure versions

(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 0x4849EC6C)

1 # Copyright 1999-2013 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.4 2013/01/01 18:33:12 armin76 Exp $
4
5 inherit webapp eutils depend.php
6
7 MY_EXT="2008-01-23"
8 MY_PV=${PV/_/-}
9
10 DESCRIPTION="Multilingual multiuser multi-blog engine"
11 HOMEPAGE="http://www.b2evolution.net"
12 SRC_URI="mirror://sourceforge/evocms/${PN}-${MY_PV}-${MY_EXT}.zip"
13
14 LICENSE="GPL-2"
15 KEYWORDS="~amd64 ~ppc ~x86"
16 IUSE=""
17
18 RDEPEND=""
19 DEPEND="${RDEPEND}
20 app-arch/unzip"
21
22 need_httpd_cgi
23 need_php_httpd
24
25 S="${WORKDIR}/${PN}"
26
27 pkg_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
37 src_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 }

  ViewVC Help
Powered by ViewVC 1.1.20