summaryrefslogtreecommitdiff
path: root/x11/qt5-qtwebchannel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-02-08 09:01:28 +0000
committerwiz <wiz@pkgsrc.org>2015-02-08 09:01:28 +0000
commit33d67d53a398c9a8535156f9e1a073de1c9a4225 (patch)
treed4fa069096b511bfc9c918b13cda8f2bebcee901 /x11/qt5-qtwebchannel
parent8c71f69cf49bb842f9ae0321017f2355120624c5 (diff)
downloadpkgsrc-33d67d53a398c9a8535156f9e1a073de1c9a4225.tar.gz
Improvements from nros via the wip package of the same name.
Diffstat (limited to 'x11/qt5-qtwebchannel')
-rw-r--r--x11/qt5-qtwebchannel/DESCR3
-rw-r--r--x11/qt5-qtwebchannel/Makefile16
-rw-r--r--x11/qt5-qtwebchannel/PLIST3
3 files changed, 10 insertions, 12 deletions
diff --git a/x11/qt5-qtwebchannel/DESCR b/x11/qt5-qtwebchannel/DESCR
index 3157325939f..f79025f1dac 100644
--- a/x11/qt5-qtwebchannel/DESCR
+++ b/x11/qt5-qtwebchannel/DESCR
@@ -1 +1,2 @@
-Qt5 WebChannel module
+Qt5 module that provides a mechanism to transperently access QObject
+or QML objects from HTML clients.
diff --git a/x11/qt5-qtwebchannel/Makefile b/x11/qt5-qtwebchannel/Makefile
index 874ba08a082..6c99b5b0e01 100644
--- a/x11/qt5-qtwebchannel/Makefile
+++ b/x11/qt5-qtwebchannel/Makefile
@@ -1,24 +1,20 @@
-# $NetBSD: Makefile,v 1.1 2015/02/07 13:18:14 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2015/02/08 09:01:28 wiz Exp $
DISTNAME= qtwebchannel-opensource-src-${QTVERSION}
PKGNAME= qt5-qtwebchannel-${QTVERSION}
COMMENT= Qt5 WebChannel module
-BUILD_DEPENDS+= gperf-[0-9]*:../../devel/gperf
-
-USE_TOOLS+= bison flex pkg-config sed
-
MAKE_ENV+= QTDIR=${QTDIR}
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
INSTALLATION_DIRS+= lib/pkgconfig
.include "../../x11/qt5-qtbase/Makefile.common"
-.if ${USE_CWRAPPERS:Uno} == "yes"
-BUILDLINK_TRANSFORM+= R:${WRKSRC}/lib:${QTDIR}/lib
-.else
-BUILDLINK_TRANSFORM+= rpath:${WRKSRC}/lib:${QTDIR}/lib
-.endif
+post-install:
+.for i in Qt5WebChannel.pc
+ cd ${DESTDIR}${PREFIX}/lib/pkgconfig && \
+ ln -f -s ${QTPREFIX}/lib/pkgconfig/${i} ${i}
+.endfor
.include "../../x11/qt5-qtdeclarative/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/qt5-qtwebchannel/PLIST b/x11/qt5-qtwebchannel/PLIST
index e1992242793..7a9bdceb2c2 100644
--- a/x11/qt5-qtwebchannel/PLIST
+++ b/x11/qt5-qtwebchannel/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2015/02/07 13:18:14 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2015/02/08 09:01:28 wiz Exp $
+lib/pkgconfig/Qt5WebChannel.pc
qt5/include/QtWebChannel/${PKGVERSION}/QtWebChannel/private/qmetaobjectpublisher_p.h
qt5/include/QtWebChannel/${PKGVERSION}/QtWebChannel/private/qqmlwebchannelattached_p.h
qt5/include/QtWebChannel/${PKGVERSION}/QtWebChannel/private/qwebchannel_p.h