1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

New port xmysqladmin ...

XmysqlAdmin is a front end to the MySQL database engine.
It allows reloads, status check, process control, isamcheck
and grant/revoke privileges.
This commit is contained in:
Andreas Klemm 1997-09-02 15:06:32 +00:00
parent 9cf0c35672
commit 0e8b297194
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7755
5 changed files with 94 additions and 0 deletions

View File

@ -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>

View File

@ -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

View File

@ -0,0 +1 @@
X11 front end to the msqladmin command of the MySQL database engine

View File

@ -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.

View File

@ -0,0 +1,2 @@
bin/xmysqladmin
include/X11/pixmaps/xmysqladmin.xpm