Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.27 2017/04/10 11:46:21 sthen Exp $
  2. COMMENT = smart common input method platform
  3. DISTNAME = scim-1.4.9
  4. REVISION = 15
  5. SHARED_LIBS += scim-1.0 0.0 # .10.4
  6. SHARED_LIBS += scim-x11utils-1.0 0.0 # .10.4
  7. SHARED_LIBS += scim-gtkutils-1.0 0.0 # .10.4
  8. CATEGORIES = inputmethods chinese japanese korean
  9. HOMEPAGE = https://github.com/scim-im/scim
  10. # GPLv2
  11. PERMIT_PACKAGE_CDROM = Yes
  12. WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi
  13. WANTLIB += Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo drm expat ffi
  14. WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
  15. WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 graphite2 gthread-2.0
  16. WANTLIB += gtk-x11-2.0 harfbuzz m pango-1.0 pangocairo-1.0 pangoft2-1.0
  17. WANTLIB += pcre pixman-1 png pthread pthread-stubs ${LIBCXX} xcb xcb-render
  18. WANTLIB += xcb-shm z
  19. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=scim/}
  20. MODULES = devel/gettext \
  21. textproc/intltool
  22. RUN_DEPENDS = devel/desktop-file-utils
  23. LIB_DEPENDS = x11/gtk+2
  24. FAKE_FLAGS = sysconfdir=${PREFIX}/share/examples/scim
  25. USE_GMAKE = Yes
  26. LIBTOOL_FLAGS = --tag=disable-static
  27. CONFIGURE_STYLE = gnu
  28. CONFIGURE_ARGS = --with-gtk-im-module-dir="${LOCALBASE}/lib/gtk-2.0/2.10.0/immodules"
  29. CONFIGURE_ENV = LIBS="-pthread"
  30. .include <bsd.port.mk>