Advertisement
uaa

[wip:20210919] inputmethods/libkkc/Makefile

uaa
Sep 18th, 2021
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. # $OpenBSD: Makefile,v 1.90 2021/02/25 21:59:27 sthen Exp $
  2.  
  3. COMMENT = Japanese Kana Kanji conversion library
  4.  
  5. VERSION = 20210214
  6. DISTNAME = libkkc
  7. PKGNAME = libkkc-${VERSION}
  8.  
  9. GH_ACCOUNT = ueno
  10. GH_PROJECT = libkkc
  11. GH_COMMIT = 4583ab1753594b72592df5857106aedad98e533d
  12.  
  13. SHARED_LIBS = kkc 2.0 # 2.0
  14.  
  15. CATEGORIES = inputmethods
  16.  
  17. # GPLv3+
  18. PERMIT_PACKAGE = Yes
  19.  
  20. WANTLIB = ${COMPILER_LIBCXX} c ffi gee-0.8 gio-2.0 glib-2.0 \
  21. gmodule-2.0 gobject-2.0 iconv intl json-glib-1.0 \
  22. marisa pcre z
  23.  
  24. # no C++ code, but avoid "ports-gcc"
  25. COMPILER = base-clang ports-clang
  26.  
  27. MODULES = lang/python
  28.  
  29. BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \
  30. ${MODGNU_AUTOMAKE_DEPENDS} \
  31. devel/libtool \
  32. devel/gettext,-tools \
  33. devel/gobject-introspection \
  34. lang/vala \
  35. lang/vala,-valadoc \
  36. textproc/libmarisa,-python
  37.  
  38. LIB_DEPENDS = devel/libffi \
  39. devel/libgee \
  40. devel/glib2 \
  41. converters/libiconv \
  42. devel/json-glib \
  43. devel/pcre \
  44. textproc/libmarisa
  45.  
  46. USE_GMAKE = Yes
  47.  
  48. CONFIGURE_STYLE = autoconf
  49. AUTOCONF_VERSION = 2.69
  50. AUTOMAKE_VERSION = 1.15
  51.  
  52. # tests/encoding.vala and tests/system-dictionary.vala crashes with
  53. # Abort trap, bogus pointer (double free?).
  54. # Attempting invalid encoding to CharsetConverter() at init() in
  55. # libkkc/encoding.vala makes this problem, maybe Gio issue.
  56. # If gio has fixed in the future, please remove NO_TEST.
  57. NO_TEST = Yes
  58.  
  59. do-gen:
  60. cd ${WRKSRC}; ${AUTOCONF_ENV} ./autogen.sh
  61.  
  62. .include <bsd.port.mk>
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement