summaryrefslogtreecommitdiff
path: root/databases/qt-pgsql-plugin
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2003-12-13 10:21:14 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2003-12-13 10:21:14 +0000
commit64c4818f8e2cf14bd8766bb5bd48e2dc23d5ebfb (patch)
tree00786497134cc3d0118f5683e7096193cb2831b6 /databases/qt-pgsql-plugin
parent- Unbreak on -current (diff)
- Update QT to version 3.2.3.
- s/USE_MESA/USE_GL - Get rid of the nvidia-driver warning - Unhook database-plugin ports from the main port. - Use and depend on devel/qmake. Thanks to Mikhail Teterin <mi+kde@aldan.algebra.com> for ideas and code for the dependency on the qmake-port and the database- plugins. Approved by: Maintainer (for qt-mysql-plugins)
Notes
Notes: svn path=/head/; revision=95714
Diffstat (limited to 'databases/qt-pgsql-plugin')
-rw-r--r--databases/qt-pgsql-plugin/Makefile33
-rw-r--r--databases/qt-pgsql-plugin/pkg-descr6
2 files changed, 10 insertions, 29 deletions
diff --git a/databases/qt-pgsql-plugin/Makefile b/databases/qt-pgsql-plugin/Makefile
index 60493cfea6d1..a006bb410822 100644
--- a/databases/qt-pgsql-plugin/Makefile
+++ b/databases/qt-pgsql-plugin/Makefile
@@ -1,37 +1,18 @@
# -*-mode: makefile-*-
-# New ports collection makefile for: qt-pgsql-plugin
-# Date created: 5 August 2003
-# Whom: Lauri Watts <lauri@kde.org>
+# 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
+LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
-do-build:
- cd ${WRKSRC}/plugins/src/sqldrivers/psql; \
- ${SETENV} ${MAKE_ENV} ${GMAKE}
+DB= psql
-do-install:
- @${MKDIR} ${PREFIX}/lib/plugins/sqldrivers
- ${INSTALL_DATA} ${WRKSRC}/plugins/sqldrivers/libqsqlpsql.so \
- ${PREFIX}/lib/plugins/sqldrivers/
+DESCR= ${PORTSDIR}/databases/qt-pgsql-plugin/pkg-descr
-.include "../../x11-toolkits/qt32/Makefile"
+.include "../qt-mysql-plugin/Makefile.dbplugin"
diff --git a/databases/qt-pgsql-plugin/pkg-descr b/databases/qt-pgsql-plugin/pkg-descr
index fc14d50e833d..38a33b5b6a4a 100644
--- a/databases/qt-pgsql-plugin/pkg-descr
+++ b/databases/qt-pgsql-plugin/pkg-descr
@@ -1,4 +1,4 @@
-The PostgreSQL Plugin from Qt3, which provides an easy access method from
-within Qt Applications.
+The PostgreSQL Plugin from Qt3, which provides an easy access method from
+within Qt applications.
-WWW: http://www.trolltech.com/products/qt/database.html
+WWW: http://www.trolltech.com/products/qt/database.html