aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/emacs20-dl-canna/Makefile
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1999-01-11 22:19:17 +0800
committerkuriyama <kuriyama@FreeBSD.org>1999-01-11 22:19:17 +0800
commitdfe877b0ac672f823c74e428f404cf7dae597f04 (patch)
treef7310810a888a0bdd498b9f4c082c0e58ec0cf52 /japanese/emacs20-dl-canna/Makefile
parent028b5fab497249f367835bb2433b4b7302dc58c9 (diff)
downloadfreebsd-ports-gnome-dfe877b0ac672f823c74e428f404cf7dae597f04.tar.gz
freebsd-ports-gnome-dfe877b0ac672f823c74e428f404cf7dae597f04.tar.zst
freebsd-ports-gnome-dfe877b0ac672f823c74e428f404cf7dae597f04.zip
Dynamic loading module input method `Canna' on Emacs.
PR: ports/8832 Submitted by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
Diffstat (limited to 'japanese/emacs20-dl-canna/Makefile')
-rw-r--r--japanese/emacs20-dl-canna/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/japanese/emacs20-dl-canna/Makefile b/japanese/emacs20-dl-canna/Makefile
new file mode 100644
index 000000000000..b012b6f13bd9
--- /dev/null
+++ b/japanese/emacs20-dl-canna/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: emacs20-dl-canna
+# Version required: 1.0
+# Date created: 10 October 1998
+# Whom: shige
+#
+# $Id$
+#
+
+DISTNAME= emacs-canna-1.0
+PKGNAME= ja-emacs20-dl-canna-1.0
+CATEGORIES= japanese editors
+MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/emacs-20-dl/
+
+MAINTAINER= shige@kuis.kyoto-u.ac.jp
+
+LIB_DEPENDS= canna.1:${.CURDIR}/../../japanese/Canna
+BUILD_DEPENDS= emacs-dl-${EMACS_VER}:${EMACSDL_DIR} \
+ /nonexistent:${EMACSDL_DIR}:configure
+RUN_DEPENDS= emacs-dl-${EMACS_VER}:${EMACSDL_DIR} \
+ ${LOCALBASE}/share/emacs/20.3/site-lisp/emu/emu.el:${.CURDIR}/../../editors/apel-emacs20
+
+WRKSRC= ${WRKDIR}/dl-canna-1.0
+MAKE_ENV= PREFIX=${PREFIX}
+MAKE_ARGS= EMACS_SRC_DIR=${WRKDIRPREFIX}${EMACSDL_DIR}/work/emacs-${EMACS_VER}
+PLIST_SUB= EMACS_VER=${EMACS_VER} LISPDIR=${LISPDIR} DOCDIR=${DOCDIR}
+
+EMACS_VER= 20.3
+#EMACSDL_DIR= ${.CURDIR}/../../editors/emacs20-dl
+EMACSDL_DIR= ${PORTSDIR}/editors/emacs20-dl
+MODULEDIR!= emacs-dl-${EMACS_VER} -batch -eval "(princ exec-directory)"
+LISPDIR= share/emacs/site-lisp
+DOCDIR= share/doc/emacs20-dl-canna
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/canna.so ${MODULEDIR}/canna.so
+ @${INSTALL_DATA} ${WRKSRC}/canna.el ${PREFIX}/${LISPDIR}/canna.el
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @[ -d ${PREFIX}/${DOCDIR} ] || ${MKDIR} ${PREFIX}/${DOCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README.ja ${PREFIX}/${DOCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/${DOCDIR}
+.endif
+
+.include <bsd.port.mk>