diff options
author | ryoon <ryoon> | 2013-12-13 14:38:34 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2013-12-13 14:38:34 +0000 |
commit | af43f453b6020418bdcc26cd27f43094d68d57f5 (patch) | |
tree | 22ed4dc4d0265bda68595da8898a2a89dacc6aa2 /x11/qt5-psql/Makefile | |
parent | 7b8a0ca85fefd3b80986097bfe3dda5b1ce06d75 (diff) | |
download | pkgsrc-af43f453b6020418bdcc26cd27f43094d68d57f5.tar.gz |
Import Qt5 5.2.0rc1 packages and qt5 input module from uim
Only tested on NetBSD/amd64 6.99.28.
ToDo:
* inputmethod/qt5-ibus from Qt5 should be created
Diffstat (limited to 'x11/qt5-psql/Makefile')
-rw-r--r-- | x11/qt5-psql/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/x11/qt5-psql/Makefile b/x11/qt5-psql/Makefile new file mode 100644 index 00000000000..2af4a52fb43 --- /dev/null +++ b/x11/qt5-psql/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1 2013/12/13 14:38:35 ryoon Exp $ + +PKGNAME= qt5-psql-${QTVERSION} +COMMENT= Qt5 PostgreSQL plugin + +.include "../../x11/qt5-qtbase/Makefile.common" + +USE_LIBTOOL= yes + +CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib +CONFIGURE_ARGS+= -no-dbus +CONFIGURE_ARGS+= -no-sql-mysql +CONFIGURE_ARGS+= -no-sql-psql +CONFIGURE_ARGS+= -no-sql-sqlite + +BUILD_QT5= yes + +BUILD_DIRS+= qtbase/src/plugins/sqldrivers +MAKE_ENV+= QTDIR=${QTDIR} + +INSTALL_ENV+= INSTALL_ROOT=${DESTDIR} +INSTALLATION_DIRS+= qt5/plugins/sqldrivers + +post-configure: + cd ${WRKSRC}/${BUILD_DIRS} && \ + ${QTDIR}/bin/qmake "sql-plugins=psql" -o Makefile + +do-install: + ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \ + ${WRKSRC}/qtbase/plugins/sqldrivers/libqsqlpsql.la \ + ${DESTDIR}${QTPREFIX}/plugins/sqldrivers + +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../mk/pgsql.buildlink3.mk" +.include "../../x11/qt5-qtbase/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |