summaryrefslogtreecommitdiff
path: root/x11/qt4-pgsql
diff options
context:
space:
mode:
authoradam <adam>2006-06-14 15:51:38 +0000
committeradam <adam>2006-06-14 15:51:38 +0000
commit5057e924a8deb681a773f3b6f2fe4de7a9597e6d (patch)
tree8112374d53fe11a11e1a7b951fd9e8ab865f0f74 /x11/qt4-pgsql
parent7838bd0afba1b94be1b3ffd0011bc5c4401c312a (diff)
downloadpkgsrc-5057e924a8deb681a773f3b6f2fe4de7a9597e6d.tar.gz
Renamed x11/qt4-psql to x11/qt4-pgsql
Diffstat (limited to 'x11/qt4-pgsql')
-rw-r--r--x11/qt4-pgsql/DESCR1
-rw-r--r--x11/qt4-pgsql/Makefile29
-rw-r--r--x11/qt4-pgsql/PLIST3
3 files changed, 33 insertions, 0 deletions
diff --git a/x11/qt4-pgsql/DESCR b/x11/qt4-pgsql/DESCR
new file mode 100644
index 00000000000..bd34b63b2ae
--- /dev/null
+++ b/x11/qt4-pgsql/DESCR
@@ -0,0 +1 @@
+QT postgresql driver
diff --git a/x11/qt4-pgsql/Makefile b/x11/qt4-pgsql/Makefile
new file mode 100644
index 00000000000..927f6e445ca
--- /dev/null
+++ b/x11/qt4-pgsql/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/06/14 15:51:38 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-pgsql/PLIST b/x11/qt4-pgsql/PLIST
new file mode 100644
index 00000000000..0b0731b2688
--- /dev/null
+++ b/x11/qt4-pgsql/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/06/14 15:51:38 adam Exp $
+qt4/plugins/sqldrivers/libqsqlpsql.la
+@unexec ${RMDIR} %D/qt4/plugins/sqldrivers 2>/dev/null || ${TRUE}