1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/japanese/yc.el/Makefile
Rainer Hurling df9a2fa31c japanese/yc.el: Adapt to newer emacs versions
The "process-kill-without-query" function was made
obsolete in emacs 27.1 [1]. Therefore the function
should be replaced in japanese/yc.el by
"set-process-query-on-exit-flag" function.

[1] http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f1c48b0

PR:		249873
Submitted by:	Takayuki Nakao <t@nakao.org> (maintainer)
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D27473
2020-12-04 12:41:08 +00:00

44 lines
1.0 KiB
Makefile

# Created by: HONDA Yasuhiro <honda@kashio.info.mie-u.ac.jp>
# $FreeBSD$
PORTNAME= yc.el
PORTVERSION= 5.2.1
PORTREVISION= 17
PORTEPOCH= 1
CATEGORIES= japanese elisp
MASTER_SITES= http://www.ceres.dti.ne.jp/~knak/
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
DISTNAME= yc-${PORTVERSION}.el
EXTRACT_SUFX= .gz
MAINTAINER= t@nakao.org
COMMENT= Yet another Canna client for Emacs
USES= emacs
EMACS_FLAVORS_EXCLUDE= devel_full devel_nox # fail to build
EXTRACT_CMD= ${GZCAT}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= > yc.el
NO_WRKSUBDIR= yes
PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/yc/yc.el \
${EMACS_VERSION_SITE_LISPDIR}/yc/yc.elc
OPTIONS_DEFINE= ICANNA
ICANNA_DESC= Enable icanna support
ICANNA_RUN_DEPENDS= icanna:japanese/icanna
YC_LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/yc
do-build:
@(cd ${WRKSRC} && \
${EMACS_CMD} -batch -f batch-byte-compile yc.el)
do-install:
@${MKDIR} ${STAGEDIR}${YC_LISPDIR}
(cd ${WRKSRC} && \
${INSTALL_SCRIPT} yc.el yc.elc ${STAGEDIR}${YC_LISPDIR})
.include <bsd.port.mk>