/[gentoo-x86]/www-apps/phpwiki/phpwiki-1.4.0_rc1.ebuild
Gentoo

Contents of /www-apps/phpwiki/phpwiki-1.4.0_rc1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jul 27 20:15:53 2012 UTC (8 years ago) by mabi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
remove phpwiki (dead upstream)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-apps/phpwiki/phpwiki-1.4.0_rc1.ebuild,v 1.2 2011/08/24 07:23:09 olemarkus Exp $
4
5 EAPI=4
6
7 inherit webapp
8
9 MY_P=${P/_/}
10 S="${WORKDIR}/${MY_P}"
11
12 DESCRIPTION="PhpWiki is a WikiWikiWeb clone in PHP"
13 HOMEPAGE="http://phpwiki.sourceforge.net/"
14 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
15
16 LICENSE="GPL-2"
17 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
18 IUSE="mysql postgres"
19
20 RDEPEND="
21 virtual/httpd-cgi
22 dev-lang/php[mysql?,postgres?]
23 || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )
24 || ( dev-lang/php[cgi] dev-lang/php[apache2] )"
25
26 src_prepare() {
27 rm -f Makefile LICENSE
28 }
29
30 src_install() {
31 webapp_src_preinst
32
33 cp -pPR * "${D}/${MY_HTDOCSDIR}"
34 rm -rf "${D}/${MY_HTDOCSDIR}"/{doc,schemas,README,INSTALL,TODO,UPGRADING}
35
36 dodoc README INSTALL TODO UPGRADING doc/* schemas/*
37
38 # Create config file from distribution default, and fix up invalid defaults
39 sed -ie "s:;DEBUG = 1:DEBUG = 0:" "${D}/${MY_HTDOCSDIR}"/config/config-dist.ini
40 cd "${D}"/${MY_HTDOCSDIR}/config
41 cp config-dist.ini config.ini
42
43 webapp_postinst_txt en "${FILESDIR}"/postinstall-1.3-en.txt
44 webapp_configfile "${MY_HTDOCSDIR}"/config/config.ini
45
46 webapp_src_install
47 }

  ViewVC Help
Powered by ViewVC 1.1.20