summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>2000-01-06 01:46:39 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>2000-01-06 01:46:39 +0000
commit185469d27801314393dccf7db8829efb0aac3373 (patch)
tree3aba556888d9d6a7f6ab47c986af0fd38d7b721f /japanese
parentAdd mp3blaster. (diff)
New ports for XEmacs-21.1.8 with MULE.
Fix after repository-copy from editors/xemacs-mule to editors/xemacs21-mule. PR: ports/15761 Submitted by: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
Notes
Notes: svn path=/head/; revision=24465
Diffstat (limited to 'japanese')
-rw-r--r--japanese/xemacs21-canna+freewnn/Makefile11
-rw-r--r--japanese/xemacs21-canna+freewnn/pkg-comment2
-rw-r--r--japanese/xemacs21-canna+wnn6/Makefile11
-rw-r--r--japanese/xemacs21-canna+wnn6/pkg-comment2
-rw-r--r--japanese/xemacs21-canna/Makefile40
-rw-r--r--japanese/xemacs21-canna/files/DESCR.tmpl14
-rw-r--r--japanese/xemacs21-canna/pkg-comment2
-rw-r--r--japanese/xemacs21-canna/pkg-descr14
-rw-r--r--japanese/xemacs21-freewnn/Makefile9
-rw-r--r--japanese/xemacs21-freewnn/pkg-comment2
-rw-r--r--japanese/xemacs21-wnn6/Makefile9
-rw-r--r--japanese/xemacs21-wnn6/pkg-comment2
12 files changed, 65 insertions, 53 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
diff --git a/japanese/xemacs21-canna+wnn6/Makefile b/japanese/xemacs21-canna+wnn6/Makefile
index 007328b60dbe..cc7027675231 100644
--- a/japanese/xemacs21-canna+wnn6/Makefile
+++ b/japanese/xemacs21-canna+wnn6/Makefile
@@ -1,12 +1,15 @@
# New ports collection makefile for: XEmacs with Canna and Wnn6
-# 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
-WNN6= yes
+.include <bsd.port.pre.mk>
-.include "${.CURDIR}/../xemacs-canna/Makefile"
+XEMACS_MAJOR_VER= ${.CURDIR:S!^${PORTSDIR}/japanese/xemacs!!:S!-canna+wnn6$!!}
+CANNA= yes
+WNN6= yes
+
+.include "${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/Makefile"
diff --git a/japanese/xemacs21-canna+wnn6/pkg-comment b/japanese/xemacs21-canna+wnn6/pkg-comment
index df089796521e..c96249d92f4e 100644
--- a/japanese/xemacs21-canna+wnn6/pkg-comment
+++ b/japanese/xemacs21-canna+wnn6/pkg-comment
@@ -1 +1 @@
-XEmacs(version 21) text editor, with SJ3, SKK, Canna and Wnn6 support.
+XEmacs(version 21) text editor, with SJ3, SKK, Canna and Wnn6 support
diff --git a/japanese/xemacs21-canna/Makefile b/japanese/xemacs21-canna/Makefile
index 61de09456b98..bfc513b30ff4 100644
--- a/japanese/xemacs21-canna/Makefile
+++ b/japanese/xemacs21-canna/Makefile
@@ -1,17 +1,21 @@
# New ports collection makefile for: XEmacs for Japanese
-# Version required: 21.1.8
+# Version required: 21.1
# Date created: 5 Dec 1997
# Whom: KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
# $FreeBSD$
#
-# This is the MASTER port of Japanese XEmacs slave ports(japanese/xemacs-*)
-# and provides `Architecture Dependent' parts of xemacs binary.
+# This is the MASTER port of Japanese XEmacs slave ports
+# (japanese/xemacs${XEMACS_MAJOR_VER}-*) and provides `Architecture Dependent' parts
+# of xemacs binary.
#
# Caracteristic variables of XEmacs Mule ports family:
+# MULE_PORT : Mule port if defined(means COMMN or SLAVE)
# MULE_COMMON : COMMON port if defined
-# PKGLDIR : Local PKGDIR of MASTER port(editors/xemacs-mule/pkg)
+# MULE_SLAVE : SLAVE port if defined
+# PKGLDIR : Local PKGDIR of editors/xemacs${XEMACS_MAJOR_VER}-mule
+# (that is editors/xemacs${XEMACS_MAJOR_VER}-mule/pkg)
# SITE_INCLUDES : site include path(configure arguments)
# SITE_LIBRARIES : site libraries path(configure arguments)
# WITH_INPUT_METHOD : input methods(configure arguments)
@@ -22,11 +26,13 @@ CATEGORIES= japanese editors
MANLANG= ja
MAN1= xemacs-ja.1
-DESCR= ${.CURDIR}/../xemacs-canna/pkg/DESCR
-PLIST= ${PKGLDIR}/PLIST-ja
+DESCR= ${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/pkg/DESCR
-DESCR_TMPL= ${.CURDIR}/../xemacs-canna/files/DESCR.tmpl
-LANGPREFIX= ja-
+.include <bsd.port.pre.mk>
+
+XEMACS_MAJOR_VER?= ${.CURDIR:S!^${PORTSDIR}/japanese/xemacs!!:S!-canna$!!}
+LANGPREFIX= ja-
+DESCR_TMPL= ${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/files/DESCR.tmpl
.if defined(CANNA) && defined(WNN4)
PKGNAMEEXT= -canna+wnn4
SITE_INCLUDES= ${X11BASE}/include
@@ -34,40 +40,34 @@ SITE_LIBRARIES= ${X11BASE}/lib
WITH_INPUT_METHOD= --with-canna --with-wnn --with-wnn6=no
LIB_INPUT_METHOD= canna.1:${PORTSDIR}/japanese/Canna
BUILD_INPUT_METHOD= ${PREFIX}/bin/Wnn4/jserver:${PORTSDIR}/japanese/Wnn
-COMMENT_TEXT= XEmacs(version ${XEMACS_VER}) text editor, with SJ3, SKK, Canna and Wnn4 support.
+COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK, Canna and Wnn4 support.
.elif defined(CANNA) && defined(WNN6)
PKGNAMEEXT= -canna+wnn6
WITH_INPUT_METHOD= --with-canna --with-wnn6
LIB_INPUT_METHOD= canna.1:${PORTSDIR}/japanese/Canna
BUILD_INPUT_METHOD= ${PREFIX}/include/wnn/jlib.h:${PORTSDIR}/japanese/Wnn6-lib
-COMMENT_TEXT= XEmacs(version ${XEMACS_VER}) text editor, with SJ3, SKK, Canna and Wnn6 support.
+COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK, Canna and Wnn6 support.
.elif defined(WNN4)
PKGNAMEEXT= -wnn4
SITE_INCLUDES= ${X11BASE}/include
SITE_LIBRARIES= ${X11BASE}/lib
WITH_INPUT_METHOD= --with-wnn --with-canna=no --with-wnn6=no
BUILD_INPUT_METHOD= ${PREFIX}/bin/Wnn4/jserver:${PORTSDIR}/japanese/Wnn
-COMMENT_TEXT= XEmacs(version ${XEMACS_VER}) text editor, with SJ3, SKK and Wnn4 support.
+COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK and Wnn4 support.
.elif defined(WNN6)
PKGNAMEEXT= -wnn6
WITH_INPUT_METHOD= --with-wnn6 --with-canna=no
BUILD_INPUT_METHOD= ${PREFIX}/include/wnn/jlib.h:${PORTSDIR}/japanese/Wnn6-lib
-COMMENT_TEXT= XEmacs(version ${XEMACS_VER}) text editor, with SJ3, SKK and Wnn6 support.
+COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK and Wnn6 support.
.else
PKGNAMEEXT= -canna
WITH_INPUT_METHOD= --with-canna --with-wnn=no --with-wnn6=no
LIB_INPUT_METHOD= canna.1:${PORTSDIR}/japanese/Canna
-COMMENT_TEXT= XEmacs(version ${XEMACS_VER}) text editor, with SJ3, SKK and Canna support.
+COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK and Canna support.
.endif
post-install::
@${MKDIR} ${PREFIX}/man/ja/man1
@${INSTALL_MAN} ${WRKSRC}/etc/xemacs-ja.1 ${PREFIX}/man/ja/man1
- @${LN} -sf ja ${PREFIX}/lib/xemacs/mule-packages/etc/app-defaults/ja_JP.EUC
-
-# for make COMMENT (only maintainer use)
-arrange::
- @${MKDIR} ${PKGDIR} ${.CURDIR}/../xemacs-canna/pkg
- @${ECHO} "${COMMENT_TEXT}" > ${COMMENT}
-.include "${.CURDIR}/../../editors/xemacs-mule/Makefile"
+.include "${.CURDIR}/../../editors/xemacs${XEMACS_MAJOR_VER}-mule/Makefile"
diff --git a/japanese/xemacs21-canna/files/DESCR.tmpl b/japanese/xemacs21-canna/files/DESCR.tmpl
index acba674b39a9..8b83c2b71be5 100644
--- a/japanese/xemacs21-canna/files/DESCR.tmpl
+++ b/japanese/xemacs21-canna/files/DESCR.tmpl
@@ -1,7 +1,7 @@
This is a package containing only the executables for XEmacs with
Mule(version %%XEMACS_VER%%), the next generation of Emacs.
-You need to install a package, xemacs-common-%%XEMACS_VER%%, containing emacs
+You need to install a package, xemacs-common-%%XEMACS_REL%%, containing emacs
lisp files, info pages, and so on (except executables) for
XEmacs with Mule(version %%XEMACS_VER%%).
@@ -9,17 +9,17 @@ This package is built with Japanese support by using SKK, SJ3, Canna,
Wnn4 or Wnn6 as an external input engine. Each input method would be
supported in following ports respectively:
- japanese/xemacs-canna ........ SKK, SJ3, Canna
- japanese/xemacs-canna+wnn4 ... SKK, SJ3, Canna, Wnn4
- japanese/xemacs-canna+wnn6 ... SKK, SJ3, Canna, Wnn6
- japanese/xemacs-wnn4 ......... SKK, SJ3, Wnn4
- japanese/xemacs-wnn6 ......... SKK, SJ3, Wnn6
+ japanese/xemacs%%XEMACS_MAJOR_VER%%-canna ........ SKK, SJ3, Canna
+ japanese/xemacs%%XEMACS_MAJOR_VER%%-canna+wnn4 ... SKK, SJ3, Canna, Wnn4
+ japanese/xemacs%%XEMACS_MAJOR_VER%%-canna+wnn6 ... SKK, SJ3, Canna, Wnn6
+ japanese/xemacs%%XEMACS_MAJOR_VER%%-wnn4 ......... SKK, SJ3, Wnn4
+ japanese/xemacs%%XEMACS_MAJOR_VER%%-wnn6 ......... SKK, SJ3, Wnn6
If you use with SJ3 or SKK, you should be installed sj3serv or skkserv
in advance. SKK is supported as already builtin. Also it will
support several input methods under leim.
-This package and the package xemacs-common-%%XEMACS_VER%%, might clobber any
+This package and the package xemacs-common-%%XEMACS_REL%%, might clobber any
existing emacs installation. In particular, the executables and man
pages of etags/ctags are installed, and the info pages that come with
the original emacs will be overwritten too.
diff --git a/japanese/xemacs21-canna/pkg-comment b/japanese/xemacs21-canna/pkg-comment
index 7adb5dcae20d..36f53a63d199 100644
--- a/japanese/xemacs21-canna/pkg-comment
+++ b/japanese/xemacs21-canna/pkg-comment
@@ -1 +1 @@
-XEmacs(version 21) text editor, with SJ3, SKK and Canna support.
+XEmacs(version 21) text editor, with SJ3, SKK and Canna support
diff --git a/japanese/xemacs21-canna/pkg-descr b/japanese/xemacs21-canna/pkg-descr
index 503bbd8aeee3..fcc78d904841 100644
--- a/japanese/xemacs21-canna/pkg-descr
+++ b/japanese/xemacs21-canna/pkg-descr
@@ -1,7 +1,7 @@
This is a package containing only the executables for XEmacs with
Mule(version 21.1.8), the next generation of Emacs.
-You need to install a package, xemacs-common-21.1.8, containing emacs
+You need to install a package, xemacs-common-21.1, containing emacs
lisp files, info pages, and so on (except executables) for
XEmacs with Mule(version 21.1.8).
@@ -9,17 +9,17 @@ This package is built with Japanese support by using SKK, SJ3, Canna,
Wnn4 or Wnn6 as an external input engine. Each input method would be
supported in following ports respectively:
- japanese/xemacs-canna ........ SKK, SJ3, Canna
- japanese/xemacs-canna+wnn4 ... SKK, SJ3, Canna, Wnn4
- japanese/xemacs-canna+wnn6 ... SKK, SJ3, Canna, Wnn6
- japanese/xemacs-wnn4 ......... SKK, SJ3, Wnn4
- japanese/xemacs-wnn6 ......... SKK, SJ3, Wnn6
+ japanese/xemacs21-canna ........ SKK, SJ3, Canna
+ japanese/xemacs21-canna+wnn4 ... SKK, SJ3, Canna, Wnn4
+ japanese/xemacs21-canna+wnn6 ... SKK, SJ3, Canna, Wnn6
+ japanese/xemacs21-wnn4 ......... SKK, SJ3, Wnn4
+ japanese/xemacs21-wnn6 ......... SKK, SJ3, Wnn6
If you use with SJ3 or SKK, you should be installed sj3serv or skkserv
in advance. SKK is supported as already builtin. Also it will
support several input methods under leim.
-This package and the package xemacs-common-21.1.8, might clobber any
+This package and the package xemacs-common-21.1, might clobber any
existing emacs installation. In particular, the executables and man
pages of etags/ctags are installed, and the info pages that come with
the original emacs will be overwritten too.
diff --git a/japanese/xemacs21-freewnn/Makefile b/japanese/xemacs21-freewnn/Makefile
index 29191d2045cc..521e3f8181d8 100644
--- a/japanese/xemacs21-freewnn/Makefile
+++ b/japanese/xemacs21-freewnn/Makefile
@@ -1,11 +1,14 @@
# New ports collection makefile for: XEmacs with Wnn4
-# Version required: 21.1.8
+# Version required: 21.1
# Date created: 25 January 1998
# Whom: KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
# $FreeBSD$
#
-WNN4= yes
+.include <bsd.port.pre.mk>
-.include "${.CURDIR}/../xemacs-canna/Makefile"
+XEMACS_MAJOR_VER= ${.CURDIR:S!^${PORTSDIR}/japanese/xemacs!!:S!-wnn4$!!}
+WNN4= yes
+
+.include "${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/Makefile"
diff --git a/japanese/xemacs21-freewnn/pkg-comment b/japanese/xemacs21-freewnn/pkg-comment
index 07ef91a47e7e..d2feece27404 100644
--- a/japanese/xemacs21-freewnn/pkg-comment
+++ b/japanese/xemacs21-freewnn/pkg-comment
@@ -1 +1 @@
-XEmacs(version 21) text editor, with SJ3, SKK and Wnn4 support.
+XEmacs(version 21) text editor, with SJ3, SKK and Wnn4 support
diff --git a/japanese/xemacs21-wnn6/Makefile b/japanese/xemacs21-wnn6/Makefile
index 2d59d4aad1c5..49be02f9ca19 100644
--- a/japanese/xemacs21-wnn6/Makefile
+++ b/japanese/xemacs21-wnn6/Makefile
@@ -1,11 +1,14 @@
# New ports collection makefile for: XEmacs with Wnn6
-# Version required: 21.1.8
+# Version required: 21.1
# Date created: 25 January 1998
# Whom: KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
# $FreeBSD$
#
-WNN6= yes
+.include <bsd.port.pre.mk>
-.include "${.CURDIR}/../xemacs-canna/Makefile"
+XEMACS_MAJOR_VER= ${.CURDIR:S!^${PORTSDIR}/japanese/xemacs!!:S!-wnn6$!!}
+WNN6= yes
+
+.include "${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/Makefile"
diff --git a/japanese/xemacs21-wnn6/pkg-comment b/japanese/xemacs21-wnn6/pkg-comment
index eccaee6c7497..7d5101b69847 100644
--- a/japanese/xemacs21-wnn6/pkg-comment
+++ b/japanese/xemacs21-wnn6/pkg-comment
@@ -1 +1 @@
-XEmacs(version 21) text editor, with SJ3, SKK and Wnn6 support.
+XEmacs(version 21) text editor, with SJ3, SKK and Wnn6 support