blob: d2284654c2d69e5d551fdb6628f62cf60600ab17 (
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
|
# $NetBSD: Makefile,v 1.25 2018/07/18 00:06:19 joerg Exp $
.include "../../x11/qt5/Makefile.common"
DISTNAME= uim-1.8.6
PKGNAME= qt5-${DISTNAME}
PKGREVISION= 20
CATEGORIES= x11
MASTER_SITES= http://uim.googlecode.com/files/
EXTRACT_SUFX= .tar.bz2
DISTFILES= ${DEFAULT_DISTFILES} uim-1.8.7pre1.tar.gz
SITES.uim-1.8.7pre1.tar.gz= ${MASTER_SITE_LOCAL}
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://github.com/uim/uim
COMMENT= Qt5 input module for uim
LICENSE= modified-bsd
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake gsed intltool pkg-config xgettext
BUILDLINK_DEPMETHOD.gtk2= build
USE_LANGUAGES= c c++03
PKGCONFIG_OVERRIDE+= uim.pc.in
CONFIGURE_ENV+= _QMAKE5=${QTPREFIX}/bin/qmake
CONFIGURE_ENV.SunOS+= ac_cv_func_strcasecmp=yes
CONFIGURE_ARGS+= --with-qt5-immodule
CONFIGURE_ARGS+= --disable-emacs
CONFIGURE_ARGS+= --with-libgcroots=installed
INSTALL_DIRS+= qt5
post-extract:
cd ${WRKSRC} && \
${CP} -r ../uim-1.8.7pre1/qt5 .
cd ${WRKSRC} && \
${RM} -fr qt4 &&\
${CP} -r ../uim-1.8.7pre1/qt4 .
cd ${WRKSRC} && \
${CP} ../uim-1.8.7pre1/configure .
post-install:
rm ${DESTDIR}${QTPREFIX}/lib/cmake/Qt5Gui/Qt5Gui_.cmake
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libgcroots/buildlink3.mk"
.include "../../inputmethod/uim/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|