aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql-navigator
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2001-06-01 07:55:04 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2001-06-01 07:55:04 +0000
commitdefa1bdbce7b0669ba00b5d61cd9819c44e66908 (patch)
tree96561c3153ebb1516a113eea4096aad6d9d40d3a /databases/mysql-navigator
parent1f43a2b462261ca26d8e320b1e4d4ff8af6f4a40 (diff)
downloadports-defa1bdbce7b0669ba00b5d61cd9819c44e66908.tar.gz
ports-defa1bdbce7b0669ba00b5d61cd9819c44e66908.zip
Notes
Diffstat (limited to 'databases/mysql-navigator')
-rw-r--r--databases/mysql-navigator/Makefile12
-rw-r--r--databases/mysql-navigator/distinfo2
-rw-r--r--databases/mysql-navigator/files/patch-ab10
-rw-r--r--databases/mysql-navigator/pkg-plist13
4 files changed, 28 insertions, 9 deletions
diff --git a/databases/mysql-navigator/Makefile b/databases/mysql-navigator/Makefile
index 81d71db38f61..07aaeb2bc3c7 100644
--- a/databases/mysql-navigator/Makefile
+++ b/databases/mysql-navigator/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mysql-navigator
-PORTVERSION= 1.1.0
+PORTVERSION= 1.2.2
CATEGORIES= databases kde
MASTER_SITES= http://sql.kldp.org/snapshots/ \
ftp://sise15.mizi.com/pub/
@@ -19,8 +19,14 @@ LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
USE_KDELIBS_VER=2
INSTALLS_SHLIB= yes
+MYSQL_NAV_HOME= ${PREFIX}/share/mysql_navigator
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/mysql_navigator ${PREFIX}/bin/
- ${INSTALL_DATA} ${WRKSRC}/lib/libmysqlui.* ${PREFIX}/lib/
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/bin/mysql_navigator ${PREFIX}/bin/
+ @ ${INSTALL_DATA} ${WRKSRC}/lib/libmysqlui.* ${PREFIX}/lib/
+ @ ${MKDIR} ${MYSQL_NAV_HOME}/po
+ @ ${INSTALL_DATA} ${WRKSRC}/po/* ${MYSQL_NAV_HOME}/po/
+ @ ${MKDIR} ${MYSQL_NAV_HOME}/pics
+ @ ${INSTALL_DATA} ${WRKSRC}/pics/* ${MYSQL_NAV_HOME}/pics/
.include <bsd.port.mk>
diff --git a/databases/mysql-navigator/distinfo b/databases/mysql-navigator/distinfo
index 1b9cdf27572c..65b3324a7272 100644
--- a/databases/mysql-navigator/distinfo
+++ b/databases/mysql-navigator/distinfo
@@ -1 +1 @@
-MD5 (mysql_navigator_1.1.0.tar.gz) = f4c8a079470ad3d6747b05e574fc316c
+MD5 (mysql_navigator_1.2.2.tar.gz) = c8579b8f82442459d268508c28d2d15e
diff --git a/databases/mysql-navigator/files/patch-ab b/databases/mysql-navigator/files/patch-ab
index 0df8770d8515..029192f2c772 100644
--- a/databases/mysql-navigator/files/patch-ab
+++ b/databases/mysql-navigator/files/patch-ab
@@ -1,5 +1,5 @@
---- src/main/Makefile.orig Thu May 3 12:13:20 2001
-+++ src/main/Makefile Thu May 3 12:19:41 2001
+--- src/main/Makefile.orig Fri Jun 1 11:28:04 2001
++++ src/main/Makefile Fri Jun 1 11:30:44 2001
@@ -7,15 +7,15 @@
####### Compiler, tools and options
@@ -7,18 +7,18 @@
-CC = gcc
-CXX = g++
-CFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG
--CXXFLAGS= -pipe -Wall -W -O2 -DNO_DEBUG
+-CXXFLAGS= -pipe -Wall -W -O2 -DNO_DEBUG -DMYSQL_NAVIGATOR_HOME=\"/usr/local/share/mysql_navigator\"
-INCPATH = -I../../include -I/usr/local/mysql/include/mysql -I$(QTDIR)/include
+CC ?= gcc
+CXX ?= g++
+CFLAGS ?= -pipe -Wall -W -O2 -DNO_DEBUG
-+CXXFLAGS?= -pipe -Wall -W -O2 -DNO_DEBUG
++CXXFLAGS+= -DNO_DEBUG -DMYSQL_NAVIGATOR_HOME=\"${PREFIX}/share/mysql_navigator\"
+INCPATH = -I../../include -I${LOCALBASE}/include/mysql -I$(X11BASE)/include/qt2
LINK = g++
LFLAGS =
-LIBS = -L$(QTDIR)/lib -L/usr/X11R6/lib -L../../lib -lmysqlui -lqt -lXext -lX11 -lm
-MOC = $(QTDIR)/bin/moc
-+LIBS = -L${LOCALBASE}/lib/mysql -L${X11BASE}/lib -L../../lib -lmysqlui -lqt2 -lXext -lX11 -lm
++LIBS = -L$(LOCALBASE)/lib/mysql -L/${X11BASE}/lib -L../../lib -lmysqlui -lqt2 -lXext -lX11 -lm
+MOC = $(X11BASE)/bin/moc2
TAR = tar -cf
diff --git a/databases/mysql-navigator/pkg-plist b/databases/mysql-navigator/pkg-plist
index 404484160884..27f2b287c7ac 100644
--- a/databases/mysql-navigator/pkg-plist
+++ b/databases/mysql-navigator/pkg-plist
@@ -1,3 +1,16 @@
bin/mysql_navigator
lib/libmysqlui.so
lib/libmysqlui.so.1
+share/mysql_navigator/po/mysql_navigator_ko.ts
+share/mysql_navigator/pics/Windows 2000.jpg
+share/mysql_navigator/pics/background.xpm
+share/mysql_navigator/pics/db.xpm
+share/mysql_navigator/pics/document.xpm
+share/mysql_navigator/pics/edit.xpm
+share/mysql_navigator/pics/field.xpm
+share/mysql_navigator/pics/server.xpm
+share/mysql_navigator/pics/table.xpm
+share/mysql_navigator/pics/window.xpm
+@dirrm share/mysql_navigator/pics
+@dirrm share/mysql_navigator/po
+@dirrm share/mysql_navigator