de78af3ac5
Reviewed by: exp8 run on pointyhat Supported by: miwi
58 lines
1.3 KiB
Makefile
58 lines
1.3 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.0.0
|
|
PORTREVISION= 3
|
|
PORTEPOCH= 1
|
|
CATEGORIES= japanese elisp
|
|
MASTER_SITES= http://www.ceres.dti.ne.jp/~knak/
|
|
DISTNAME= yc-${PORTVERSION}
|
|
DISTFILES= ${DISTNAME}.el.gz
|
|
|
|
MAINTAINER= t@nakao.org
|
|
COMMENT= Yet another Canna client for Emacs/XEmacs
|
|
|
|
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 $(EMACS_MAJOR_VER) >= 23
|
|
BROKEN= Does not support emacs23.x or later
|
|
.endif
|
|
|
|
.if defined(WITH_ICANNA)
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/icanna:${PORTSDIR}/japanese/icanna
|
|
.endif
|
|
|
|
do-extract:
|
|
@${RM} -rf ${WRKDIR}
|
|
@${MKDIR} ${WRKDIR}
|
|
@cd ${WRKDIR} && ${GZCAT} ${DISTDIR}/${DISTNAME}.el.gz >yc.el
|
|
|
|
do-build:
|
|
@cd ${WRKDIR} && \
|
|
${EMACS_CMD} -batch -f batch-byte-compile yc.el
|
|
|
|
do-install:
|
|
@${TEST} -f ${YC_LISPDIR} || ${MKDIR} ${YC_LISPDIR}
|
|
@cd ${WRKDIR} && \
|
|
${INSTALL_SCRIPT} yc.el yc.elc ${YC_LISPDIR}
|
|
|
|
post-install:
|
|
@${CAT} ${MASTERDIR}/pkg-message
|
|
|
|
.include <bsd.port.post.mk>
|