summaryrefslogtreecommitdiff
path: root/x11/qt5-qtwebchannel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/qt5-qtwebchannel/Makefile')
-rw-r--r--x11/qt5-qtwebchannel/Makefile16
1 files changed, 6 insertions, 10 deletions
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"