/[gentoo-x86]/www-apps/phpwiki/phpwiki-1.3.10-r1.ebuild
Gentoo

Contents of /www-apps/phpwiki/phpwiki-1.3.10-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Nov 27 15:32:24 2005 UTC (14 years, 8 months ago) by rl03
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Removing old versions
(Portage version: 2.0.51.22-r2)

1 # Copyright 1999-2005 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.3.10-r1.ebuild,v 1.3 2005/08/23 19:38:19 rl03 Exp $
4
5 inherit eutils webapp
6
7 DESCRIPTION="PhpWiki is a WikiWikiWeb clone in PHP"
8 HOMEPAGE="http://phpwiki.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 KEYWORDS="~ppc ~sparc ~x86"
13 IUSE=""
14
15 RDEPEND="virtual/php
16 net-www/apache"
17
18 src_unpack() {
19 unpack ${A}
20 cd ${S}
21 epatch ${FILESDIR}/phpwiki-1.3.10-xmlrpc.patch
22 rm -f Makefile LICENSE
23 }
24
25 src_install() {
26 webapp_src_preinst
27
28 cp -pPR * ${D}/${MY_HTDOCSDIR}
29 rm -rf ${D}/${MY_HTDOCSDIR}/{doc,schemas,README,INSTALL,UPGRADING}
30
31 dodoc README INSTALL UPGRADING doc/* schemas/*
32
33 # Create config file from distribution default, and fix up invalid defaults
34 cd ${D}/${MY_HTDOCSDIR}/config
35 sed "s:;DEBUG = 1:DEBUG = 0:" config-dist.ini > config.ini
36
37 webapp_postinst_txt en ${FILESDIR}/postinstall-1.3-en.txt
38 webapp_configfile ${MY_HTDOCSDIR}/config/config.ini
39
40 webapp_src_install
41 }

  ViewVC Help
Powered by ViewVC 1.1.20