aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/xemacs21-canna+freewnn
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/xemacs21-canna+freewnn')
-rw-r--r--japanese/xemacs21-canna+freewnn/Makefile11
-rw-r--r--japanese/xemacs21-canna+freewnn/pkg-comment2
2 files changed, 8 insertions, 5 deletions
diff --git a/japanese/xemacs21-canna+freewnn/Makefile b/japanese/xemacs21-canna+freewnn/Makefile
index 5227c587ac51..3cabe43f2d03 100644
--- a/japanese/xemacs21-canna+freewnn/Makefile
+++ b/japanese/xemacs21-canna+freewnn/Makefile
@@ -1,12 +1,15 @@
# New ports collection makefile for: XEmacs with Canna and Wnn4
-# Version required: 21.1.8
+# Version required: 21.1
# Date created: 5 Dec 1997
# Whom: KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
# $FreeBSD$
#
-CANNA= yes
-WNN4= yes
+.include <bsd.port.pre.mk>
-.include "${.CURDIR}/../xemacs-canna/Makefile"
+XEMACS_MAJOR_VER= ${.CURDIR:S!^${PORTSDIR}/japanese/xemacs!!:S!-canna+wnn4$!!}
+CANNA= yes
+WNN4= yes
+
+.include "${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/Makefile"
diff --git a/japanese/xemacs21-canna+freewnn/pkg-comment b/japanese/xemacs21-canna+freewnn/pkg-comment
index 6cb97d902480..5f0a43033c1b 100644
--- a/japanese/xemacs21-canna+freewnn/pkg-comment
+++ b/japanese/xemacs21-canna+freewnn/pkg-comment
@@ -1 +1 @@
-XEmacs(version 21) text editor, with SJ3, SKK, Canna and Wnn4 support.
+XEmacs(version 21) text editor, with SJ3, SKK, Canna and Wnn4 support