Changeset View
Changeset View
Standalone View
Standalone View
head/devel/qtcreator/Makefile
# Created by: Kris Moore <kris@pcbsd.org> | # Created by: Kris Moore <kris@pcbsd.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= qtcreator | PORTNAME= qtcreator | ||||
DISTVERSION= 4.2.0 | DISTVERSION= 4.2.1 | ||||
CATEGORIES= devel | CATEGORIES= devel | ||||
MASTER_SITES= QT/official_releases/qtcreator/${DISTVERSION:R}/${DISTVERSION} | MASTER_SITES= QT/official_releases/qtcreator/${DISTVERSION:R}/${DISTVERSION} | ||||
DISTNAME= qt-creator-opensource-src-${DISTVERSION} | DISTNAME= qt-creator-opensource-src-${DISTVERSION} | ||||
DIST_SUBDIR= KDE/Qt/qtcreator | DIST_SUBDIR= KDE/Qt/qtcreator | ||||
MAINTAINER= kde@FreeBSD.org | MAINTAINER= kde@FreeBSD.org | ||||
COMMENT= C++ and QML IDE for Qt development | COMMENT= C++ and QML IDE for Qt development | ||||
# depend on the split out qbs | # depend on the split out qbs | ||||
LIB_DEPENDS= libqbscore.so:devel/qbs | LIB_DEPENDS= libqbscore.so:devel/qbs | ||||
USE_LDCONFIG= ${LOCALBASE}/lib/${PORTNAME} | USE_LDCONFIG= ${LOCALBASE}/lib/${PORTNAME} | ||||
USES= qmake compiler:c++11-lib | USES= qmake compiler:c++11-lib tar:xz | ||||
USE_GL= gl | USE_GL= gl | ||||
USE_QT5= buildtools concurrent core declarative designer gui help \ | USE_QT5= buildtools concurrent core declarative designer gui help \ | ||||
linguist network printsupport qdoc qml quick quickcontrols \ | linguist network printsupport qdoc qml quick quickcontrols \ | ||||
script script sql svg webkit widgets xml xmlpatterns | script script sql svg webkit widgets xml xmlpatterns | ||||
# be paranoid and do not extract qbs (devel/qbs) copy from source tree | # be paranoid and do not extract qbs (devel/qbs) copy from source tree | ||||
EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/src/shared/qbs' | EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/src/shared/qbs' | ||||
# Set QBS_INSTALL_DIR for QBS plugin build and set config parameter to build | # Set QBS_INSTALL_DIR for QBS plugin build and set config parameter to build | ||||
Show All 19 Lines | |||||
EXAMPLES_USE= QT5=examples_run | EXAMPLES_USE= QT5=examples_run | ||||
OPTIONS_DEFAULT= ${OPTIONS_DEFINE} | OPTIONS_DEFAULT= ${OPTIONS_DEFINE} | ||||
ALL_TARGET= all | ALL_TARGET= all | ||||
INSTALL_TARGET= install | INSTALL_TARGET= install | ||||
DOCS_ALL_TARGET= docs | DOCS_ALL_TARGET= docs | ||||
DOCS_INSTALL_TARGET= install_docs | DOCS_INSTALL_TARGET= install_docs | ||||
PLIST_SUB= SHLIB_VER="${PORTVERSION}" | |||||
# Fix paths for gnuplot and ant. | # Fix paths for gnuplot and ant. | ||||
post-patch: | post-patch: | ||||
${REINPLACE_CMD} -e 's|/usr/bin/gnuplot|${LOCALBASE}/bin/gnuplot|' \ | ${REINPLACE_CMD} -e 's|/usr/bin/gnuplot|${LOCALBASE}/bin/gnuplot|' \ | ||||
${WRKSRC}/share/qtcreator/debugger/dumper.py | ${WRKSRC}/share/qtcreator/debugger/dumper.py | ||||
${REINPLACE_CMD} -e 's|/usr/bin/ant|${LOCALBASE}/bin/ant|' \ | ${REINPLACE_CMD} -e 's|/usr/bin/ant|${LOCALBASE}/bin/ant|' \ | ||||
${WRKSRC}/src/plugins/android/androidsettingswidget.cpp | ${WRKSRC}/src/plugins/android/androidsettingswidget.cpp | ||||
Show All 12 Lines |