diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-08-06 11:52:26 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-08-06 11:52:26 +0000 |
commit | 0cb2bb1b9cae06736cdb0871b5df1e247e2a2dca (patch) | |
tree | 2848126b36d5803be3cdbd786f1c8626ecd85712 /databases/qt-mysql-plugin | |
parent | b754f526522bbdcb45f1c3423daed78abfe0756b (diff) | |
download | ports-0cb2bb1b9cae06736cdb0871b5df1e247e2a2dca.tar.gz ports-0cb2bb1b9cae06736cdb0871b5df1e247e2a2dca.zip |
Notes
Diffstat (limited to 'databases/qt-mysql-plugin')
-rw-r--r-- | databases/qt-mysql-plugin/Makefile | 39 | ||||
-rw-r--r-- | databases/qt-mysql-plugin/distinfo | 1 | ||||
-rw-r--r-- | databases/qt-mysql-plugin/files/patch-mysql.pro | 10 | ||||
-rw-r--r-- | databases/qt-mysql-plugin/pkg-descr | 4 | ||||
-rw-r--r-- | databases/qt-mysql-plugin/pkg-plist | 2 |
5 files changed, 56 insertions, 0 deletions
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 |