blob: 22bbbc8578f0efc7c49cd604bb5a0e5b9cd0dc66 (
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
|
# $NetBSD: Makefile,v 1.65 2012/10/29 05:06:47 asau Exp $
.include "../../mk/bsd.prefs.mk"
# XXX: hack - work round an ICE with GCC 3.3 on sparc
.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc"
GCC_REQD+= 3.4
.endif
.include "../../x11/qt3-libs/Makefile.common"
PKGNAME= qt3-tools-${QTVERSION}
PKGREVISION= 9
COMMENT= QT GUI (WYSIWYG) builder and other tools
DEPENDS+= libtool-base-[0-9]*:../../devel/libtool-base
CONFIGURE_ARGS+= -I${QTDIR}/include \
-L${QTDIR}/lib
BUILD_QT3= yes
UNLIMIT_RESOURCES= datasize
BUILD_TARGET= sub-tools
INSTALLATION_DIRS= ${QTPREFIX}/bin ${QTPREFIX}/lib \
${QTPREFIX}/plugins/designer ${QTPREFIX}/mkspecs
USE_TOOLS+= pax
do-install:
for bin in assistant designer linguist lrelease lupdate qm2ts \
qmake qtconfig uic; do \
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bin/$$bin \
${DESTDIR}${QTPREFIX}/bin; \
done
for lib in libeditor.la libqassistantclient.la libqui.la; do \
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/lib/$$lib \
${DESTDIR}${QTPREFIX}/lib; \
done
for plugin in libwizards.la libcppeditor.la libdlgplugin.la \
librcplugin.la libkdevdlgplugin.la; do \
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
${WRKSRC}/plugins/designer/$$plugin \
${DESTDIR}${QTPREFIX}/plugins/designer; \
done
cd ${WRKSRC}/mkspecs && pax -rw . ${DESTDIR}${QTPREFIX}/mkspecs
.include "../../converters/libiconv/buildlink3.mk"
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|