49 lines
2.2 KiB
Makefile
49 lines
2.2 KiB
Makefile
# $NetBSD: Makefile,v 1.40 2006/02/05 23:11:42 joerg Exp $
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
# XXX: hack - work round an ICE with GCC 3.3 on sparc
|
|
.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc"
|
|
GCC_REQD+= 3.4
|
|
.endif
|
|
|
|
.include "../../x11/qt3-libs/Makefile.common"
|
|
|
|
PKGNAME= qt3-tools-${QTVERSION}
|
|
PKGREVISION= 2
|
|
COMMENT= QT GUI (WYSIWYG) builder and other tools
|
|
|
|
CONFIGURE_ARGS+= -I${QTDIR}/include \
|
|
-L${QTDIR}/lib
|
|
|
|
BUILD_QT3= yes
|
|
UNLIMIT_RESOURCES= datasize
|
|
BUILD_TARGET= sub-tools
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM_DIR} ${QTPREFIX}/bin
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/bin/uic ${QTPREFIX}/bin
|
|
${INSTALL_LIB_DIR} ${QTPREFIX}/lib
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqui.la ${QTPREFIX}/lib
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/lib/libeditor.la ${QTPREFIX}/lib
|
|
${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/lib/libqassistantclient.la \
|
|
${QTPREFIX}/lib
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/bin/designer ${QTPREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${QTPREFIX}/plugins/designer
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/plugins/designer/libwizards.la ${QTPREFIX}/plugins/designer
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/plugins/designer/libcppeditor.la ${QTPREFIX}/plugins/designer
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/plugins/designer/libdlgplugin.la ${QTPREFIX}/plugins/designer
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/plugins/designer/librcplugin.la ${QTPREFIX}/plugins/designer
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/plugins/designer/libkdevdlgplugin.la ${QTPREFIX}/plugins/designer
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/bin/assistant ${QTPREFIX}/bin
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/bin/linguist ${QTPREFIX}/bin
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/bin/lupdate ${QTPREFIX}/bin
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/bin/lrelease ${QTPREFIX}/bin
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/bin/qm2ts ${QTPREFIX}/bin
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/bin/qtconfig ${QTPREFIX}/bin
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/bin/qmake ${QTPREFIX}/bin/qmake
|
|
${INSTALL_DATA_DIR} ${QTPREFIX}/mkspecs
|
|
${CP} -R ${WRKSRC}/mkspecs ${QTPREFIX}
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../x11/qt3-libs/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|