aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/xmysqladmin/Makefile27
-rw-r--r--databases/xmysqladmin/files/patch-aa56
-rw-r--r--databases/xmysqladmin/pkg-comment1
-rw-r--r--databases/xmysqladmin/pkg-descr8
-rw-r--r--databases/xmysqladmin/pkg-plist2
5 files changed, 94 insertions, 0 deletions
diff --git a/databases/xmysqladmin/Makefile b/databases/xmysqladmin/Makefile
new file mode 100644
index 000000000000..beac4d9d7815
--- /dev/null
+++ b/databases/xmysqladmin/Makefile
@@ -0,0 +1,27 @@
+# ports collection makefile for: xmysqladmin
+# Version required: 0.2.0
+# Date created: Di 2 Sep 1997 16:29:27 CEST
+# Whom: Andreas Klemm <andreas@klemm.gtn.com>
+#
+# $Id$
+#
+
+DISTNAME= xmysqladmin-0.2.0
+CATEGORIES= databases
+MASTER_SITES= ftp://mysql.staufen.de/pub/mysql/Contrib/ \
+ http://www.tcx.se/Contrib/ \
+ http://www.buoy.com/mysql/Contrib/ \
+ http://web.tryc.on.ca/mysql/Contrib/ \
+ http://mysql.acer.net/Contrib/
+
+MAINTAINER= andreas@FreeBSD.ORG
+
+BUILD_DEPENDS= mysql:${PORTSDIR}/databases/mysql
+LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm \
+ xforms\\.0\\.:${PORTSDIR}/x11/xforms
+
+WRKSRC= ${WRKDIR}/xmysqladmin
+USE_X11= yes
+ALL_TARGET= xmysqladmin
+
+.include <bsd.port.mk>
diff --git a/databases/xmysqladmin/files/patch-aa b/databases/xmysqladmin/files/patch-aa
new file mode 100644
index 000000000000..8a3158664367
--- /dev/null
+++ b/databases/xmysqladmin/files/patch-aa
@@ -0,0 +1,56 @@
+--- Makefile.orig Mon Jul 28 03:25:41 1997
++++ Makefile Tue Sep 2 16:45:25 1997
+@@ -1,5 +1,5 @@
+ #
+-# Makefile for xmysqladmin on Linux
++# Makefile for xmysqladmin on FreeBSD
+ #
+
+ ########################################################
+@@ -29,21 +29,21 @@
+ PROGRAM = xmysqladmin
+
+ # PROGRAM install path
+-INSTALLPATH = /usr/local/bin
++INSTALLPATH = ${X11BASE}/bin
+
+ # pixmap location
+-PIXMAPPATH = /usr/local/bin
++PIXMAPPATH = ${X11BASE}/include/X11/pixmaps
+
+ # Compilation Details
+-CC = gcc
+-STDCFLAGS = -g -c -O2 -Wall -DPIXMAPFILE=\"$(PIXMAPPATH)/mysql.xpm\"
++# CC = gcc
++STDCFLAGS = $(CFLAGS) -c -DPIXMAPFILE=\"$(PIXMAPPATH)/xmysqladmin.xpm\"
+ STDLFLAGS =
+ MYSQLINC = -I/usr/local/include/mysql
+ MYSQLLOAD = -L/usr/local/lib/mysql -lmysqlclient -lmysys -ldbug -lmystrings
+-XFORMLIBDIR = -L/usr/lib
+-XFORMINCDIR = -I/usr/include
++XFORMLIBDIR = -L$(X11BASE)/lib
++XFORMINCDIR = -I$(X11BASE)/include
+ XINC =
+-XLOAD = -L/usr/X11R6/lib -lX11
++XLOAD = -L$(X11BASE)/lib -lX11
+ ADMININC = xmysqladmin.h xmysqladmin2.h
+
+ # no change needed after this line...
+@@ -64,8 +64,7 @@
+ ${PROGRAM}: $(OBJS)
+ $(CC) -o ${PROGRAM} $(OBJS) $(MYSQLINC) $(XFORMINCDIR) \
+ $(XINC) $(STDLFLAGS) $(MYSQLLOAD) \
+- $(XLOAD) $(XFORMLIBDIR) -lforms -lXpm -lm
+- ./$(PROGRAM)
++ $(XLOAD) $(XFORMLIBDIR) -lxforms -lXpm -lm
+
+ .c.o:
+ $(CC) $*.c $(STDCFLAGS) $(XFORMINCDIR) $(MYSQLINC) $(XINC)
+@@ -74,5 +73,5 @@
+ rm -f ${PROGRAM} $(OBJS)
+
+ install:
+- install --mode=711 $(PROGRAM) $(INSTALLPATH)
+- cp mysql.xpm $(PIXMAPPATH)
++ install -s -m 555 $(PROGRAM) $(INSTALLPATH)
++ install -m 444 mysql.xpm $(PIXMAPPATH)/xmysqladmin.xpm
diff --git a/databases/xmysqladmin/pkg-comment b/databases/xmysqladmin/pkg-comment
new file mode 100644
index 000000000000..2e9110912bb7
--- /dev/null
+++ b/databases/xmysqladmin/pkg-comment
@@ -0,0 +1 @@
+X11 front end to the msqladmin command of the MySQL database engine
diff --git a/databases/xmysqladmin/pkg-descr b/databases/xmysqladmin/pkg-descr
new file mode 100644
index 000000000000..36456d7121d5
--- /dev/null
+++ b/databases/xmysqladmin/pkg-descr
@@ -0,0 +1,8 @@
+XmysqlAdmin is a front end to the MySQL database engine.
+It allows reloads, status check, process control, isamcheck
+and grant/revoke privileges.
+
+Gilbert Therrien
+gilbert@ican.net
+
+PS: You can write to me in french or english.
diff --git a/databases/xmysqladmin/pkg-plist b/databases/xmysqladmin/pkg-plist
new file mode 100644
index 000000000000..db86e7d5e535
--- /dev/null
+++ b/databases/xmysqladmin/pkg-plist
@@ -0,0 +1,2 @@
+bin/xmysqladmin
+include/X11/pixmaps/xmysqladmin.xpm