pkgsrc/x11/qt4-tools/Makefile
adam 989826eeca Changes 4.3.0:
- Configuration/Compilation
    * Fixed OpenBSD and NetBSD build issues.
- Legal
    * Added information about the OpenSSL exception to the GPL.
- Documentation and Examples
    * Added information about the TS file format used in Linguist.
    * Moved platform and compiler support information from
      www.trolltech.com into the documentation.
    * Added an Accessibility overview document.
    * Added new example to show usage of QCompleter with custom tree models.
- Translations
- Added support for the CP949 Korean Codec.
- [138140] The whole Qt source compiles with the QT_NO_CAST_FROM_ASCII
  and QT_NO_CAST_TO_ASCII defines and therefore is more robust when
  using codecs.
- Added support for HP-UX 11i (Itanium) with the aCC compiler
- Changed dialogs to respond much better to the LanguageChange event.
  (i.e. run time translation now works much better.)
- Signals and slots
    * [61295] Added Qt::BlockingQueuedConnection connection type, which
      waits for all slots to be called before continuing.
    * [128646] Ignore optional keywords specified in SIGNAL() and SLOT()
      signatures (struct, class, and enum).
    * Optimize emitting signals that do not have anything connected to them.
- [121629] Added support for the MinGW/MSYS platform.
- [102293] Added search path functionality (QDir::addSearchPath)
- Almost all widgets are now styleable using Qt Style Sheets.
2007-07-28 07:37:51 +00:00

54 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2007/07/28 07:37:52 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 QtScript QtTest
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/lib/lib${lib}.la \
${QTPREFIX}/lib/
.endfor
${INSTALL_DATA} ${WRKSRC}/lib/pkgconfig/QtScript.pc ${PREFIX}/lib/pkgconfig/
${INSTALL_DATA} ${WRKSRC}/lib/pkgconfig/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"