pkgsrc-wip/qtcreator/Makefile
Florian Walpen 1fef7a5e5f Enable automatic building of the Debugging Helper library.
The Debugging Helper library is built within the QtCreator application itself.
Adding these two patches adjusts the rpath used and issues an in-place install
to render the libtool managed library loadable.
2009-08-13 13:42:46 +00:00

67 lines
2.3 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2009/08/13 13:42:46 fwsf Exp $
#
DISTNAME= qt-creator-1.2.1-src
PKGNAME= qt-creator-1.2.1
CATEGORIES= devel
MASTER_SITES= http://get.qtsoftware.com/qtcreator/
EXTRACT_SUFX= .zip
MAINTAINER= fw@submerge.ch
HOMEPAGE= http://www.qtsoftware.com/
COMMENT= Cross-platform IDE for Qt and C++
LICENSE= gnu-lgpl-v2.1
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake
INSTALLATION_DIRS= bin lib/qtcreator lib/qtcreator/plugins/Nokia \
share/doc/qtcreator share/pixmaps share/qtcreator \
share/qtcreator/translations
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DEPENDS+= qt4-tools>=4.5.2nb1:../../x11/qt4-tools \
qt4-sqlite3>=4.5.2:../../x11/qt4-sqlite3
BUILD_TARGET= make_default qch_docs
MAKE_ENV+= PREFIX=${PREFIX}
do-configure:
cd ${WRKSRC} && env ${CONFIGURE_ENV} ${QTDIR}/bin/qmake
do-install:
${LIBTOOL} --mode=install \
${INSTALL_PROGRAM} ${WRKSRC}/bin/qtcreator.bin \
${DESTDIR}${PREFIX}/bin/qtcreator
${LIBTOOL} --mode=install \
${INSTALL_PROGRAM} ${WRKSRC}/bin/qtcreator_process_stub \
${DESTDIR}${PREFIX}/bin/
${LIBTOOL} --mode=install \
${INSTALL_LIB} ${WRKSRC}/lib/qtcreator/*.la \
${DESTDIR}${PREFIX}/lib/qtcreator/
${LIBTOOL} --mode=install \
${INSTALL_LIB} ${WRKSRC}/lib/qtcreator/plugins/Nokia/*.la \
${DESTDIR}${PREFIX}/lib/qtcreator/plugins/Nokia/
${LIBTOOL} --mode=install \
${INSTALL_DATA} ${WRKSRC}/lib/qtcreator/plugins/Nokia/*.pluginspec \
${DESTDIR}${PREFIX}/lib/qtcreator/plugins/Nokia/
${INSTALL_DATA} \
${WRKSRC}/src/plugins/coreplugin/images/qtcreator_logo*.png \
${DESTDIR}${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/share/doc/qtcreator/qtcreator.qch \
${DESTDIR}${PREFIX}/share/doc/qtcreator/
${INSTALL_DATA} ${WRKSRC}/share/qtcreator/translations/*.qm \
${DESTDIR}${PREFIX}/share/qtcreator/translations/
cd ${WRKSRC}/share/qtcreator && ${FIND} designer gdbmacros \
schemes snippets templates -type d -exec \
${INSTALL_DATA_DIR} "${WRKSRC}/share/qtcreator/{}" \
"${DESTDIR}${PREFIX}/share/qtcreator/{}" ";"
cd ${WRKSRC}/share/qtcreator && ${FIND} designer gdbmacros \
schemes snippets templates -type f \! -name "*.orig" -exec \
${INSTALL_DATA} "${WRKSRC}/share/qtcreator/{}" \
"${DESTDIR}${PREFIX}/share/qtcreator/{}" ";"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"