Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # $OpenBSD: Makefile,v 1.18 2015/05/05 17:00:18 sthen Exp $
  2. COMMENT = japanese skk input engine for ibus
  3. V = 1.4.2
  4. DISTNAME = ibus-skk-${V}
  5. REVISION = 1
  6. CATEGORIES = inputmethods japanese
  7. HOMEPAGE = https://github.com/ueno/ibus-skk/
  8. MAINTAINER = Federico G. Schwindt <fgsch@openbsd.org>
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB += ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
  12. WANTLIB += Xrandr Xrender atk-1.0 atk-bridge-2.0 atspi c cairo
  13. WANTLIB += cairo-gobject dbus-1 epoxy expat ffi fontconfig freetype
  14. WANTLIB += gdk-3 gdk_pixbuf-2.0 gee-0.8 gio-2.0 glib-2.0 gmodule-2.0
  15. WANTLIB += gobject-2.0 graphite2 gthread-2.0 gtk-3 harfbuzz ibus-1.0
  16. WANTLIB += json-glib-1.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
  17. WANTLIB += pixman-1 png pthread pthread-stubs skk xcb xcb-render xcb-shm
  18. WANTLIB += z
  19. MASTER_SITES = https://github.com/ueno/ibus-skk/releases/download/ibus-skk-${V}/
  20. MODULES = devel/gettext \
  21. textproc/intltool
  22. BUILD_DEPENDS = lang/vala
  23. LIB_DEPENDS = inputmethods/ibus \
  24. inputmethods/libskk>=1.0.2
  25. RUN_DEPENDS = devel/desktop-file-utils
  26. USE_GMAKE = Yes
  27. CONFIGURE_STYLE = gnu
  28. CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
  29. LDFLAGS="-L${LOCALBASE}/lib"
  30. pre-configure:
  31. ${SUBST_CMD} ${WRKSRC}/src/preferences.vala
  32. .include <bsd.port.mk>