pkgsrc/x11/qt4-tools/Makefile
adam e6a4360f4e Changes 4.2.3:
This is a bug-fix release. It maintains both forward and backward
compatibility (source and binary) with Qt 4.2.0.

- Configuration/Compilation
    * Fixed architecture detection on UltraSPARC-T1 systems.
    * Fixed compilation on embedded architectures when qreal is not double.
- Documentation
    * Completed documentation for "Implementing Atomic Operations",
      which is useful for people porting Qt to a new hardware architecture.
- Translations
    * Added a new unofficial Portuguese translation courtesy of Helder
      Correia.
- Qt Linguist
    * Made the columns in the phrasebook resizeable.
- lupdate
    * Fixed bug in the .pro parser of lupdate. It should accept backslashes.
    * Fixed a severe slowdown in lupdate. (~400x speedup.)
    * Fixed traversal of subdirectories.
- moc
    * Don't create trigraphs in the generated code for C++ casts.
- uic
    * Fixed a bug that generated excessive margins for Q3GroupBox.
2007-03-18 17:34:41 +00:00

53 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2007/03/18 17:34:42 adam Exp $
.include "../../x11/qt4-libs/Makefile.common"
PKGNAME= qt4-tools-${QTVERSION}
COMMENT= QT GUI (WYSIWYG) builder and other tools
DEPENDS+= libtool-base-[0-9]*:../../devel/libtool-base
CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib
BUILD_TARGET= sub-tools
BUILD_QT4= yes
UNLIMIT_RESOURCES= datasize
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-install:
.for prog in assistant lrelease lupdate qmake qt3to4
${INSTALL_PROGRAM} ${WRKSRC}/bin/${prog} ${QTPREFIX}/bin/
.endfor
.for prog in designer linguist qtconfig
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bin/${prog} \
${QTPREFIX}/bin
.endfor
cd ${WRKSRC}/tools/assistant/lib && env ${MAKE_ENV} \
${MAKE_PROGRAM} install_assistant_headers
cd ${WRKSRC}/tools/designer/src/lib && env ${MAKE_ENV} \
${MAKE_PROGRAM} install_designer_headers
cd ${WRKSRC}/tools/qtestlib/src && env ${MAKE_ENV} \
${MAKE_PROGRAM} install_qtestlib_headers
.for lib in QtAssistantClient QtDesigner QtDesignerComponents QtTest
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/lib/lib${lib}.la \
${QTPREFIX}/lib/
.endfor
${INSTALL_DATA} ${WRKSRC}/lib/QtTest.pc ${PREFIX}/lib/pkgconfig/
${INSTALL_LIB_DIR} ${QTPREFIX}/plugins/designer
${LIBTOOL} --mode=install ${INSTALL_LIB} \
${WRKSRC}/plugins/designer/libqt3supportwidgets.la \
${QTPREFIX}/plugins/designer/
${INSTALL_DATA_DIR} ${QTPREFIX}/phrasebooks
${INSTALL_DATA} ${WRKSRC}/tools/linguist/phrasebooks/*.qph \
${QTPREFIX}/phrasebooks/
${INSTALL_DATA_DIR} ${QTPREFIX}/mkspecs
cp -R ${WRKSRC}/mkspecs ${QTPREFIX}
.include "../../converters/libiconv/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"