summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2006-05-31 19:22:13 +0000
committeradam <adam@pkgsrc.org>2006-05-31 19:22:13 +0000
commit2f51b66ede373a4c09ad9f13168aa393e712af4f (patch)
tree419264cc667d54c0c361b74c8138abcc7e86e8ef /x11
parent51cfc834b073ca941273a3931c73977200e8fb98 (diff)
downloadpkgsrc-2f51b66ede373a4c09ad9f13168aa393e712af4f.tar.gz
QT postgresql driver
Diffstat (limited to 'x11')
-rw-r--r--x11/qt4-psql/DESCR1
-rw-r--r--x11/qt4-psql/Makefile29
-rw-r--r--x11/qt4-psql/PLIST3
3 files changed, 33 insertions, 0 deletions
diff --git a/x11/qt4-psql/DESCR b/x11/qt4-psql/DESCR
new file mode 100644
index 00000000000..bd34b63b2ae
--- /dev/null
+++ b/x11/qt4-psql/DESCR
@@ -0,0 +1 @@
+QT postgresql driver
diff --git a/x11/qt4-psql/Makefile b/x11/qt4-psql/Makefile
new file mode 100644
index 00000000000..c7a175bea52
--- /dev/null
+++ b/x11/qt4-psql/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/05/31 19:22:13 adam Exp $
+
+.include "../../x11/qt4-libs/Makefile.common"
+
+PKGNAME= qt4-psql-${QTVERSION}
+COMMENT= QT postgresql driver
+
+CONFIGURE_ARGS+= -I${QTDIR}/include
+CONFIGURE_ARGS+= -I${PGSQL_PREFIX}/include/postgresql/server
+CONFIGURE_ARGS+= -L${QTDIR}/lib
+
+BUILD_QT4= yes
+
+do-build:
+ cd ${WRKSRC}/src/tools/moc && ${SETENV} ${MAKE_ENV} ${GMAKE}
+ cd ${WRKSRC}/src/plugins/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/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/qt4-psql/PLIST b/x11/qt4-psql/PLIST
new file mode 100644
index 00000000000..2f800a19eb5
--- /dev/null
+++ b/x11/qt4-psql/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/31 19:22:13 adam Exp $
+qt4/plugins/sqldrivers/libqsqlpsql.la
+@unexec ${RMDIR} %D/qt4/plugins/sqldrivers 2>/dev/null || ${TRUE}