qt-based graphical browser for sqlite3 databases

This commit is contained in:
espie 2006-05-09 15:18:28 +00:00
parent 1351922e5d
commit 8f4643b15f
5 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/05/09 15:18:28 espie Exp $
COMMENT= "graphical interface to sqlite databases"
DISTNAME= sqlitebrowser-1.3
DISTFILES= ${DISTNAME}-src.tar.gz
WRKDIST= ${WRKDIR}/sqlitebrowser/sqlitebrowser
CATEGORIES= databases x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sqlitebrowser/}
HOMEPAGE= http://sqlitebrowser.sourceforge.net/
MODULES= x11/qt3
LIB_DEPENDS= sqlite3::databases/sqlite3
NO_REGRESS= Yes
WANTLIB= Xext m X11 stdc++ pthread c
# Special: files are macintosh encoded.
post-extract:
find ${WRKDIST} -type d -name images -prune -o -type f -print|xargs perl -pi.bak -e 's/\cM/\cJ/g';
find ${WRKDIST} -type f -name \*.bak -print|xargs rm
do-configure:
cd ${WRKDIST} && qmake sqlitebrowser.pro
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/sqlitebrowser ${PREFIX}/bin
# Public domain
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (sqlitebrowser-1.3-src.tar.gz) = d4dc8c6a95d5f005e493f3a5a2a10491
RMD160 (sqlitebrowser-1.3-src.tar.gz) = 884330dd595ec091f1aab885cb845dd19adeb189
SHA1 (sqlitebrowser-1.3-src.tar.gz) = 5defc7965e352bcaf8c763b76b2cfe11360b68f9
SIZE (sqlitebrowser-1.3-src.tar.gz) = 563588

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-sqlitebrowser_pro,v 1.1.1.1 2006/05/09 15:18:28 espie Exp $
--- sqlitebrowser.pro.orig Tue May 9 15:54:02 2006
+++ sqlitebrowser.pro Tue May 9 16:13:12 2006
@@ -47,7 +47,7 @@ unix {
UI_DIR = .ui
MOC_DIR = .moc
OBJECTS_DIR = .obj
- LIBS += ./sqlite_source/libsqlite_source.a
+ LIBS += -lsqlite3
}
win32 {
RC_FILE = winapp.rc

View File

@ -0,0 +1,19 @@
SQLite Database Browser is a public domain visual tool used to create,
design and edit database files compatible with SQLite3.
It is meant to be used for users and developers who want to create
databases, edit and search data using a familiar spreadsheet-like interface,
without the need to learn complicated SQL commands.
Controls and wizards are available for users to:
* Create and compact database files
* Create, define, modify and delete tables
* Create, define and delete indexes
* Browse, edit, add and delete records
* Search records
* Import and export records as text
* Import and export tables from/to CSV files
* Import and export databases from/to SQL dump files
* Issue SQL queries and inspect the results
* Examine a log of all SQL commands issued by the application
This program, however, is not a visual shell for the sqlite command line tool.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/05/09 15:18:28 espie Exp $
bin/sqlitebrowser