summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>1999-08-05 17:21:39 +0000
committerbad <bad@pkgsrc.org>1999-08-05 17:21:39 +0000
commit20fe88cface0b7310b076df1cde0b30683059948 (patch)
treee1a75c32d7a459cf43d015640d993da1ec6a2641 /databases
parentdf411b8a88d1fd0f2e5986be31b21febf1d68817 (diff)
downloadpkgsrc-20fe88cface0b7310b076df1cde0b30683059948.tar.gz
Initial import of xmysql-1.10, a graphical front end to the MySQL database
engine.
Diffstat (limited to 'databases')
-rw-r--r--databases/xmysql/Makefile19
-rw-r--r--databases/xmysql/files/md53
-rw-r--r--databases/xmysql/files/patch-sum3
-rw-r--r--databases/xmysql/patches/patch-aa53
-rw-r--r--databases/xmysql/pkg/COMMENT1
-rw-r--r--databases/xmysql/pkg/DESCR2
-rw-r--r--databases/xmysql/pkg/PLIST5
7 files changed, 86 insertions, 0 deletions
diff --git a/databases/xmysql/Makefile b/databases/xmysql/Makefile
new file mode 100644
index 00000000000..0468e2568f2
--- /dev/null
+++ b/databases/xmysql/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/08/05 17:21:39 bad Exp $
+#
+
+DISTNAME= xmysql-1.10
+CATEGORIES= databases x11
+MASTER_SITES= http://web.wt.net/~dblhack/
+
+MAINTAINER= bad@netbsd.org
+HOMEPAGE= http://web.wt.net/~dblhack
+
+DEPENDS= mysql-client-3.22.22:../../databases/mysql-client
+DEPENDS+= xforms-0.88:../../x11/xforms
+DEPENDS+= xpm-3.4k:../../graphics/xpm
+
+USE_X11= yes
+
+ALL_TARGET= xmysql
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/xmysql/files/md5 b/databases/xmysql/files/md5
new file mode 100644
index 00000000000..a32e32438ec
--- /dev/null
+++ b/databases/xmysql/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/08/05 17:21:39 bad Exp $
+
+MD5 (xmysql-1.10.tar.gz) = 73458fbbfb1598ea7fa195fe9ddc184f
diff --git a/databases/xmysql/files/patch-sum b/databases/xmysql/files/patch-sum
new file mode 100644
index 00000000000..e009756206a
--- /dev/null
+++ b/databases/xmysql/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/08/05 17:21:39 bad Exp $
+
+MD5 (patch-aa) = edef3a274ea51959f08b280e8820d74d
diff --git a/databases/xmysql/patches/patch-aa b/databases/xmysql/patches/patch-aa
new file mode 100644
index 00000000000..a534a009f2e
--- /dev/null
+++ b/databases/xmysql/patches/patch-aa
@@ -0,0 +1,53 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/08/05 17:21:39 bad Exp $
+
+--- Makefile.orig Wed Nov 18 05:19:06 1998
++++ Makefile Thu Aug 5 18:57:34 1999
+@@ -31,24 +31,24 @@
+ PROGRAM = xmysql
+
+ # PROGRAM install path
+-INSTALLPATH = /usr/local/xmysql-1.10
++INSTALLPATH = ${PREFIX}/bin
+
+ # pixmap location
+-XMYSQL_XPMPATH = /usr/local/xmysql-1.10
++XMYSQL_XPMPATH = ${PREFIX}/share/xmysql
+
+ # help path
+-XMYSQL_HELPPATH = /usr/local/xmysql-1.10
++XMYSQL_HELPPATH = ${PREFIX}/share/xmysql
+
+ # Compilation Details
+-CC = gcc
++CC = cc
+ STDCFLAGS = -g -c -O2 -Wall -DXMYSQL_XPMPATH=\"$(XMYSQL_XPMPATH)\" -DXMYSQL_HELPPATH=\"$(XMYSQL_HELPPATH)\"
+-STDLFLAGS =
+-MYSQLINC = -I/usr/include/mysql
+-MYSQLLOAD = -L/usr/lib/mysql -lmysqlclient
+-XFORMLIBDIR = -L/usr/local/xforms
+-XFORMINCDIR = -I/usr/local/xforms
+-XINC =
+-XLOAD = -L/usr/X11R6/lib -lX11
++STDLFLAGS = ${LDFLAGS}
++MYSQLINC = -I${PREFIX}/include/mysql
++MYSQLLOAD = -Wl,-R${PREFIX}/lib/mysql -L${PREFIX}/lib/mysql -lmysqlclient
++XFORMLIBDIR =
++XFORMINCDIR = -I${X11BASE}/include/X11
++XINC = -I${X11BASE}/include
++XLOAD = -lX11
+
+ # objects needed for the program
+ OBJS = Xmysql.o \
+@@ -69,8 +69,8 @@
+ rm -f ${PROGRAM} $(OBJS)
+
+ install:
+- install -d $(INSTALLPATH) $(XMYSQL_XPMPATH) $(XMYSQL_HELPPATH)
+- install --mode=711 $(PROGRAM) $(INSTALLPATH)
+- install --mode=744 mysql.xpm $(XMYSQL_XPMPATH)
+- install --mode=744 sqlhelp.txt $(XMYSQL_HELPPATH)
++ ${BSD_INSTALL_DATA_DIR} -d $(XMYSQL_XPMPATH) $(XMYSQL_HELPPATH)
++ ${BSD_INSTALL_PROGRAM} $(PROGRAM) $(INSTALLPATH)
++ ${BSD_INSTALL_DATA} mysql.xpm $(XMYSQL_XPMPATH)
++ ${BSD_INSTALL_DATA} sqlhelp.txt $(XMYSQL_HELPPATH)
+
diff --git a/databases/xmysql/pkg/COMMENT b/databases/xmysql/pkg/COMMENT
new file mode 100644
index 00000000000..7146870f81e
--- /dev/null
+++ b/databases/xmysql/pkg/COMMENT
@@ -0,0 +1 @@
+a graphical front end to the MySQL database engine
diff --git a/databases/xmysql/pkg/DESCR b/databases/xmysql/pkg/DESCR
new file mode 100644
index 00000000000..35ad33a42a9
--- /dev/null
+++ b/databases/xmysql/pkg/DESCR
@@ -0,0 +1,2 @@
+XmySQL is a front end to the MySQL database engine. It allows for
+simple queries and table maintenance, as well as batch queries.
diff --git a/databases/xmysql/pkg/PLIST b/databases/xmysql/pkg/PLIST
new file mode 100644
index 00000000000..e9bcc3d3436
--- /dev/null
+++ b/databases/xmysql/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/08/05 17:21:39 bad Exp $
+bin/xmysql
+share/xmysql/mysql.xpm
+share/xmysql/sqlhelp.txt
+share/xmysql