/[gentoo-x86]/www-apps/phpwiki/phpwiki-1.3.12_p2.ebuild
Gentoo

Contents of /www-apps/phpwiki/phpwiki-1.3.12_p2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu May 10 12:58:21 2007 UTC (13 years, 3 months ago) by wrobel
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Security update to fix bug #174451. Added phpwiki-1.3.13_rc1 to the tree.
(Portage version: 2.1.1)
 (Unsigned Manifest commit)

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

  ViewVC Help
Powered by ViewVC 1.1.20