diff options
author | Kris Moore <kmoore@FreeBSD.org> | 2009-08-19 12:30:31 +0000 |
---|---|---|
committer | Kris Moore <kmoore@FreeBSD.org> | 2009-08-19 12:30:31 +0000 |
commit | 92c1a1abddd031e91f091b439745352934ca61bc (patch) | |
tree | 53711997af9e3954cbe3a217b7a0fed505034f0e /devel/qtcreator/Makefile | |
parent | 36ad46d9e807a6e028c138a01112f4e0cd7c4218 (diff) | |
download | ports-92c1a1abddd031e91f091b439745352934ca61bc.tar.gz ports-92c1a1abddd031e91f091b439745352934ca61bc.zip |
Notes
Diffstat (limited to 'devel/qtcreator/Makefile')
-rw-r--r-- | devel/qtcreator/Makefile | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/devel/qtcreator/Makefile b/devel/qtcreator/Makefile new file mode 100644 index 000000000000..faa7ff15f520 --- /dev/null +++ b/devel/qtcreator/Makefile @@ -0,0 +1,63 @@ +### -*-mode: makefile-*- +# New ports collection makefile for: qtcreator +# Date created: Thu May 7 15:19:01 EDT 2009 +# Whom: kris@pcbsd.org +# +# $FreeBSD$ +# + +PORTNAME= qtcreator +PORTVERSION= 1.2.1 +CATEGORIES?= devel +MASTER_SITES= http://download.qt.nokia.com/qtcreator/ +DISTNAME= qt-creator-${PORTVERSION}-src + +MAINTAINER= kris@pcbsd.org +COMMENT= Qt4 IDE + +LIB_DEPENDS= Imath.6:${PORTSDIR}/graphics/ilmbase \ + IlmImf.6:${PORTSDIR}/graphics/OpenEXR \ + jasper.4:${PORTSDIR}/graphics/jasper \ + jpeg.10:${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 network script \ + sql svg xml webkit +HAS_CONFIGURE= yes + +QMAKE_ARGS= -unix -recursive ${QMAKE_PRO} +QMAKE_PRO= qtcreator.pro + +MAKE_JOBS_SAFE= yes + +USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} + +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: + @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ + ${QMAKE} -unix CONFIG+="configure" ${QMAKE_PRO} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/bin/qtcreator \ + ${PREFIX}/bin/qtcreator + ${INSTALL_PROGRAM} ${WRKSRC}/bin/qtcreator.bin \ + ${PREFIX}/bin/qtcreator.bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/qtcreator_process_stub \ + ${PREFIX}/bin/qtcreator_process_stub + ${MKDIR} ${PREFIX}/lib/ + cd ${WRKSRC}/lib/ && ${FIND} -d qtcreator | ${CPIO} -dumpl \ + ${PREFIX}/lib/ >/dev/null + ${MKDIR} ${PREFIX}/share/ + cd ${WRKSRC}/share && ${COPYTREE_SHARE} qtcreator \ + ${PREFIX}/share/ + ${MKDIR} ${PREFIX}/share/doc + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${PREFIX}/share/doc/qtcreator/ + +.include <bsd.port.mk> |