blob: b4c4e7a8b886f340e01adcc3d001cb77f74f7ae3 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit webapp
DESCRIPTION="Visual web-based SQL modelling tool"
HOMEPAGE="http://code.google.com/p/wwwsqldesigner/"
SRC_URI="http://wwwsqldesigner.googlecode.com/files/${P}.zip"
LICENSE="BSD-2"
KEYWORDS="~x86"
IUSE=""
DEPEND="app-arch/unzip"
src_install() {
webapp_src_preinst
insinto "${MY_HTDOCSDIR}"
doins -r .
webapp_configfile "${MY_HTDOCSDIR}"/backend/php-{blank,cubrid,file,mysql,mysql+file,pdo,postgresql,sqlite}/index.php "${MY_HTDOCSDIR}"/backend/cf-mysql/index.cfm "${MY_HTDOCSDIR}"/backend/perl-file/index.pl "${MY_HTDOCSDIR}"/js/config.js
webapp_src_install
}
pkg_postinst() {
elog "To use server-side save/load functionality, you need to configure the"
elog "respective storage backend(s)."
elog "E.g. for php-mysql you need to import the table definition from"
elog "backend/php-mysql/database.sql and enter connection credentials into"
elog "backend/php-mysql/index.php"
elog
elog "For more information see http://code.google.com/p/wwwsqldesigner/w/list"
}
|