mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
515db2ed10
GCC 4.2 in FreeBSD 8.X/9.X base is now too old to compile OpenEXR, so GCC-based systems will upgrade to the default ports compiler (GCC 4.7 currently.) Add two patches to OpenEXR to permit building it in a live system with the older OpenEXR version installed. Bug report filed to upstream Github at https://github.com/openexr/openexr/issues/130 Couple OpenEXR more tightly to ilmbase and require its exact .so version. Add UPDATING note, and bump PORTREVISION of all dependent ports. Proto-STAGE hugin-devel, and mark it IGNORE because hugin is newer. Approved by: portmgr (implicit for bumping PORTREVISION on unstaged ports)
62 lines
2.1 KiB
Makefile
62 lines
2.1 KiB
Makefile
# Created by: Kris Moore <kris@pcbsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qtcreator
|
|
DISTVERSION= 2.8.0
|
|
PORTREVISION= 4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_QT:S/$/:qtcreator/} \
|
|
${MASTER_SITE_QT}
|
|
MASTER_SITE_SUBDIR= official_releases/qtcreator/${DISTVERSION:R}/${DISTVERSION}/:qtcreator \
|
|
official_releases/qt/${QT4_VERSION:R}/${QT4_VERSION}
|
|
DISTNAME= qt-creator-${DISTVERSION}-src
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:qtcreator \
|
|
${QT_DISTNAME}.tar.gz
|
|
DIST_SUBDIR= KDE
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= C++ and QML IDE for Qt development
|
|
|
|
LIB_DEPENDS= libImath.so:${PORTSDIR}/graphics/ilmbase \
|
|
libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
|
|
libjasper.so:${PORTSDIR}/graphics/jasper \
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg
|
|
|
|
USE_QT4= moc_build rcc_build uic_build \
|
|
linguist_build assistant_run qt3support \
|
|
dbus designer gui help-tools_build network script \
|
|
corelib sql svg testlib xml webkit qdoc3_build
|
|
USES= qmake:outsource
|
|
MAKE_JOBS_UNSAFE= yes
|
|
ALL_TARGET= all docs
|
|
INSTALL_TARGET= install install_docs
|
|
MAKE_ENV= XDG_CONFIG_HOME=/dev/null
|
|
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
|
|
|
|
QMAKE_ARGS= CONFIG+="configure" QTC_PREFIX=${PREFIX}
|
|
|
|
# Build Qt Quick Designer (requires update on every Qt update).
|
|
QT_DISTNAME= qt-everywhere-opensource-src-${QT4_VERSION}
|
|
DO_NOT_EXTRACT= config.profiles config.tests demos doc examples lib \
|
|
mkspecs tools translations
|
|
.for dne in ${DO_NOT_EXTRACT}
|
|
EXTRACT_AFTER_ARGS+= --exclude '${QT_DISTNAME}/${dne}'
|
|
.endfor
|
|
QMAKE_ARGS+= QT_PRIVATE_HEADERS="${WRKDIR}/${QT_DISTNAME}/include"
|
|
|
|
DESKTOP_ENTRIES="Qt Creator" "" "QtProject-qtcreator" \
|
|
"${PREFIX}/bin/${PORTNAME}" "Development;Qt;" true
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|lrelease|lrelease-qt4|' \
|
|
${WRKSRC}/share/qtcreator/translations/translations.pro
|
|
${REINPLACE_CMD} -e 's|lupdate|lupdate-qt4|' \
|
|
${WRKSRC}/share/qtcreator/translations/translations.pro
|
|
${REINPLACE_CMD} -e 's|/usr/bin/gnuplot|${LOCALBASE}/gnuplot|' \
|
|
${WRKSRC}/share/qtcreator/dumper/gbridge.py
|
|
${REINPLACE_CMD} -e 's|/usr/bin/ant|${LOCALBASE}/ant|' \
|
|
${WRKSRC}/src/plugins/android/androidsettingswidget.cpp
|
|
${RM} ${WRKSRC}/share/qtcreator/dumper/gbridge.py.bak
|
|
|
|
.include <bsd.port.mk>
|