openbsd-ports/inputmethods/anthy/Makefile
fgsch 167cdf6bee Update anthy to 9100h. Bump shared libs as well just in case.
Fixes an infinite loop with upcoming scim-anthy and ibus-anthy.  While I'm
here modernise Makefile and add a no_emacs pseudo flavor.  Prompted
indirectly many times by Jordi Beltran Creix <jbcreix dot mail at gmail.com>.
2010-08-17 20:27:04 +00:00

50 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2010/08/17 20:27:04 fgsch 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
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
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB-main = c m
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE_JP:=anthy/37536/}
FAKE_FLAGS = sysconfdir=$(PREFIX)/share/examples/anthy
USE_LIBTOOL = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS='-I${LOCALBASE}/include' \
LDFLAGS='-L${LOCALBASE}/lib' \
SWIG=no
PSEUDO_FLAVORS = no_emacs
FLAVOR ?=
MULTI_PACKAGES = -main
.if !${FLAVOR:L:Mno_emacs}
MULTI_PACKAGES += -emacs
BUILD_DEPENDS = ::editors/emacs21
.endif
# can't make sense of any of these tests
NO_REGRESS = Yes
.include <bsd.port.mk>