aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-08-06 19:52:26 +0800
committerarved <arved@FreeBSD.org>2003-08-06 19:52:26 +0800
commitdcd215624eecb715d1c38060617deb35a206a14d (patch)
tree83447b45c631453e03347d89fc0f6c11e55b7aef /databases
parentf43921ed5f0777f6a457761dda57882fcea8ff8d (diff)
downloadfreebsd-ports-gnome-dcd215624eecb715d1c38060617deb35a206a14d.tar.gz
freebsd-ports-gnome-dcd215624eecb715d1c38060617deb35a206a14d.tar.zst
freebsd-ports-gnome-dcd215624eecb715d1c38060617deb35a206a14d.zip
Add the qt-mysql-plugin, whix provides easy access to MySQL Databases from
Qt Applications PR: 52131 Submitted by: Kay Lehmann <kay_lehmann@web.de>, Lauri Watts <lauri@kde.org>, lofi Reviewed by: kde
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/qt-mysql-plugin/Makefile39
-rw-r--r--databases/qt-mysql-plugin/distinfo1
-rw-r--r--databases/qt-mysql-plugin/files/patch-mysql.pro10
-rw-r--r--databases/qt-mysql-plugin/pkg-descr4
-rw-r--r--databases/qt-mysql-plugin/pkg-plist2
6 files changed, 57 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 003c559fe3cd..190e63c6f4d6 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -164,6 +164,7 @@
SUBDIR += py-pyPgSQL
SUBDIR += py-sqlrelay
SUBDIR += pydbdesigner
+ SUBDIR += qt-mysql-plugin
SUBDIR += rdb
SUBDIR += rdfdb
SUBDIR += ruby-bdb
diff --git a/databases/qt-mysql-plugin/Makefile b/databases/qt-mysql-plugin/Makefile
new file mode 100644
index 000000000000..18ef6d0d2bef
--- /dev/null
+++ b/databases/qt-mysql-plugin/Makefile
@@ -0,0 +1,39 @@
+# -*-mode: makefile-*-
+# New ports collection makefile for: qt-mysql-plugin
+# Date created: 20 April 2003
+# Whom: Kay Lehmann <kay_lehmann@web.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= qt-mysql-plugin
+PORTREVISION= 0
+CATEGORIES= databases x11-toolkits
+PKGNAMESUFFIX= -mysql-plugin
+
+MAINTAINER= kay_lehmann@web.de
+COMMENT= A plugin for QT to connect to MySQL-Databases
+
+LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
+
+USE_QT_VER= 3
+QT_NONSTANDARD= yes
+
+LDCONFIG_DIRS= %%PREFIX%%/lib/plugins/sqldrivers
+CONFIGURE_ARGS= -plugin-sql-mysql -fast
+CONFIGURE_ENV= ${ECHO} yes | MOC="${MOC}" CPPFLAGS="${QTCPPFLAGS}" \
+ LIBS="${QTCFGLIBS}" LOCALBASE="${LOCALBASE}"
+
+BUILD_PLUGIN_ONLY= yes
+
+
+do-build:
+ cd ${WRKSRC}/plugins/src/sqldrivers/mysql; \
+ ${SETENV} ${MAKE_ENV} ${GMAKE}
+
+do-install:
+ ${MKDIR} ${PREFIX}/lib/plugins/sqldrivers
+ ${INSTALL_DATA} ${WRKSRC}/plugins/sqldrivers/libqsqlmysql.so \
+ ${PREFIX}/lib/plugins/sqldrivers/
+
+.include "../../x11-toolkits/qt31/Makefile"
diff --git a/databases/qt-mysql-plugin/distinfo b/databases/qt-mysql-plugin/distinfo
new file mode 100644
index 000000000000..b63babb92bf5
--- /dev/null
+++ b/databases/qt-mysql-plugin/distinfo
@@ -0,0 +1 @@
+MD5 (KDE/qt-x11-free-3.1.2.tar.bz2) = 156591717687799c69cf3f8b64a898f2
diff --git a/databases/qt-mysql-plugin/files/patch-mysql.pro b/databases/qt-mysql-plugin/files/patch-mysql.pro
new file mode 100644
index 000000000000..a19b07c91dd5
--- /dev/null
+++ b/databases/qt-mysql-plugin/files/patch-mysql.pro
@@ -0,0 +1,10 @@
+--- plugins/src/sqldrivers/mysql/mysql.pro.orig Wed Aug 6 13:21:58 2003
++++ plugins/src/sqldrivers/mysql/mysql.pro Wed Aug 6 13:22:46 2003
+@@ -10,6 +10,7 @@
+ !contains( LIBS, .*mysql.* ) {
+ LIBS *= -lmysqlclient
+ }
++ INCLUDEPATH += ${LOCALBASE}/include/mysql
+ }
+ win32 {
+ OBJECTS_DIR = obj
diff --git a/databases/qt-mysql-plugin/pkg-descr b/databases/qt-mysql-plugin/pkg-descr
new file mode 100644
index 000000000000..1f02fe97e84c
--- /dev/null
+++ b/databases/qt-mysql-plugin/pkg-descr
@@ -0,0 +1,4 @@
+The MySQL-Plugin from Qt 3, which provides an easy access
+method from within Qt applications.
+
+WWW: http://www.trolltech.com/products/qt/database.html
diff --git a/databases/qt-mysql-plugin/pkg-plist b/databases/qt-mysql-plugin/pkg-plist
new file mode 100644
index 000000000000..dbdd89ca4b33
--- /dev/null
+++ b/databases/qt-mysql-plugin/pkg-plist
@@ -0,0 +1,2 @@
+lib/plugins/sqldrivers/libqsqlmysql.so
+@dirrm lib/plugins/sqldrivers