diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-08-06 12:00:35 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-08-06 12:00:35 +0000 |
commit | e4adbd9e147c906393980e70a0db4ec661b91db7 (patch) | |
tree | 00e98658c15df5a5633b9e239aac7a7327b8deb6 | |
parent | 0cb2bb1b9cae06736cdb0871b5df1e247e2a2dca (diff) |
Notes
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/qt-pgsql-plugin/Makefile | 37 | ||||
-rw-r--r-- | databases/qt-pgsql-plugin/distinfo | 1 | ||||
-rw-r--r-- | databases/qt-pgsql-plugin/files/patch-psql.pro | 12 | ||||
-rw-r--r-- | databases/qt-pgsql-plugin/pkg-descr | 4 | ||||
-rw-r--r-- | databases/qt-pgsql-plugin/pkg-plist | 2 |
6 files changed, 57 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 190e63c6f4d6..74d6412f2eb0 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -165,6 +165,7 @@ SUBDIR += py-sqlrelay SUBDIR += pydbdesigner SUBDIR += qt-mysql-plugin + SUBDIR += qt-pgsql-plugin SUBDIR += rdb SUBDIR += rdfdb SUBDIR += ruby-bdb diff --git a/databases/qt-pgsql-plugin/Makefile b/databases/qt-pgsql-plugin/Makefile new file mode 100644 index 000000000000..152f8c3053e6 --- /dev/null +++ b/databases/qt-pgsql-plugin/Makefile @@ -0,0 +1,37 @@ +# -*-mode: makefile-*- +# New ports collection makefile for: qt-pgsql-plugin +# Date created: 5 August 2003 +# Whom: Lauri Watts <lauri@kde.org> +# +# $FreeBSD$ +# + +PORTNAME= qt-pgsql-plugin +PORTREVISION= 0 +CATEGORIES= databases x11-toolkits + +MAINTAINER= kde@freebsd.org +COMMENT= A plugin for QT to connect to PostgreSQL-Databases + +LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7 + +USE_QT_VER= 3 +QT_NONSTANDARD= yes + +LDCONFIG_DIRS= %%PREFIX%%/lib/plugins/sqldrivers +CONFIGURE_ARGS= -plugin-sql-psql +CONFIGURE_ENV= ${ECHO} yes | MOC="${MOC}" CPPFLAGS="${QTCPPFLAGS}" \ + LIBS="${QTCFGLIBS}" LOCALBASE="${LOCALBASE}" + +BUILD_PLUGIN_ONLY= yes + +do-build: + cd ${WRKSRC}/plugins/src/sqldrivers/psql; \ + ${SETENV} ${MAKE_ENV} ${GMAKE} + +do-install: + @${MKDIR} ${PREFIX}/lib/plugins/sqldrivers + ${INSTALL_DATA} ${WRKSRC}/plugins/sqldrivers/libqsqlpsql.so \ + ${PREFIX}/lib/plugins/sqldrivers/ + +.include "../../x11-toolkits/qt31/Makefile" diff --git a/databases/qt-pgsql-plugin/distinfo b/databases/qt-pgsql-plugin/distinfo new file mode 100644 index 000000000000..b63babb92bf5 --- /dev/null +++ b/databases/qt-pgsql-plugin/distinfo @@ -0,0 +1 @@ +MD5 (KDE/qt-x11-free-3.1.2.tar.bz2) = 156591717687799c69cf3f8b64a898f2 diff --git a/databases/qt-pgsql-plugin/files/patch-psql.pro b/databases/qt-pgsql-plugin/files/patch-psql.pro new file mode 100644 index 000000000000..4bb807ef0897 --- /dev/null +++ b/databases/qt-pgsql-plugin/files/patch-psql.pro @@ -0,0 +1,12 @@ +--- plugins/src/sqldrivers/psql/psql.pro.orig Tue Aug 5 19:09:02 2003 ++++ plugins/src/sqldrivers/psql/psql.pro Tue Aug 5 19:09:50 2003 +@@ -8,7 +8,8 @@ + !contains( LIBS, .*pq.* ) { + LIBS *= -lpq + } +-} ++ INCLUDEPATH += ${LOCALBASE}/include/postgresql/server ++ } + + win32 { + OBJECTS_DIR = obj diff --git a/databases/qt-pgsql-plugin/pkg-descr b/databases/qt-pgsql-plugin/pkg-descr new file mode 100644 index 000000000000..fc14d50e833d --- /dev/null +++ b/databases/qt-pgsql-plugin/pkg-descr @@ -0,0 +1,4 @@ +The PostgreSQL Plugin from Qt3, which provides an easy access method from +within Qt Applications. + +WWW: http://www.trolltech.com/products/qt/database.html diff --git a/databases/qt-pgsql-plugin/pkg-plist b/databases/qt-pgsql-plugin/pkg-plist new file mode 100644 index 000000000000..7f2eaac3f6de --- /dev/null +++ b/databases/qt-pgsql-plugin/pkg-plist @@ -0,0 +1,2 @@ +lib/plugins/sqldrivers/libqsqlpsql.so +@dirrm lib/plugins/sqldrivers |