2f759fa83d
Qt 4.4 introduces many new features as well as many improvements and bugfixes over the 4.3.x series. For more details, see the online documentation which is included in this distribution. The documentation is also available at http://doc.trolltech.com/4.4 The Qt version 4.4 series is binary compatible with the 4.3.x series. A long list of changes can be found in the changes-4.4.0 file in the distribution. Update OKed (and initial work provided) by adam@..
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2008/07/24 12:55:20 markd 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}
|
|
|
|
do-install:
|
|
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/lib/libQtDBus.la \
|
|
${QTPREFIX}/lib/
|
|
${SED} -e "s:${WRKSRC}:${QTPREFIX}:g" \
|
|
${WRKSRC}/lib/pkgconfig/QtDBus.pc > ${WRKDIR}/QtDBus.pc
|
|
${INSTALL_DATA} ${WRKDIR}/QtDBus.pc ${PREFIX}/lib/pkgconfig/
|
|
cd ${WRKSRC}/src/dbus && env ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} install_flat_headers install_targ_headers
|
|
.for prog in qdbus qdbuscpp2xml qdbusviewer qdbusxml2cpp
|
|
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bin/${prog} \
|
|
${QTPREFIX}/bin
|
|
.endfor
|
|
|
|
.include "../../x11/qt4-libs/buildlink3.mk"
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|