/[gentoo-x86]/www-apps/phpwiki/phpwiki-1.3.11_p1.ebuild
Gentoo

Contents of /www-apps/phpwiki/phpwiki-1.3.11_p1.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-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.11_p1.ebuild,v 1.1 2005/11/27 16:03:16 rl03 Exp $
4
5 inherit webapp
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 unpack ${A}
23 cd ${S}
24 rm -f Makefile LICENSE
25 }
26
27 src_install() {
28 webapp_src_preinst
29
30 cp -pPR * ${D}/${MY_HTDOCSDIR}
31 rm -rf ${D}/${MY_HTDOCSDIR}/{doc,schemas,README,INSTALL,TODO,UPGRADING}
32
33 dodoc README INSTALL TODO UPGRADING doc/* schemas/*
34
35 # Create config file from distribution default, and fix up invalid defaults
36 cd ${D}/${MY_HTDOCSDIR}/config
37 sed "s:;DEBUG = 1:DEBUG = 0:" config-dist.ini > config.ini
38
39 webapp_postinst_txt en ${FILESDIR}/postinstall-1.3-en.txt
40 webapp_configfile ${MY_HTDOCSDIR}/config/config.ini
41
42 webapp_src_install
43 }

  ViewVC Help
Powered by ViewVC 1.1.20