blob: 2e5585f6f6d67dca34b3809259f14ecdfd12acde (
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# $NetBSD: Makefile,v 1.27 2014/02/16 02:08:19 wiedi Exp $
DISTNAME= qt-creator-2.0.1-src
PKGNAME= ${DISTNAME:S/qt-/qt4-/:S/-src//}
PKGREVISION= 19
CATEGORIES= devel
MASTER_SITES= http://get.qt.nokia.com/qtcreator/
EXTRACT_SUFX= .tgz
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
BUILD_DEPENDS+= qt4-sqlite3>=4.7.0:../../x11/qt4-sqlite3
BUILD_TARGET= make_default qch_docs
MAKE_ENV+= PREFIX=${PREFIX}
LDFLAGS.SunOS+= -lsocket -lnsl
pre-configure:
rm -rf ${WRKSRC}/src/libs/3rdparty/botan
do-configure:
cd ${WRKSRC} && env ${CONFIGURE_ENV} ${QTDIR}/bin/qmake
do-install:
${LIBTOOL} --mode=install \
${INSTALL_PROGRAM} ${WRKSRC}/bin/qtcreator \
${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 styles templates -type d -exec \
${INSTALL_DATA_DIR} "${WRKSRC}/share/qtcreator/{}" \
"${DESTDIR}${PREFIX}/share/qtcreator/{}" ";"
cd ${WRKSRC}/share/qtcreator && ${FIND} designer gdbmacros \
schemes snippets styles templates -type f \! -name "*.orig" -exec \
${INSTALL_DATA} "${WRKSRC}/share/qtcreator/{}" \
"${DESTDIR}${PREFIX}/share/qtcreator/{}" ";"
BUILDLINK_DEPMETHOD.qt4-tools= full
.include "../../security/botan/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|