blob: 7c09432f15e15795e415513933b0a9715b0c785f (
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
|
# $NetBSD: Makefile,v 1.2 2021/02/27 20:14:02 ryoon Exp $
DISTNAME= libime-1.0.4
CATEGORIES= inputmethod
MASTER_SITES= https://download.fcitx-im.org/fcitx5/libime/
EXTRACT_SUFX= .tar.xz
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://github.com/fcitx/libime
COMMENT= Generic inputmethod implementation library
LICENSE= gnu-lgpl-v2.1
DIST_SUBDIR= ${PKGNAME_NOREV}
DICTDISTFILES+= lm_sc.3gm.arpa-20140820.tar.bz2
DICTDISTFILES+= dict.utf8-20200715.tar.xz
DICTDISTFILES+= table.tar.gz
DISTFILES= ${DEFAULT_DISTFILES}
EXTRACT_ONLY= ${DEFAULT_DISTFILES}
.for f in ${DICTDISTFILES}
DISTFILES+= ${f}
SITES.${f}= https://download.fcitx-im.org/data/
.endfor
USE_CMAKE= yes
USE_LANGUAGES= c c++
post-extract:
.for f in ${DICTDISTFILES}
cd ${WRKSRC}/data && \
${LN} -sf ${DISTDIR}/${DIST_SUBDIR}/${f} ${f}
.endfor
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../inputmethod/fcitx5/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|