blob: 3599fce925f6e1073e1f691cb529fe0343cf2027 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# New ports collection makefile for: qtcreator
# Date created: 2009-05-07
# Whom: kris@pcbsd.org
#
# $FreeBSD$
#
PORTNAME= qtcreator
PORTVERSION= 2.5.0
CATEGORIES= devel
MASTER_SITES= http://download.qt.nokia.com/qtcreator/
DISTNAME= qt-creator-${PORTVERSION}-src
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt Creator IDE and tools
LIB_DEPENDS= Imath.6:${PORTSDIR}/graphics/ilmbase \
IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
jasper.4:${PORTSDIR}/graphics/jasper \
jpeg.11:${PORTSDIR}/graphics/jpeg
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build uic_build \
linguist_build assistant_run qt3support \
dbus designer gui help-tools_build network script \
sql svg xml webkit qdoc3_build
HAS_CONFIGURE= yes
MAKE_ENV+= INSTALL_ROOT=${PREFIX}
ALL_TARGET= all docs
INSTALL_TARGET= install install_docs
QMAKE_ARGS= -recursive CONFIG+="configure" ${QMAKE_PRO}
QMAKE_PRO= ${WRKSRC}/${PORTNAME}.pro
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
CONFIGURE_WRKSRC= ${WRKDIR}/build
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
DESKTOP_ENTRIES= "Qt Creator" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "" false
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
do-configure:
${MKDIR} ${CONFIGURE_WRKSRC}
cd ${CONFIGURE_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
.include <bsd.port.mk>
|