summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/wwwsqldesigner/ChangeLog8
-rw-r--r--www-apps/wwwsqldesigner/Manifest4
-rw-r--r--www-apps/wwwsqldesigner/metadata.xml7
-rw-r--r--www-apps/wwwsqldesigner/wwwsqldesigner-2.6.ebuild38
4 files changed, 57 insertions, 0 deletions
diff --git a/www-apps/wwwsqldesigner/ChangeLog b/www-apps/wwwsqldesigner/ChangeLog
new file mode 100644
index 000000000..9372abd94
--- /dev/null
+++ b/www-apps/wwwsqldesigner/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for www-apps/wwwsqldesigner
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 04 Oct 2011; Moritz Schlarb (moschlar) <mail@moritz-schlarb.de>
+ +wwwsqldesigner-2.6.ebuild, +metadata.xml:
+ Initial ebuild for wwwsqldesigner, bug #385545. Thanks to _AxS_ and radhermit
+
diff --git a/www-apps/wwwsqldesigner/Manifest b/www-apps/wwwsqldesigner/Manifest
new file mode 100644
index 000000000..0d391f2b7
--- /dev/null
+++ b/www-apps/wwwsqldesigner/Manifest
@@ -0,0 +1,4 @@
+DIST wwwsqldesigner-2.6.zip 111541 RMD160 f282d499e9c2270f9970cc6fd8c900a4f79c26ba SHA1 e14e6429c6554b93f26448362a33c0d09a025381 SHA256 25c69144e73a0b25275329a547dc855273a65b3a599ecf427045cc7bdc69e50c
+EBUILD wwwsqldesigner-2.6.ebuild 1123 RMD160 39d3613a3569bec56f9fd82b13ff509edbcc219f SHA1 b65188cc768ae9bb92b353777582e8ee82a03185 SHA256 a5b0488b9f30a421082d28e3155c3be6b9cc6746575aa329880e3747d007c209
+MISC ChangeLog 316 RMD160 c211aed24e2ebc137ca58c1d268e14b774f0b84d SHA1 d85f96d69667e6cdd51b6f68ddb95b4b3534f99a SHA256 14a3c2f30f4a0873b3bb9b2f8addf568051168942711f61ca6b1efac30548b08
+MISC metadata.xml 212 RMD160 e0cd145aa103eb69bd9556d28e621d1578370543 SHA1 a17fa7cba4215af8c787b4f312125cf8de4ddd92 SHA256 770a180aac1603465bd36ec63b409db9cbc11c79d9aeae3c8e7ffbad5d2dd4b1
diff --git a/www-apps/wwwsqldesigner/metadata.xml b/www-apps/wwwsqldesigner/metadata.xml
new file mode 100644
index 000000000..0c74b2416
--- /dev/null
+++ b/www-apps/wwwsqldesigner/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>maintainer-wanted@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/www-apps/wwwsqldesigner/wwwsqldesigner-2.6.ebuild b/www-apps/wwwsqldesigner/wwwsqldesigner-2.6.ebuild
new file mode 100644
index 000000000..ad1797a7c
--- /dev/null
+++ b/www-apps/wwwsqldesigner/wwwsqldesigner-2.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2011 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"
+}