pkgsrc/x11/qt5-dbus/Makefile
wiz 4111b0d11e Bump PKGREVISION.
libxcb-1.10 has one major library version change, for libxcb-sync.so
(from 0 to 1) and qt5 is the only package I could find that uses
this particular library.
2014-01-04 11:58:39 +00:00

31 lines
863 B
Makefile

# $NetBSD: Makefile,v 1.2 2014/01/04 11:58:39 wiz Exp $
PKGNAME= qt5-dbus-${QTVERSION}
PKGREVISION= 1
COMMENT= Qt5 DBus support plugin
.include "../../x11/qt5-qtbase/Makefile.common"
BUILD_DIRS= qtbase/src/dbus
CFLAGS+= -I${BUILDLINK_PREFIX.dbus}/include/dbus-1.0
CFLAGS+= -I${BUILDLINK_PREFIX.dbus}/lib/dbus-1.0/include/dbus
CFLAGS+= -I${BUILDLINK_PREFIX.qt5-qtbase}/qt5/include
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
INSTALLATION_DIRS= ${QTPREFIX}/bin lib/pkgconfig
PC_FILES= Qt5DBus.pc
post-install:
.for i in ${PC_FILES}
${RM} -f ${DESTDIR}${PREFIX}/lib/pkgconfig/${i} && \
cd ${DESTDIR}${PREFIX}/lib/pkgconfig && \
${LN} -s ${QTPREFIX}/lib/pkgconfig/${i} ${i}
.endfor
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"