pkgsrc/x11/qt4-qdbus/Makefile
wiz 15597e7da4 Update qt4 packages to 4.8.6.
Qt 4.8.6 provides overall over 200 improvements and bug fixes, for
example:

    Security Fix for XML Entity Expansion Denial of Service (the
    "Billion Laughs" attack)
    Better support for Mac OS X 10.9 Mavericks
    Many customer requested bug fixes, for example QTBUG-15116,
    QTBUG-21371, QTBUG-8990, QTBUG-28601, QTBUG-20946, QTBUG-30276,
    QTBUG-29572 and QTBUG-13237 (just to name a few)
    MinGW binary packages are now built with MinGW-w64 based
    toolchain with gcc 4.8.2
    Basque translation added and many other translations improved
2014-07-22 17:01:51 +00:00

41 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.38 2014/07/22 17:01:52 wiz Exp $
.include "../../x11/qt4-libs/Makefile.common"
PKGNAME= qt4-qdbus-${QTVERSION}
COMMENT= QT DBus support
CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib
CONFIGURE_ARGS+= -qdbus
USE_TOOLS+= pkg-config
BUILD_QT4= yes
post-configure:
ln -s ${QTPREFIX}/bin/moc ${WRKSRC}/bin/moc
ln -s ${QTPREFIX}/bin/uic ${WRKSRC}/bin/uic
ln -s ${QTPREFIX}/bin/rcc ${WRKSRC}/bin/rcc
do-build:
cd ${WRKSRC}/src/dbus && env ${MAKE_ENV} ${GMAKE}
cd ${WRKSRC}/tools/qdbus && env ${MAKE_ENV} ${GMAKE}
INSTALLATION_DIRS= ${QTPREFIX}/bin ${QTPREFIX}/lib lib/pkgconfig
do-install:
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/lib/libQtDBus.la \
${DESTDIR}${QTPREFIX}/lib/
${SED} -e "s:${WRKSRC}:${QTPREFIX}:g" \
${WRKSRC}/lib/pkgconfig/QtDBus.pc > ${WRKDIR}/QtDBus.pc
${INSTALL_DATA} ${WRKDIR}/QtDBus.pc ${DESTDIR}${PREFIX}/lib/pkgconfig/
cd ${WRKSRC}/src/dbus && env ${MAKE_ENV} INSTALL_ROOT=${DESTDIR} \
${MAKE_PROGRAM} install_flat_headers install_targ_headers install_class_headers
.for f in qdbus qdbuscpp2xml qdbusviewer qdbusxml2cpp
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} \
${DESTDIR}${QTPREFIX}/bin
.endfor
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"