blob: 18ae7df4c154aa825d26f4cad08e6ab78d1c652d (
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
|
# $NetBSD: Makefile,v 1.66 2012/10/02 17:11:25 tron Exp $
#
.include "../../inputmethod/uim/Makefile.common"
PKGREVISION= 1
COMMENT= Multilingual input method library
#LICENSE= See ${WRKSRC}/COPYING
CONFLICTS+= uim-qt4-immodule-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= YES
USE_PKGLOCALEDIR= YES
USE_TOOLS+= gmake intltool pkg-config msgfmt
USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE+= ${WRKSRC}/uim.pc.in
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-emacs
CONFIGURE_ARGS+= --with-libgcroots=installed
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= SunOS_LDFLAGS="-shared -mimpure-text"
CFLAGS.SunOS+= -std=c99 -D__EXTENSIONS__
.endif
.include "options.mk"
PLIST_VARS+= editline
CHECK_BUILTIN.readline:= yes
.include "../../devel/readline/builtin.mk"
CHECK_BUILTIN.readline:= no
.if !empty(BUILTIN_LIB_FOUND.edit:M[yY][eE][sS])
PLIST.editline= yes
.else
CONFIGURE_ARGS+= --with-libedit=no
.endif
INSTALLATION_DIRS+= share/doc/uim
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/uim
${INSTALL_DATA} ${WRKSRC}/doc/COMPATIBILITY ${DESTDIR}${PREFIX}/share/doc/uim
${INSTALL_DATA} ${WRKSRC}/doc/CUSTOM ${DESTDIR}${PREFIX}/share/doc/uim
${INSTALL_DATA} ${WRKSRC}/doc/DOT-UIM ${DESTDIR}${PREFIX}/share/doc/uim
${INSTALL_DATA} ${WRKSRC}/doc/HELPER-CANDWIN ${DESTDIR}${PREFIX}/share/doc/uim
${INSTALL_DATA} ${WRKSRC}/doc/HELPER-PROTOCOL ${DESTDIR}${PREFIX}/share/doc/uim
${INSTALL_DATA} ${WRKSRC}/doc/KEY ${DESTDIR}${PREFIX}/share/doc/uim
${INSTALL_DATA} ${WRKSRC}/doc/PLUGIN ${DESTDIR}${PREFIX}/share/doc/uim
${INSTALL_DATA} ${WRKSRC}/doc/UIM-SCM ${DESTDIR}${PREFIX}/share/doc/uim
${INSTALL_DATA} ${WRKSRC}/doc/UIM-SH ${DESTDIR}${PREFIX}/share/doc/uim
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.libgcroots+= libgcroots>=0.2.3
.include "../../devel/libgcroots/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
|