blob: f5338fddc22745d401fcc823f2a8366c2e640cd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit webapp
MY_P=${P/./-}
DESCRIPTION=""
HOMEPAGE="http://xrms.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="OpenSoftware"
KEYWORDS="~x86"
IUSE=""
DEPEND="virtual/httpd-php"
S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A} && cd "${S}"
find . -type d -name CVS | xargs rm -rf
}
src_install() {
webapp_src_preinst
local docs="CHANGELOG README"
# Copy the app's main files
cp -r . ${D}${MY_HTDOCSDIR}
# handle documentation files
dodoc ${docs}
for doc in ${docs}; do
rm -f ${D}${MY_HTDOCSDIR}/${doc}
done
# Identify the configuration files that this app uses
#webapp_configfile ${MY_HTDOCSDIR}/config.inc.php
webapp_src_install
}
|