diff options
author | asau <asau@pkgsrc.org> | 2015-07-19 20:26:18 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2015-07-19 20:26:18 +0000 |
commit | 8f84beb3cd98ed1b7e098bc61e06673b88713c04 (patch) | |
tree | 1db432eede245d4935f2cbf1fe3ea6fcff5ce204 /databases | |
parent | ba45b401b69b087fc2ae04f7c694689f70d4387b (diff) | |
download | pkgsrc-8f84beb3cd98ed1b7e098bc61e06673b88713c04.tar.gz |
Import SQuirreL SQL Client 3.6 as databases/squirrelsql.
SQuirreL SQL Client is a graphical SQL client written in Java
that will allow you to view the structure of a JDBC compliant
database, browse the data in tables, issue SQL commands etc.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/squirrelsql/DESCR | 3 | ||||
-rw-r--r-- | databases/squirrelsql/Makefile | 35 | ||||
-rw-r--r-- | databases/squirrelsql/PLIST | 279 | ||||
-rw-r--r-- | databases/squirrelsql/distinfo | 6 | ||||
-rw-r--r-- | databases/squirrelsql/patches/patch-squirrel-sql.sh | 17 |
5 files changed, 340 insertions, 0 deletions
diff --git a/databases/squirrelsql/DESCR b/databases/squirrelsql/DESCR new file mode 100644 index 00000000000..f390fc94a35 --- /dev/null +++ b/databases/squirrelsql/DESCR @@ -0,0 +1,3 @@ +SQuirreL SQL Client is a graphical SQL client written in Java +that will allow you to view the structure of a JDBC compliant +database, browse the data in tables, issue SQL commands etc. diff --git a/databases/squirrelsql/Makefile b/databases/squirrelsql/Makefile new file mode 100644 index 00000000000..3ecbf73990a --- /dev/null +++ b/databases/squirrelsql/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2015/07/19 20:26:18 asau Exp $ + +DISTNAME= squirrelsql-3.6-standard +PKGNAME= squirrelsql-3.6 +CATEGORIES= databases +MASTER_SITES= $(MASTER_SITE_SOURCEFORGE:=squirrel-sql/) +EXTRACT_SUFX= .zip + +MAINTAINER= asau@inbox.ru +HOMEPAGE= http://www.squirrelsql.org/ +COMMENT= A Java SQL client for any JDBC compliant database + +SUBST_CLASSES+= set-java set-base +SUBST_STAGE.set-java= pre-configure +SUBST_MESSAGE.set-java= Setting JAVA_HOME path. +SUBST_FILES.set-java= squirrel-sql.sh +SUBST_SED.set-java= -e 's,%JAVA_HOME,$(PKG_JAVA_HOME),g' + +SUBST_STAGE.set-base= pre-configure +SUBST_MESSAGE.set-base= Setting package base path. +SUBST_FILES.set-base= squirrel-sql.sh +SUBST_SED.set-base= -e 's,@SQUIRREL_SQL_HOME@,$(PREFIX)/share/$(PKGBASE),g' + +USE_JAVA= run +USE_JAVA2= 6 +NO_BUILD= yes + +INSTALLATION_DIRS= bin share/$(PKGBASE) + +do-install: + cd $(WRKSRC) && pax -rwpm . $(DESTDIR)$(PREFIX)/share/$(PKGBASE) + $(LN) -sf $(PREFIX)/share/$(PKGBASE)/squirrel-sql.sh $(DESTDIR)$(PREFIX)/bin/squirrel-sql + +.include "../../mk/java-vm.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/squirrelsql/PLIST b/databases/squirrelsql/PLIST new file mode 100644 index 00000000000..f6b7fca0b9c --- /dev/null +++ b/databases/squirrelsql/PLIST @@ -0,0 +1,279 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2015/07/19 20:26:18 asau Exp $ +bin/squirrel-sql +share/squirrelsql/addpath.bat +share/squirrelsql/icons/acorn.ico +share/squirrelsql/icons/acorn.png +share/squirrelsql/icons/acorn.xpm +share/squirrelsql/icons/splash.jpg +share/squirrelsql/lib/antlr.jar +share/squirrelsql/lib/asm-attrs.jar +share/squirrelsql/lib/asm.jar +share/squirrelsql/lib/autocomplete.jar +share/squirrelsql/lib/axis-jaxrpc.jar +share/squirrelsql/lib/axis-saaj.jar +share/squirrelsql/lib/axis-wsdl4j.jar +share/squirrelsql/lib/axis.jar +share/squirrelsql/lib/cglib.jar +share/squirrelsql/lib/common.jar +share/squirrelsql/lib/commons-cli.jar +share/squirrelsql/lib/commons-codec.jar +share/squirrelsql/lib/commons-collections.jar +share/squirrelsql/lib/commons-discovery.jar +share/squirrelsql/lib/commons-httpclient.jar +share/squirrelsql/lib/commons-lang.jar +share/squirrelsql/lib/commons-logging.jar +share/squirrelsql/lib/core.jar +share/squirrelsql/lib/dom4j.jar +share/squirrelsql/lib/forms.jar +share/squirrelsql/lib/hibernate-annotations.jar +share/squirrelsql/lib/hibernate-commons-annotations.jar +share/squirrelsql/lib/hibernate-entitymanager.jar +share/squirrelsql/lib/hibernate.jar +share/squirrelsql/lib/icu4j.jar +share/squirrelsql/lib/javahelp.jar +share/squirrelsql/lib/jcommon.jar +share/squirrelsql/lib/jfreechart.jar +share/squirrelsql/lib/jide-oss.jar +share/squirrelsql/lib/jmeld.jar +share/squirrelsql/lib/log4j.jar +share/squirrelsql/lib/nanoxml.jar +share/squirrelsql/lib/org.eclipse.equinox.common.jar +share/squirrelsql/lib/osgi.jar +share/squirrelsql/lib/poi-ooxml-schemas.jar +share/squirrelsql/lib/poi-ooxml.jar +share/squirrelsql/lib/poi.jar +share/squirrelsql/lib/rstaui.jar +share/squirrelsql/lib/rsyntaxtextarea.jar +share/squirrelsql/lib/rtext.jar +share/squirrelsql/lib/spring-beans.jar +share/squirrelsql/lib/spring-context-support.jar +share/squirrelsql/lib/spring-context.jar +share/squirrelsql/lib/spring-core.jar +share/squirrelsql/lib/squirrel-sql.jar +share/squirrelsql/lib/stringtemplate.jar +share/squirrelsql/lib/swing-worker.jar +share/squirrelsql/lib/treetable.jar +share/squirrelsql/lib/versioncheck.jar +share/squirrelsql/lib/x86.jar +share/squirrelsql/lib/xml-apis.jar +share/squirrelsql/lib/xmlbeans.jar +share/squirrelsql/log4j.properties +share/squirrelsql/plugins/codecompletion.jar +share/squirrelsql/plugins/codecompletion/doc/changes.txt +share/squirrelsql/plugins/codecompletion/doc/completionpopup.jpg +share/squirrelsql/plugins/codecompletion/doc/graph.jpg +share/squirrelsql/plugins/codecompletion/doc/licence.txt +share/squirrelsql/plugins/codecompletion/doc/readme.html +share/squirrelsql/plugins/codecompletion/doc/readme.txt +share/squirrelsql/plugins/dbcopy.jar +share/squirrelsql/plugins/dbcopy/doc/Compatibility_with_1.2beta6.txt +share/squirrelsql/plugins/dbcopy/doc/RemainingTimeCalculator.txt +share/squirrelsql/plugins/dbcopy/doc/TODO.txt +share/squirrelsql/plugins/dbcopy/doc/changes.txt +share/squirrelsql/plugins/dbcopy/doc/command-line.html +share/squirrelsql/plugins/dbcopy/doc/copy_small.JPG +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/axion.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/daffodil.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/db2.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/derby.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/firebird.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/frontbase.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/h2.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/hsql.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/maxdb.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/mckoi.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/mysql.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/oracle.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/pointbase.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/postgresql.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/sun_odbc-jdbc-bridge.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/sybase_ase.html +share/squirrelsql/plugins/dbcopy/doc/database_jdbc_properties/timesten.html +share/squirrelsql/plugins/dbcopy/doc/database_view_definitions/defs.txt +share/squirrelsql/plugins/dbcopy/doc/faq.html +share/squirrelsql/plugins/dbcopy/doc/install.html +share/squirrelsql/plugins/dbcopy/doc/install.txt +share/squirrelsql/plugins/dbcopy/doc/license.txt +share/squirrelsql/plugins/dbcopy/doc/paste_small.JPG +share/squirrelsql/plugins/dbcopy/doc/preferences.html +share/squirrelsql/plugins/dbcopy/doc/prefs_bottom.JPG +share/squirrelsql/plugins/dbcopy/doc/prefs_top.JPG +share/squirrelsql/plugins/dbcopy/doc/progress_small.JPG +share/squirrelsql/plugins/dbcopy/doc/readme.html +share/squirrelsql/plugins/dbcopy/doc/success_dialog.JPG +share/squirrelsql/plugins/dbcopy/doc/usage.html +share/squirrelsql/plugins/dbcopy/www/changelog.html +share/squirrelsql/plugins/dbcopy/www/dbcopydatatypemapping.html +share/squirrelsql/plugins/dbcopy/www/docs/index.html +share/squirrelsql/plugins/dbcopy/www/docs/preferences.html +share/squirrelsql/plugins/dbcopy/www/docs/readme.html +share/squirrelsql/plugins/dbcopy/www/faq.html +share/squirrelsql/plugins/dbcopy/www/footer.html +share/squirrelsql/plugins/dbcopy/www/header.html +share/squirrelsql/plugins/dbcopy/www/home.html +share/squirrelsql/plugins/dbcopy/www/images/confirm_delete_records.jpg +share/squirrelsql/plugins/dbcopy/www/images/copy_cancelled.jpg +share/squirrelsql/plugins/dbcopy/www/images/copy_success.JPG +share/squirrelsql/plugins/dbcopy/www/images/copy_table_menu_item.jpg +share/squirrelsql/plugins/dbcopy/www/images/dbcopy_preferences.jpg +share/squirrelsql/plugins/dbcopy/www/images/dbcopy_preferences1.jpg +share/squirrelsql/plugins/dbcopy/www/images/dbcopy_preferences2.jpg +share/squirrelsql/plugins/dbcopy/www/images/global_preferences.jpg +share/squirrelsql/plugins/dbcopy/www/images/paste_table_menu_item.jpg +share/squirrelsql/plugins/dbcopy/www/images/progress_dialog.jpg +share/squirrelsql/plugins/dbcopy/www/images/progress_dialog2.jpg +share/squirrelsql/plugins/dbcopy/www/index.html +share/squirrelsql/plugins/dbcopy/www/index.php +share/squirrelsql/plugins/dbcopy/www/left.html +share/squirrelsql/plugins/dbcopy/www/meta.html +share/squirrelsql/plugins/dbcopy/www/phpinfo.php +share/squirrelsql/plugins/dbcopy/www/screenshots.html +share/squirrelsql/plugins/dbcopy/www/style.css +share/squirrelsql/plugins/dbdiff.jar +share/squirrelsql/plugins/dbdiff/doc/changes.txt +share/squirrelsql/plugins/dbdiff/doc/images/compare_menu.png +share/squirrelsql/plugins/dbdiff/doc/images/differences_dialog.png +share/squirrelsql/plugins/dbdiff/doc/images/select_menu.png +share/squirrelsql/plugins/dbdiff/doc/licence.txt +share/squirrelsql/plugins/dbdiff/doc/readme.html +share/squirrelsql/plugins/editextras.jar +share/squirrelsql/plugins/editextras/doc/changes.txt +share/squirrelsql/plugins/editextras/doc/licence.txt +share/squirrelsql/plugins/editextras/doc/readme.html +share/squirrelsql/plugins/editextras/doc/readme.txt +share/squirrelsql/plugins/editextras/doc/toolspopup.jpg +share/squirrelsql/plugins/graph.jar +share/squirrelsql/plugins/graph/doc/best.sql +share/squirrelsql/plugins/graph/doc/best_mysql-5.1-linux.sql +share/squirrelsql/plugins/graph/doc/changes.txt +share/squirrelsql/plugins/graph/doc/graph.png +share/squirrelsql/plugins/graph/doc/licence.txt +share/squirrelsql/plugins/graph/doc/readme.html +share/squirrelsql/plugins/graph/doc/readme.txt +share/squirrelsql/plugins/graph/doc/zoomprint.png +share/squirrelsql/plugins/laf.jar +share/squirrelsql/plugins/laf/changes.txt +share/squirrelsql/plugins/laf/doc/changes.txt +share/squirrelsql/plugins/laf/doc/infonode-licence.txt +share/squirrelsql/plugins/laf/doc/jgoodies-looks-licence.txt +share/squirrelsql/plugins/laf/doc/kunststoff_Licence.txt +share/squirrelsql/plugins/laf/doc/laf-plugin-licence.txt +share/squirrelsql/plugins/laf/doc/licences.html +share/squirrelsql/plugins/laf/doc/napkin-licence.html +share/squirrelsql/plugins/laf/doc/nimrod-licence.txt +share/squirrelsql/plugins/laf/doc/readme.html +share/squirrelsql/plugins/laf/doc/readme.txt +share/squirrelsql/plugins/laf/doc/skin_look_and_feel_licence.txt +share/squirrelsql/plugins/laf/doc/tinylaf-license.txt +share/squirrelsql/plugins/laf/doc/tonic-licence.txt +share/squirrelsql/plugins/laf/infonode-licence.txt +share/squirrelsql/plugins/laf/jgoodies-looks-licence.txt +share/squirrelsql/plugins/laf/kunststoff_Licence.txt +share/squirrelsql/plugins/laf/laf-plugin-licence.txt +share/squirrelsql/plugins/laf/laf-sources.jar +share/squirrelsql/plugins/laf/lafs/JTattoo.jar +share/squirrelsql/plugins/laf/lafs/ilf-gpl.jar +share/squirrelsql/plugins/laf/lafs/kunstoff-laf.jar +share/squirrelsql/plugins/laf/lafs/looks.jar +share/squirrelsql/plugins/laf/lafs/napkinlaf.jar +share/squirrelsql/plugins/laf/lafs/nimrod-laf.jar +share/squirrelsql/plugins/laf/lafs/readme.txt +share/squirrelsql/plugins/laf/lafs/skinlf.jar +share/squirrelsql/plugins/laf/lafs/substance.jar +share/squirrelsql/plugins/laf/lafs/swingsetthemes.jar +share/squirrelsql/plugins/laf/lafs/tinylaf.jar +share/squirrelsql/plugins/laf/lafs/toniclf.jar +share/squirrelsql/plugins/laf/licences.html +share/squirrelsql/plugins/laf/napkin-licence.html +share/squirrelsql/plugins/laf/nimrod-licence.txt +share/squirrelsql/plugins/laf/readme.html +share/squirrelsql/plugins/laf/readme.txt +share/squirrelsql/plugins/laf/skin_look_and_feel_licence.txt +share/squirrelsql/plugins/laf/skinlf-theme-packs/BeOSthemepack.zip +share/squirrelsql/plugins/laf/skinlf-theme-packs/aquathemepack.zip +share/squirrelsql/plugins/laf/skinlf-theme-packs/cellshadedthemepack.zip +share/squirrelsql/plugins/laf/skinlf-theme-packs/fatalEthemepack.zip +share/squirrelsql/plugins/laf/skinlf-theme-packs/macosthemepack.zip +share/squirrelsql/plugins/laf/skinlf-theme-packs/modernthemepack.zip +share/squirrelsql/plugins/laf/skinlf-theme-packs/quickSilverRthemepack.zip +share/squirrelsql/plugins/laf/skinlf-theme-packs/skinlf-readme.txt +share/squirrelsql/plugins/laf/skinlf-theme-packs/tigerGraphitethemepack.zip +share/squirrelsql/plugins/laf/skinlf-theme-packs/toxicthemepack.zip +share/squirrelsql/plugins/laf/skinlf-theme-packs/whistlerthemepack.zip +share/squirrelsql/plugins/laf/tinylaf-license.txt +share/squirrelsql/plugins/laf/tonic-licence.txt +share/squirrelsql/plugins/readme.txt +share/squirrelsql/plugins/refactoring.jar +share/squirrelsql/plugins/refactoring/doc/TODO.txt +share/squirrelsql/plugins/refactoring/doc/changes.txt +share/squirrelsql/plugins/refactoring/doc/images/add_autoinc/add_autoinc_sql.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_autoinc/select_column.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_column/1_add_column_menu.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_column/2_add_column_dialog.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_column/3_add_column_show_sql.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_fk/action_tab.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_fk/columns_tab.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_fk/props_tab.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_lookup/lookup_tab_keep.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_lookup/lookup_tab_replace.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_lookup/source_tab.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_lookup/special_tab.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_pk/1_add_pk_menu.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_pk/2_choose_pk_dialog_unslected.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_pk/3_choose_pk_dialog_slected.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_pk/4_add_pk_sql.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_pk/5_add_pk_after_execute.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_unique/columns_tab.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_unique/props_tab.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_view/def_tab.jpg +share/squirrelsql/plugins/refactoring/doc/images/add_view/props_tab.jpg +share/squirrelsql/plugins/refactoring/doc/images/checkmark.gif +share/squirrelsql/plugins/refactoring/doc/images/dialog/buttons.jpg +share/squirrelsql/plugins/refactoring/doc/images/dialog/disabled_options.jpg +share/squirrelsql/plugins/refactoring/doc/images/dialog/edit_sql.jpg +share/squirrelsql/plugins/refactoring/doc/images/dialog/show_sql.jpg +share/squirrelsql/plugins/refactoring/doc/images/drop_pk/1_drop_pk_menu.jpg +share/squirrelsql/plugins/refactoring/doc/images/drop_pk/2_drop_pk_dialog.jpg +share/squirrelsql/plugins/refactoring/doc/images/menu/table_menu.jpg +share/squirrelsql/plugins/refactoring/doc/images/menu/table_node_menu.jpg +share/squirrelsql/plugins/refactoring/doc/images/menu/view_menu.jpg +share/squirrelsql/plugins/refactoring/doc/images/merge_columns/props_tab.jpg +share/squirrelsql/plugins/refactoring/doc/images/merge_tables/columns_tab.jpg +share/squirrelsql/plugins/refactoring/doc/images/merge_tables/props_tab.jpg +share/squirrelsql/plugins/refactoring/doc/images/modify_column/1_modify_column_menu.jpg +share/squirrelsql/plugins/refactoring/doc/images/modify_column/2_modify_column_dialog.jpg +share/squirrelsql/plugins/refactoring/doc/images/modify_column/3_modify_column_dialog.jpg +share/squirrelsql/plugins/refactoring/doc/licence.txt +share/squirrelsql/plugins/refactoring/doc/readme.html +share/squirrelsql/plugins/refactoring/doc/style.css +share/squirrelsql/plugins/sqlbookmark.jar +share/squirrelsql/plugins/sqlbookmark/doc/bookmarkspopup.jpg +share/squirrelsql/plugins/sqlbookmark/doc/changes.txt +share/squirrelsql/plugins/sqlbookmark/doc/licence.txt +share/squirrelsql/plugins/sqlbookmark/doc/prefs.jpg +share/squirrelsql/plugins/sqlbookmark/doc/readme.html +share/squirrelsql/plugins/sqlbookmark/doc/toolspopup.jpg +share/squirrelsql/plugins/sqlscript.jar +share/squirrelsql/plugins/sqlscript/doc/changes.txt +share/squirrelsql/plugins/sqlscript/doc/creattable.jpg +share/squirrelsql/plugins/sqlscript/doc/licence.txt +share/squirrelsql/plugins/sqlscript/doc/readme.html +share/squirrelsql/plugins/sqlscript/doc/readme.txt +share/squirrelsql/plugins/sqlscript/doc/sql2file.jpg +share/squirrelsql/plugins/sqlscript/doc/sql2file_exportController.jpg +share/squirrelsql/plugins/sqlscript/doc/sql2file_progress.jpg +share/squirrelsql/plugins/sqlscript/doc/toolspopup.jpg +share/squirrelsql/plugins/syntax.jar +share/squirrelsql/plugins/syntax/doc/RSyntaxTextArea.License.txt +share/squirrelsql/plugins/syntax/doc/changes.txt +share/squirrelsql/plugins/syntax/doc/configdlg.jpg +share/squirrelsql/plugins/syntax/doc/corrabrev.jpg +share/squirrelsql/plugins/syntax/doc/licence.txt +share/squirrelsql/plugins/syntax/doc/readme.html +share/squirrelsql/plugins/syntax/doc/standard-nbm-license.txt +share/squirrelsql/plugins/syntax/doc/toolspopup.jpg +share/squirrelsql/restore.sh +share/squirrelsql/squirrel-sql.bat +share/squirrelsql/squirrel-sql.jar +share/squirrelsql/squirrel-sql.sh +share/squirrelsql/update-log4j.properties diff --git a/databases/squirrelsql/distinfo b/databases/squirrelsql/distinfo new file mode 100644 index 00000000000..c2ba11d14c2 --- /dev/null +++ b/databases/squirrelsql/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2015/07/19 20:26:18 asau Exp $ + +SHA1 (squirrelsql-3.6-standard.zip) = e31399dd5c06feeb9961f9e59ed9644f69690404 +RMD160 (squirrelsql-3.6-standard.zip) = 1ef3de33c508ef512325f4a9c26086e776f4351d +Size (squirrelsql-3.6-standard.zip) = 47534886 bytes +SHA1 (patch-squirrel-sql.sh) = 6770fd0d24ab552e9c49e3808b7f065c1407604c diff --git a/databases/squirrelsql/patches/patch-squirrel-sql.sh b/databases/squirrelsql/patches/patch-squirrel-sql.sh new file mode 100644 index 00000000000..445f1e03f3e --- /dev/null +++ b/databases/squirrelsql/patches/patch-squirrel-sql.sh @@ -0,0 +1,17 @@ +$NetBSD: patch-squirrel-sql.sh,v 1.1.1.1 2015/07/19 20:26:18 asau Exp $ + +--- squirrel-sql.sh.orig 2014-10-12 16:43:18.000000000 +0000 ++++ squirrel-sql.sh +@@ -33,11 +33,7 @@ esac + # the script cannot be modified by the installer to hard-code the install path. We prefer to specify squirrel + # home as an absolute path, so that the command will work when exec'd from any location. So we attempt to + # detect the absolute path using dirname "$0", which should work in most cases. +-if $macosx ; then +- SQUIRREL_SQL_HOME=`dirname "$0"`/Contents/Resources/Java +-else +- SQUIRREL_SQL_HOME=`dirname "$0"` +-fi ++SQUIRREL_SQL_HOME=@SQUIRREL_SQL_HOME@ + + # SQuirreL home in Unix format. + if $cygwin ; then |