summaryrefslogtreecommitdiff
blob: 15fd1cf9ab9e7c41ea3a61a37649a4b6be4bea21 (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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/online-bookmarks/online-bookmarks-0.2.6.ebuild,v 1.1 2004/08/15 15:22:21 stuart Exp $

inherit webapp

S=${WORKDIR}/${PN}

DESCRIPTION="a Bookmark management system to store your Bookmarks, Favorites and Links right in the WWW where they actually belong"
HOMEPAGE="http://www.frech.ch/online-bookmarks/index.php"
SRC_URI="http://www.frech.ch/online-bookmarks/download/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~x86"

IUSE=""

# Glimpse is actually optional, but since there is no USE flag, require it
RDEPEND="virtual/php"

src_compile() {
	einfo "Nothing to compile"
}

src_install() {
	# prepare ${D} for our arrival
	webapp_src_preinst

	# Install documentation and then get rid of it so it does not clog up
	# webapp-config instances (except INSTALL, which will be our postinstall
	# documentation)
	dodoc CHANGES CREDITS GPL.txt INSTALL LICENSE README UPGRADE VERSION
	rm CHANGES CREDITS GPL.txt LICENSE README UPGRADE VERSION

	# Install to webapp-config master directory
	cp -a * "${D}/${MY_HTDOCSDIR}"

	# Identify the configuration files that this app uses
	webapp_configfile "${MY_HTDOCSDIR}/config/config.php"
	webapp_configfile "${MY_HTDOCSDIR}/config/connect.php"

	# Add the post-installation instructions
	webapp_postinst_txt en INSTALL

	# Let webapp.eclass do the rest
	webapp_src_install
}