aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/skk10-elisp-emacs20/Makefile
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>1999-09-21 21:34:46 +0800
committershige <shige@FreeBSD.org>1999-09-21 21:34:46 +0800
commit792211724d058eecef35a858acc7de9e50e4aa17 (patch)
treebefa10484eb327be8a6a4e08bd2383595e193f80 /japanese/skk10-elisp-emacs20/Makefile
parentf0013c2acfdf151f62ebdc6a51af7eded18121f0 (diff)
downloadfreebsd-ports-gnome-792211724d058eecef35a858acc7de9e50e4aa17.tar.gz
freebsd-ports-gnome-792211724d058eecef35a858acc7de9e50e4aa17.tar.zst
freebsd-ports-gnome-792211724d058eecef35a858acc7de9e50e4aa17.zip
Emacs-lisp frontend for SKK-10 Japanese Input Method.
Diffstat (limited to 'japanese/skk10-elisp-emacs20/Makefile')
-rw-r--r--japanese/skk10-elisp-emacs20/Makefile62
1 files changed, 62 insertions, 0 deletions
diff --git a/japanese/skk10-elisp-emacs20/Makefile b/japanese/skk10-elisp-emacs20/Makefile
new file mode 100644
index 000000000000..4e29d44dcdae
--- /dev/null
+++ b/japanese/skk10-elisp-emacs20/Makefile
@@ -0,0 +1,62 @@
+# New ports collection makefile for: skk10-elisp-emacs20
+# Version required: 10.52a
+# Date created: 21 September 1999
+# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= skk${SKK10_VER}
+PKGNAME= ja-skk-elisp-${EMACS_PORT_NAME}-${SKK10_VER}
+CATEGORIES= japanese elisp
+MASTER_SITES= http://www.asahi-net.or.jp/~gy2m-nkjm/skk/
+
+MAINTAINER?= shige@FreeBSD.org
+
+SKK10_VER= 10.52a
+
+# This port is a master port.
+PORT_CLASS?= master
+
+.if (${PORT_CLASS} == "master")
+# emacsen-port-name
+EMACS_PORT_NAME= emacs20
+# emacsen-information
+EMACS_NAME= emacs
+EMACS_VER= 20.4
+EMACS_CMD= ${LOCALBASE}/bin/${EMACS_NAME}-${EMACS_VER}
+EMACS_LIBDIR= share/${EMACS_NAME}
+EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER}
+# Whether emacs requires *-setupel.el
+REQUIRE_SETUPEL= NO
+# Whether emacs port has *-common port
+HAVE_COMMON_PORT= NO
+.endif
+
+# dependency: skk-jisyo
+RUN_DEPENDS+= ${LOCALBASE}/share/skk/${SKKJISYO}:${SKK_MASTERDIR}
+# dependency: apel
+BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR_WITH_VER}/site-lisp/emu/emu.el:${.CURDIR}/../../editors/apel-${EMACS_PORT_NAME}
+RUN_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR_WITH_VER}/site-lisp/emu/emu.el:${.CURDIR}/../../editors/apel-${EMACS_PORT_NAME}
+# dependency: emacsen
+BUILD_DEPENDS+= ${EMACS_CMD}:${.CURDIR}/../../editors/${EMACS_PORT_NAME}
+.if defined(HAVE_COMMON_PORT) && (${HAVE_COMMON_PORT} == "YES")
+RUN_DEPENDS+= ${EMACS_CMD}:${.CURDIR}/../../editors/${EMACS_PORT_NAME}-common
+.else
+RUN_DEPENDS+= ${EMACS_CMD}:${.CURDIR}/../../editors/${EMACS_PORT_NAME}
+.endif
+
+WRKSRC= ${WRKDIR}/skk-${SKK10_VER}
+ALL_TARGET?= elc
+MAKE_ARGS= EMACS=${EMACS_CMD}
+PLIST_SUB= EMACS=${EMACS_CMD} EMACS_LIBDIR=${EMACS_LIBDIR}
+
+# information of skk-jisyo
+SKKJISYO_SIZE?= L
+SKKJISYO?= SKK-JISYO.${SKKJISYO_SIZE}
+SKK_MASTERDIR= ${.CURDIR}/../../japanese/skk-jisyo
+
+post-install:
+ @install-info ${PREFIX}/info/skk.info ${PREFIX}/info/dir
+
+.include <bsd.port.mk>