yasuoka efbbfdea1d Fix to work and build with emacs-24.3.
- Add patches/patch-src-util_anthy_el to use `last-command-event'
  instead of `last-command-char' which is removed at emacs-24.3.
- Remove leim-list.elc from PLIST since emacs-24.3 doesn't create .elc
  for leim-list.el.

And merge PFRAG.shared-main into PLIST-main.

ok jca (for first diff)
ok sthen
2013-12-07 23:42:04 +00:00

49 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2013/12/07 23:42:04 yasuoka Exp $
COMMENT-main = japanese input method
COMMENT-emacs = emacs files for anthy
V = 9100h
DISTNAME = anthy-$V
PKGNAME-main = anthy-$V
PKGNAME-emacs = emacs-anthy-$V
REVISION-main = 0
REVISION-emacs = 0
SHARED_LIBS += anthydic 1.0 # .1.0
SHARED_LIBS += anthy 1.0 # .1.0
SHARED_LIBS += anthyinput 1.0 # .0.0
CATEGORIES = inputmethods japanese
HOMEPAGE = http://anthy.sourceforge.jp/
# GPL, part LGPL
PERMIT_PACKAGE_CDROM = Yes
WANTLIB-main = c m
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE_JP:=anthy/37536/}
FAKE_FLAGS = sysconfdir=$(PREFIX)/share/examples/anthy
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS='-I${LOCALBASE}/include' \
LDFLAGS='-L${LOCALBASE}/lib' \
SWIG=no
PSEUDO_FLAVORS = no_emacs
FLAVOR ?=
MULTI_PACKAGES = -main -emacs
.include <bsd.port.arch.mk>
.if ${BUILD_PACKAGES:M-emacs}
BUILD_DEPENDS = editors/emacs21
.endif
# can't make sense of any of these tests
NO_TEST = Yes
.include <bsd.port.mk>