summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--dev-db/schemaspy/Manifest16
-rw-r--r--dev-db/schemaspy/files/build.xml37
-rw-r--r--dev-db/schemaspy/files/digest-schemaspy-3.1.13
-rw-r--r--dev-db/schemaspy/files/schemaspy.launcherd10
-rw-r--r--dev-db/schemaspy/schemaspy-3.1.1.ebuild53
-rw-r--r--profiles/categories1
6 files changed, 120 insertions, 0 deletions
diff --git a/dev-db/schemaspy/Manifest b/dev-db/schemaspy/Manifest
new file mode 100644
index 0000000..96aa46a
--- a/dev/null
+++ b/dev-db/schemaspy/Manifest
@@ -0,0 +1,16 @@
+AUX build.xml 1233 RMD160 77f3733216ca9a4efbd9446a968978eb809fb640 SHA1 eb0291b182d7d3f48936e2f84a80536e6967648c SHA256 3e353adf66a695173e77c3236bc2fa4134234919f364ae1ea4701bf38a271df7
+MD5 797960ce04628b8f399b02340038fefc files/build.xml 1233
+RMD160 77f3733216ca9a4efbd9446a968978eb809fb640 files/build.xml 1233
+SHA256 3e353adf66a695173e77c3236bc2fa4134234919f364ae1ea4701bf38a271df7 files/build.xml 1233
+AUX schemaspy.launcherd 216 RMD160 967e360342bf3bc6a70752b4157836ba9a9dbb12 SHA1 6a48ec7f3a2e4d8b661e6020245479bd6b38c619 SHA256 408bb7c302a0744f897eec91e1c5d9c9706b74bc97a5fc4afddf240b6854b104
+MD5 f62d9cd841ce9a1d21b62fdb6412f646 files/schemaspy.launcherd 216
+RMD160 967e360342bf3bc6a70752b4157836ba9a9dbb12 files/schemaspy.launcherd 216
+SHA256 408bb7c302a0744f897eec91e1c5d9c9706b74bc97a5fc4afddf240b6854b104 files/schemaspy.launcherd 216
+DIST schemaSpy_3.1.1.source.jar 92103 RMD160 c45252f687da89832b1a19e7bcb7be38c997688c SHA1 1d2fd1591fbe531a883a8d0464b56bcd2020a8e4 SHA256 fe67a047e56357b6c9e7bdd27d5ef680e159ca66e8f4032f7261d3d9de7e783b
+EBUILD schemaspy-3.1.1.ebuild 1290 RMD160 e19aeafad2d7e57cf49d358c8e5b0910e11302fd SHA1 79838f4e85b6d8c1fc738218e6fb1f4c4ef7ce28 SHA256 320fe79a86063ae5aa2fd54187a943d738a3168dc9aa699e116cf197845ebc0a
+MD5 5108abbc34f8a3a9cb7e8d93037179c4 schemaspy-3.1.1.ebuild 1290
+RMD160 e19aeafad2d7e57cf49d358c8e5b0910e11302fd schemaspy-3.1.1.ebuild 1290
+SHA256 320fe79a86063ae5aa2fd54187a943d738a3168dc9aa699e116cf197845ebc0a schemaspy-3.1.1.ebuild 1290
+MD5 334efa785fc5c3e16511b06295f4623b files/digest-schemaspy-3.1.1 256
+RMD160 77b91f8d95a0bacfe6c235dccb89026a5d4349c9 files/digest-schemaspy-3.1.1 256
+SHA256 22d266ea1af63952021014e7ccb07a8c253d9e1860cf8bdbd9825286d56dbb9e files/digest-schemaspy-3.1.1 256
diff --git a/dev-db/schemaspy/files/build.xml b/dev-db/schemaspy/files/build.xml
new file mode 100644
index 0000000..a2dfce7
--- a/dev/null
+++ b/dev-db/schemaspy/files/build.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<project name="schemaSpy" default="jar">
+ <property name="src" value="src" />
+ <property name="build" value="build" />
+ <property name="dist" value="dist"/>
+ <property name="jarfile" value="${ant.project.name}.jar"/>
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${dist}"/>
+ <mkdir dir="${build}"/>
+ </target>
+ <target name="manifest" depends="init">
+ <manifest file="${build}/MANIFEST.MF">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+ <attribute name="Main-Class" value="net.sourceforge.schemaspy.Main"/>
+ </manifest>
+ </target>
+ <target name="compile" depends="init">
+ <javac srcdir="${src}" destdir="${build}"/>
+ <copy todir="${build}/images">
+ <fileset dir="${src}/images"/>
+ </copy>
+ <copy todir="${build}">
+ <fileset file="${src}/${ant.project.name}.css"/>
+ </copy>
+ <copy todir="${build}/net/sourceforge/schemaspy/dbTypes">
+ <fileset dir="${src}/net/sourceforge/schemaspy/dbTypes"/>
+ </copy>
+ </target>
+ <target name="jar" depends="compile,manifest">
+ <jar jarfile="${dist}/${jarfile}" basedir="${build}" manifest="${build}/MANIFEST.MF" excludes="MANIFEST.MF"/>
+ </target>
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>
diff --git a/dev-db/schemaspy/files/digest-schemaspy-3.1.1 b/dev-db/schemaspy/files/digest-schemaspy-3.1.1
new file mode 100644
index 0000000..f5e8898
--- a/dev/null
+++ b/dev-db/schemaspy/files/digest-schemaspy-3.1.1
@@ -0,0 +1,3 @@
+MD5 4e814c3104362732ab81832fcbd6d816 schemaSpy_3.1.1.source.jar 92103
+RMD160 c45252f687da89832b1a19e7bcb7be38c997688c schemaSpy_3.1.1.source.jar 92103
+SHA256 fe67a047e56357b6c9e7bdd27d5ef680e159ca66e8f4032f7261d3d9de7e783b schemaSpy_3.1.1.source.jar 92103
diff --git a/dev-db/schemaspy/files/schemaspy.launcherd b/dev-db/schemaspy/files/schemaspy.launcherd
new file mode 100644
index 0000000..88e85fe
--- a/dev/null
+++ b/dev-db/schemaspy/files/schemaspy.launcherd
@@ -0,0 +1,10 @@
+tmp_cp=false
+eval "tmp_$(gjl -p ${gjl_package} -a)"
+for a in ${tmp_gjl_args} ; do
+ if [ ${tmp_cp} = "true" ] ; then
+ gjl_pkg_args="-cp ${a}";
+ continue
+ elif [ "${a}" = "-classpath" ] ; then
+ tmp_cp=true
+ fi
+done
diff --git a/dev-db/schemaspy/schemaspy-3.1.1.ebuild b/dev-db/schemaspy/schemaspy-3.1.1.ebuild
new file mode 100644
index 0000000..6e18518
--- a/dev/null
+++ b/dev-db/schemaspy/schemaspy-3.1.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Graphical database schema metadata browser"
+HOMEPAGE="http://schemaspy.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/schemaSpy_${PV}.source.jar"
+LICENSE="LGPL"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="postgres firebird oracle mysql"
+
+DEPEND="
+ >=virtual/jdk-1.4
+ dev-java/ant-core
+ app-arch/unzip
+"
+RDEPEND="
+ >=virtual/jre-1.4
+ postgres? ( dev-java/jdbc3-postgresql )
+ firebird? ( dev-java/jdbc3-firebird )
+ oracle? ( dev-java/jdbc3-oracle )
+ mysql? ( dev-java/jdbc-mysql )
+ !dev-db/schemaspy-svn
+"
+
+src_unpack() {
+ mkdir "${S}"
+ cd "${S}"
+ unpack "${A}"
+ cp ${FILESDIR}/build.xml ./
+ rm -rf META-INF/
+ mkdir src
+ mv net *.css images src
+ use postgres && java-pkg_jar-from jdbc3-postgresql-1
+ use firebird && java-pkg_jar-from jdbc3-firebird
+ # XXX: I don't know if it's the right name for oracle package
+ use oracle && java-pkg_jar-from jdbc3-oracle
+ use mysql && java-pkg_jar-from jdbc-mysql
+}
+
+src_compile() {
+ eant || die "Failed complie"
+}
+
+src_install() {
+ java-pkg_dojar dist/schemaSpy.jar
+ java-pkg_dolauncher ${PN}
+ insinto /etc/java-config-2/launcher.d/
+ newins ${FILESDIR}/schemaspy.launcherd ${PN}
+}
diff --git a/profiles/categories b/profiles/categories
index c9b98ed..0b08b7e 100644
--- a/profiles/categories
+++ b/profiles/categories
@@ -1 +1,2 @@
+dev-db
sys-apps