Edit

IABSD.fr/ports/inputmethods/anthy/Makefile

Branch :

  • Show log

    Commit

  • Author : yasuoka
    Date : 2023-10-04 23:40:05
    Hash : cdaed1b2
    Message : Fix emacs-anthy again. Replace functions which are deleted at emacs 29.1. ok naddy

  • inputmethods/anthy/Makefile
  • 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 = 3
    REVISION-emacs = 9
    
    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 = 	https://anthy.osdn.jp/
    
    # GPL, part LGPL
    PERMIT_PACKAGE =	Yes
    
    WANTLIB-main =	c m
    
    SITES =		${SITE_OSDN_JP:=anthy/37536/}
    
    FAKE_FLAGS =	sysconfdir=$(PREFIX)/share/examples/anthy
    
    CONFIGURE_STYLE = gnu
    CONFIGURE_ENV =	CPPFLAGS='-I${LOCALBASE}/include' \
    		LDFLAGS='-L${LOCALBASE}/lib ${LDFLAGS}' \
    		SWIG=no
    
    PSEUDO_FLAVORS = no_emacs
    FLAVOR ?=
    
    MULTI_PACKAGES = -main -emacs
    .include <bsd.port.arch.mk>
    
    .if ${BUILD_PACKAGES:M-emacs}
    BUILD_DEPENDS =	emacs->=24:editors/emacs,no_x11
    .else
    CONFIGURE_ENV += EMACS=no
    .endif
    
    # can't make sense of any of these tests
    NO_TEST =	Yes
    
    .include <bsd.port.mk>