summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner>2002-10-28 11:18:36 +0000
committerdrochner <drochner>2002-10-28 11:18:36 +0000
commit02c93ff4e192fb20ecd976d822273ad5449d4a51 (patch)
tree7c6227fa6e252b45dd661e2fcd506c4b891e90d1
parent37c4310621aed6a26ce4228781d0fd762eda11fb (diff)
downloadpkgsrc-02c93ff4e192fb20ecd976d822273ad5449d4a51.tar.gz
build the postgresql database driver for Qt
-rw-r--r--x11/qt3-psql/DESCR1
-rw-r--r--x11/qt3-psql/Makefile30
-rw-r--r--x11/qt3-psql/PLIST5
3 files changed, 36 insertions, 0 deletions
diff --git a/x11/qt3-psql/DESCR b/x11/qt3-psql/DESCR
new file mode 100644
index 00000000000..bd34b63b2ae
--- /dev/null
+++ b/x11/qt3-psql/DESCR
@@ -0,0 +1 @@
+QT postgresql driver
diff --git a/x11/qt3-psql/Makefile b/x11/qt3-psql/Makefile
new file mode 100644
index 00000000000..0d60b417118
--- /dev/null
+++ b/x11/qt3-psql/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/10/28 11:18:36 drochner Exp $
+#
+
+.include "../qt3-libs/Makefile.common"
+
+PKGNAME= qt3-psql-${QTVERSION}
+COMMENT= QT postgresql driver
+
+CONFIGURE_ARGS+= -I${QTDIR}/include \
+ -L${QTDIR}/lib
+
+MAKE_ENV+= LIBQT="-lqt-mt"
+
+USE_BUILDLINK2= yes
+BUILD_QT3= yes
+
+do-build:
+ (cd ${WRKSRC}/plugins/src/sqldrivers/psql; \
+ ${SETENV} ${MAKE_ENV} ${GMAKE})
+
+SQLDRVDIR= ${QTPREFIX}/plugins/sqldrivers
+
+do-install:
+ ${INSTALL_DATA_DIR} ${SQLDRVDIR}
+ ${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/plugins/sqldrivers/libqsqlpsql.la \
+ ${SQLDRVDIR}
+
+.include "../../x11/qt3-libs/buildlink2.mk"
+.include "../../databases/postgresql-lib/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/qt3-psql/PLIST b/x11/qt3-psql/PLIST
new file mode 100644
index 00000000000..ba34a7f5586
--- /dev/null
+++ b/x11/qt3-psql/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/28 11:18:36 drochner Exp $
+qt3/plugins/sqldrivers/libqsqlpsql.a
+qt3/plugins/sqldrivers/libqsqlpsql.la
+qt3/plugins/sqldrivers/libqsqlpsql.so
+@dirrm qt3/plugins/sqldrivers