summaryrefslogtreecommitdiff
path: root/x11/qt5-psql/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2014-12-25 13:51:13 +0000
committerwiz <wiz>2014-12-25 13:51:13 +0000
commit3eaff9b289d6ecd1a5d90297cf44f8e614426e12 (patch)
treea38f49f3c5cd679f5cd6fadac00b46abba7ffc3c /x11/qt5-psql/Makefile
parent3109d7b09d3c5c48760372986dec54b82b120849 (diff)
downloadpkgsrc-3eaff9b289d6ecd1a5d90297cf44f8e614426e12.tar.gz
Improve qt5 build structure, from Niclas Rosenvik:
Allow multiple BUILD_DIRS (but Makefile.common must be included later) Adds installation of some cmake files and gets rid of many manual installation rules. Bump PKGREVISION where PLIST changed.
Diffstat (limited to 'x11/qt5-psql/Makefile')
-rw-r--r--x11/qt5-psql/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/x11/qt5-psql/Makefile b/x11/qt5-psql/Makefile
index 96fcbbfff07..7664184c7b5 100644
--- a/x11/qt5-psql/Makefile
+++ b/x11/qt5-psql/Makefile
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2014/10/07 16:47:16 adam Exp $
+# $NetBSD: Makefile,v 1.9 2014/12/25 13:51:13 wiz Exp $
PKGNAME= qt5-psql-${QTVERSION}
-PKGREVISION= 2
+PKGREVISION= 3
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
@@ -19,16 +17,13 @@ BUILD_DIRS= qtbase/src/plugins/sqldrivers
MAKE_ENV+= QTDIR=${QTDIR}
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
-INSTALLATION_DIRS+= qt5/plugins/sqldrivers
+
+.include "../../x11/qt5-qtbase/Makefile.common"
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 "../../x11/qt5-qtbase/buildlink3.mk"