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

Contents of /www-apps/b2evolution/b2evolution-0.9.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Aug 9 11:27:08 2007 UTC (11 years, 3 months ago) by wrobel
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Added b2evolution-1.10.2 to the tree.
(Portage version: 2.1.2.11)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-apps/b2evolution/b2evolution-0.9.2.ebuild,v 1.5 2007/01/28 01:35:48 dsd Exp $
4
5 inherit webapp eutils
6
7 MY_EXT="-2006-05-22"
8
9 DESCRIPTION="Multilingual multiuser multi-blog engine"
10 HOMEPAGE="http://www.b2evolution.net"
11 SRC_URI="mirror://sourceforge/evocms/${P}${MY_EXT}.zip"
12 LICENSE="GPL-2"
13 KEYWORDS="~alpha ~amd64 ~ppc ~x86"
14 IUSE=""
15 RDEPEND="virtual/httpd-php"
16
17 DEPEND="${DEPEND} ${RDEPEND}
18 app-arch/unzip"
19
20 S="${WORKDIR}/${PN}"
21
22 pkg_setup() {
23 webapp_pkg_setup
24 has_php
25 if [[ ${PHP_VERSION} == "4" ]]; then
26 require_php_with_use expat
27 else
28 require_php_with_use xml
29 fi
30 }
31
32 src_install() {
33 webapp_src_preinst
34
35 einfo "Installing main files"
36 cp -r blogs/* ${D}${MY_HTDOCSDIR}
37 einfo "Done"
38
39 dodoc doc/license.txt doc/install_new.html doc/upgradefrom_b2evo.html doc/upgradefrom_b2.html \
40 doc/upgradefrom_gl.html doc/upgradefrom_miniblog.html doc/upgradefrom_mt.html
41
42 # Identify the configuration files that this app uses
43 # User can want to make changes to these!
44 webapp_configfile ${MY_HTDOCSDIR}/conf/_config.php
45 webapp_serverowned ${MY_HTDOCSDIR}/conf/_config.php
46 webapp_serverowned ${MY_HTDOCSDIR}
47
48 # post-install instructions
49 webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
50
51 # now strut stuff
52 webapp_src_install
53 }

  ViewVC Help
Powered by ViewVC 1.1.20