diff options
author | adam <adam> | 2006-05-31 19:22:13 +0000 |
---|---|---|
committer | adam <adam> | 2006-05-31 19:22:13 +0000 |
commit | a0964683a4fa3f53d4308e976ac92b6cecb69c11 (patch) | |
tree | 419264cc667d54c0c361b74c8138abcc7e86e8ef /x11 | |
parent | d11bef03e7129b15fb805d088d4bb23c4ab56c7c (diff) | |
download | pkgsrc-a0964683a4fa3f53d4308e976ac92b6cecb69c11.tar.gz |
QT postgresql driver
Diffstat (limited to 'x11')
-rw-r--r-- | x11/qt4-psql/DESCR | 1 | ||||
-rw-r--r-- | x11/qt4-psql/Makefile | 29 | ||||
-rw-r--r-- | x11/qt4-psql/PLIST | 3 |
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} |