1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Visual web-based SQL modelling tool"
10 HOMEPAGE="http://code.google.com/p/wwwsqldesigner/"
11 SRC_URI="http://wwwsqldesigner.googlecode.com/files/${P}.zip"
17 DEPEND="app-arch/unzip"
22 insinto "${MY_HTDOCSDIR}"
25 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
31 elog "To use server-side save/load functionality, you need to configure the"
32 elog "respective storage backend(s)."
33 elog "E.g. for php-mysql you need to import the table definition from"
34 elog "backend/php-mysql/database.sql and enter connection credentials into"
35 elog "backend/php-mysql/index.php"
37 elog "For more information see http://code.google.com/p/wwwsqldesigner/w/list"