388de7d749
- Unbreak with emacs23+ [1] - Make portlint happier PR: ports/151195 [1] Submitted by: Takayuki Nakao <t_AT_nakao_DOT_org> (maintainer) [1]
49 lines
1 KiB
Makefile
49 lines
1 KiB
Makefile
# New ports collection makefile for: yc.el
|
|
# Date created: 1999/12/05
|
|
# Whom: HONDA Yasuhiro <honda@kashio.info.mie-u.ac.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= yc.el
|
|
PORTVERSION= 5.2.1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= japanese elisp
|
|
MASTER_SITES= http://www.ceres.dti.ne.jp/~knak/
|
|
DISTNAME= yc-${PORTVERSION}.el
|
|
EXTRACT_SUFX= .gz
|
|
|
|
MAINTAINER= t@nakao.org
|
|
COMMENT= Yet another Canna client for Emacs/XEmacs
|
|
|
|
EXTRACT_AFTER_ARGS= > yc.el
|
|
NO_WRKSUBDIR= yes
|
|
|
|
USE_EMACS= yes
|
|
YC_LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/yc
|
|
|
|
PLIST_FILES= %%EMACS_VERSION_SITE_LISPDIR%%/yc/yc.el \
|
|
%%EMACS_VERSION_SITE_LISPDIR%%/yc/yc.elc
|
|
PLIST_DIRS= %%EMACS_VERSION_SITE_LISPDIR%%/yc
|
|
|
|
OPTIONS= ICANNA "Enable icanna support" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_ICANNA)
|
|
RUN_DEPENDS+= icanna:${PORTSDIR}/japanese/icanna
|
|
.endif
|
|
|
|
do-build:
|
|
@cd ${WRKDIR} && \
|
|
${EMACS_CMD} -batch -f batch-byte-compile yc.el
|
|
|
|
do-install:
|
|
@${MKDIR} ${YC_LISPDIR}
|
|
@cd ${WRKDIR} && \
|
|
${INSTALL_SCRIPT} yc.el yc.elc ${YC_LISPDIR}
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|