View | Details | Raw Unified | Return to bug 14591
Collapse All | Expand All

(-)editors/xemacs-mule/Makefile (-7 / +13 lines)
Lines 1-5 Link Here
1
# New ports collection makefile for:	XEmacs
1
# New ports collection makefile for:	XEmacs
2
# Version required:	21.1.6
2
# Version required:	21.1.7
3
# Date created:		5 Dec 1997
3
# Date created:		5 Dec 1997
4
# Whom:			Kazuyuki IENAGA <ienaga@jsys.co.jp>
4
# Whom:			Kazuyuki IENAGA <ienaga@jsys.co.jp>
5
#
5
#
Lines 21-45 Link Here
21
21
22
MAINTAINER?=	kiri@kiri.toba-cmt.ac.jp
22
MAINTAINER?=	kiri@kiri.toba-cmt.ac.jp
23
23
24
BUILD_DEPENDS=	${BUILD_DEP_LIST}
24
BUILD_DEPENDS=	${PREFIX}/lib/xemacs/xemacs-packages/pkginfo/MANIFEST.xemacs-devel:${PORTSDIR}/editors/xemacs-packages \
25
		${PREFIX}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages \
26
		${BUILD_DEP_LIST}
27
25
LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm \
28
LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm \
26
		jpeg.9:${PORTSDIR}/graphics/jpeg \
29
		jpeg.9:${PORTSDIR}/graphics/jpeg \
27
		png.3:${PORTSDIR}/graphics/png \
30
		png.3:${PORTSDIR}/graphics/png \
28
		compface.1:${PORTSDIR}/mail/faces \
31
		compface.1:${PORTSDIR}/mail/faces \
29
		tiff.4:${PORTSDIR}/graphics/tiff \
32
		tiff.4:${PORTSDIR}/graphics/tiff \
30
		${LIB_INPUT_METHOD}
33
		${LIB_INPUT_METHOD}
31
RUN_DEPENDS=	${RUN_DEP_LIST}
34
RUN_DEPENDS=	${PREFIX}/lib/${XEMACS_DIR}/lisp/x-win-xfree86.elc:${PORTSDIR}/editors/xemacs-mule-common \
35
		${PREFIX}/lib/xemacs/xemacs-packages/pkginfo/MANIFEST.xemacs-devel:${PORTSDIR}/editors/xemacs-packages \
36
		${PREFIX}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages
32
37
33
EXTRACT_ONLY=	xemacs-${VERSION}.tar.gz xemacs-${VERSION}-elc.tar.gz \
38
EXTRACT_ONLY=	xemacs-${VERSION}.tar.gz xemacs-${VERSION}-elc.tar.gz \
34
		xemacs-${VERSION}-info.tar.gz
39
		xemacs-${VERSION}-info.tar.gz
35
WRKSRC=		${WRKDIR}/xemacs-${VERSION}
40
WRKSRC=		${WRKDIR}/xemacs-${VERSION}
36
PATCHDIR=	${.CURDIR}/../../editors/xemacs-mule-common/patches
41
PATCHDIR=	${.CURDIR}/../../editors/xemacs-mule-common/patches
37
FILESDIR=	${.CURDIR}/../../editors/xemacs-mule-common/files
42
FILESDIR=	${.CURDIR}/../../editors/xemacs-mule-common/files
38
SCRIPTDIR=	${.CURDIR}/../../editors/xemacs-mule-common/scripts
39
INSTALL_COOKIE=	${WRKDIR}/.install_done-${PKGNAME}
43
INSTALL_COOKIE=	${WRKDIR}/.install_done-${PKGNAME}
40
PACKAGE_COOKIE=	${WRKDIR}/.package_done-${PKGNAME}
44
PACKAGE_COOKIE=	${WRKDIR}/.package_done-${PKGNAME}
41
GNU_CONFIGURE=	yes
45
GNU_CONFIGURE=	yes
42
USE_AUTOCONF=	yes
46
USE_AUTOCONF=	yes
47
MAKE_ENV=	LANG=C
48
MAKE_ARGS=	prefix=${PREFIX}
43
CONFIGURE_TARGET=${MACHINE_ARCH}--freebsd
49
CONFIGURE_TARGET=${MACHINE_ARCH}--freebsd
44
CONFIGURE_ARGS=	--with-x11 \
50
CONFIGURE_ARGS=	--with-x11 \
45
		--with-xim=no \
51
		--with-xim=no \
Lines 67-76 Link Here
67
STRIP=
73
STRIP=
68
INSTALL_TARGET=	install-arch-dep
74
INSTALL_TARGET=	install-arch-dep
69
PLIST?=		${PKGLDIR}/PLIST
75
PLIST?=		${PKGLDIR}/PLIST
70
PLIST_SUB=	XEMACS_DIR=${XEMACS_DIR} ARCH_SUBDIR=${ARCH_SUBDIR}
76
PLIST_SUB=	XEMACS_DIR=${XEMACS_DIR} ARCH_SUBDIR=${ARCH_SUBDIR} EMACS_CMD=${EMACS_CMD}
77
71
78
72
MAJOR_VERSION=		21.1
79
MAJOR_VERSION=		21.1
73
VERSION=		21.1.6
80
VERSION=		21.1.7
74
EMACS_CMD=		xemacs-${VERSION}
81
EMACS_CMD=		xemacs-${VERSION}
75
XEMACS_DIR=		xemacs-${VERSION}
82
XEMACS_DIR=		xemacs-${VERSION}
76
FTP_DIR=		xemacs-${MAJOR_VERSION}
83
FTP_DIR=		xemacs-${MAJOR_VERSION}
Lines 80-86 Link Here
80
SITE_INCLUDES+=		${PREFIX}/include
87
SITE_INCLUDES+=		${PREFIX}/include
81
SITE_LIBRARIES+=	${PREFIX}/lib
88
SITE_LIBRARIES+=	${PREFIX}/lib
82
WITH_INPUT_METHOD?=	--with-canna=no --with-wnn=no --with-wnn6=no
89
WITH_INPUT_METHOD?=	--with-canna=no --with-wnn=no --with-wnn6=no
83
RUN_DEP_LIST+=		${PREFIX}/lib/${XEMACS_DIR}/lisp/x-win-xfree86.elc:${PORTSDIR}/editors/xemacs-mule-common
84
90
85
pre-build:
91
pre-build:
86
	@find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
92
	@find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
(-)editors/xemacs-mule/pkg/COMMENT (-1 / +1 lines)
Line 1 Link Here
1
XEmacs text editor (Only the executables)
1
XEmacs text editor with mule(Only the executables)
(-)editors/xemacs-mule/pkg/DESCR (-4 / +4 lines)
Lines 1-16 Link Here
1
This is a package containing only the executables for xemacs-21.1.6, the
1
This is a package containing only the executables for xemacs-21.*, the
2
next generation of Emacs.
2
next generation of Emacs.
3
3
4
You need to install a package, xemacs-common-21.1.6, containing emacs
4
You need to install a package, xemacs-common-21.*, containing emacs
5
lisp files, info pages, and so on (except executables) for
5
lisp files, info pages, and so on (except executables) for
6
xemacs-21.1.6.
6
xemacs-21.*.
7
7
8
This package is not built with any particular language support.  If
8
This package is not built with any particular language support.  If
9
you want a built-in input method, look into the xemacs ports in
9
you want a built-in input method, look into the xemacs ports in
10
language- specific directories.  Currently only Japanese (SKK,Canna, SJ3,
10
language- specific directories.  Currently only Japanese (SKK,Canna, SJ3,
11
Wnn4 and Wnn6) is available.
11
Wnn4 and Wnn6) is available.
12
12
13
This package and the package, xemacs-common-21.1.6 are designed *not* to 
13
This package and the package, xemacs-common-21.* are designed *not* to 
14
clobber any existing emacs installation.  In particular, the
14
clobber any existing emacs installation.  In particular, the
15
executables and man pages of etags/ctags are not installed, and the
15
executables and man pages of etags/ctags are not installed, and the
16
info pages that come with the original emacs don't get installed too.
16
info pages that come with the original emacs don't get installed too.
(-)editors/xemacs-mule/pkg/PLIST (-1 / +1 lines)
Lines 7-13 Link Here
7
bin/ootags
7
bin/ootags
8
bin/pstogif
8
bin/pstogif
9
bin/rcs-checkin
9
bin/rcs-checkin
10
bin/xemacs-21.1.6
10
bin/%%EMACS_CMD%%
11
@exec ln -sf %D/%F %B/xemacs
11
@exec ln -sf %D/%F %B/xemacs
12
@unexec rm %B/xemacs
12
@unexec rm %B/xemacs
13
lib/%%XEMACS_DIR%%/%%ARCH_SUBDIR%%/DOC
13
lib/%%XEMACS_DIR%%/%%ARCH_SUBDIR%%/DOC
(-)editors/xemacs-mule/pkg/PLIST-ja (-1 / +1 lines)
Lines 7-13 Link Here
7
bin/ootags
7
bin/ootags
8
bin/pstogif
8
bin/pstogif
9
bin/rcs-checkin
9
bin/rcs-checkin
10
bin/xemacs-21.1.6
10
bin/%%EMACS_CMD%%
11
@exec ln -sf %D/%F %B/xemacs
11
@exec ln -sf %D/%F %B/xemacs
12
@unexec rm %B/xemacs
12
@unexec rm %B/xemacs
13
lib/%%XEMACS_DIR%%/%%ARCH_SUBDIR%%/DOC
13
lib/%%XEMACS_DIR%%/%%ARCH_SUBDIR%%/DOC
(-)editors/xemacs-mule-common/Makefile (-2 / +14 lines)
Lines 1-5 Link Here
1
# New ports collection makefile for:	files except executables for xemacs with mule
1
# New ports collection makefile for:	files except executables for xemacs with mule
2
# Version required:	21.1.6
2
# Version required:	21.1.7
3
# Date created:		5 Dec 1997
3
# Date created:		5 Dec 1997
4
# Whom:			Kazuyuki IENAGA <ienaga@jsys.co.jp>
4
# Whom:			Kazuyuki IENAGA <ienaga@jsys.co.jp>
5
#
5
#
Lines 73-85 Link Here
73
		--x-libraries=${X11BASE}/lib
73
		--x-libraries=${X11BASE}/lib
74
MAN1=		ctags.1 etags.1 gnuattach.1 gnuclient.1 gnudoit.1 \
74
MAN1=		ctags.1 etags.1 gnuattach.1 gnuclient.1 gnudoit.1 \
75
		gnuserv.1 xemacs.1
75
		gnuserv.1 xemacs.1
76
MAKE_ARGS=	prefix=${PREFIX}
76
77
77
STRIP=
78
STRIP=
78
INSTALL_TARGET=	install-arch-indep
79
INSTALL_TARGET=	install-arch-indep
79
PLIST_SUB=	XEMACS_DIR=${XEMACS_DIR}
80
PLIST_SUB=	XEMACS_DIR=${XEMACS_DIR}
81
PKGINSTALL=	${WRKDIR}/INSTALL
80
82
81
MAJOR_VERSION=	21.1
83
MAJOR_VERSION=	21.1
82
VERSION=	21.1.6
84
VERSION=	21.1.7
83
XEMACS_DIR=	xemacs-${VERSION}
85
XEMACS_DIR=	xemacs-${VERSION}
84
FTP_DIR=	xemacs-${MAJOR_VERSION}
86
FTP_DIR=	xemacs-${MAJOR_VERSION}
85
87
Lines 92-97 Link Here
92
	@if [ ! -f ${PREFIX}/lib/xemacs/info/dir ]; then \
94
	@if [ ! -f ${PREFIX}/lib/xemacs/info/dir ]; then \
93
		${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/lib/xemacs/info/dir; \
95
		${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/lib/xemacs/info/dir; \
94
	fi
96
	fi
97
	${ECHO} '#!/bin/sh'	>  ${WRKDIR}/INSTALL
98
	${ECHO} 'if [ "$$2" != "POST-INSTALL" ]; then exit 0; fi'  >> ${WRKDIR}/INSTALL
99
	${ECHO} 'echo "############################################################"' \
100
				 >> ${WRKDIR}/INSTALL
101
	${ECHO} 'echo "You must install one of packages, xemacs-mule and "' \
102
				 >> ${WRKDIR}/INSTALL
103
	${ECHO} "echo \" ja-xemacs-*-${VERSION} (ja-xemacs-${VERSION}, ja-xemacs-canna-${VERSION}, etc.)\""  >> ${WRKDIR}/INSTALL
104
	${ECHO} "echo \", each of which contains only the executables for xemacs-${VERSION}\""  >> ${WRKDIR}/INSTALL
105
	${ECHO} 'echo "############################################################"' \
106
				 >> ${WRKDIR}/INSTALL
95
107
96
post-install:
108
post-install:
97
# install xemacs-mule.sh into ${PREFIX}/etc/rc.d
109
# install xemacs-mule.sh into ${PREFIX}/etc/rc.d
(-)editors/xemacs-mule-common/files/md5 (-3 / +3 lines)
Lines 1-4 Link Here
1
MD5 (xemacs/xemacs-21.1.6.tar.gz) = f216ccf246d10771b65436fd45b50810
1
MD5 (xemacs/xemacs-21.1.7.tar.gz) = c251da17e7aadaabaa3ffdfff56ac4a9
2
MD5 (xemacs/xemacs-21.1.6-elc.tar.gz) = 5047ea121e8b972725bbeb2a197e4461
2
MD5 (xemacs/xemacs-21.1.7-elc.tar.gz) = 13efe35dcf9d40f7b43f6783a32af88d
3
MD5 (xemacs/xemacs-21.1.6-info.tar.gz) = 6d9bf4b1f51b278439fd3fbb7033c9b5
3
MD5 (xemacs/xemacs-21.1.7-info.tar.gz) = 736e211486583994fdb2bda584bf5f9c
4
MD5 (xemacs/ps-print-jp.el.gz) = 40ed0019ccf64a917a90cf16959eee81
4
MD5 (xemacs/ps-print-jp.el.gz) = 40ed0019ccf64a917a90cf16959eee81
(-)editors/xemacs-mule-common/patches/patch-aj (+35 lines)
Line 0 Link Here
1
===================================================================
2
RCS file: lisp/mule/RCS/japanese.el,v
3
retrieving revision 1.1
4
diff -u -r1.1 lisp/mule/japanese.el
5
--- lisp/mule/japanese.el	1999/10/18 09:41:37	1.1
6
+++ lisp/mule/japanese.el	1999/10/26 02:42:06
7
@@ -218,8 +218,27 @@
8
 (copy-coding-system 'euc-jp 'euc-japan) ; only for w3
9
 (copy-coding-system 'euc-jp 'japanese-euc)
10
 
11
+(defun setup-japanese-environment ()
12
+  "Setup multilingual environment (MULE) for Japanese."
13
+  (interactive)
14
+  (setup-english-environment)
15
+  (set-coding-category-system 'shift-jis 'shift_jis)
16
+  (set-coding-category-system 'iso-8-2 'euc-jp)
17
+  (set-coding-category-system 'iso-7 'iso-2022-jp)
18
+  (set-coding-category-system 'iso-8-designate 'iso-2022-8bit-ss2)
19
+
20
+  (set-coding-priority-list
21
+   '(iso-7
22
+     iso-8-2
23
+     shift-jis
24
+     iso-8-1
25
+     iso-lock-shift
26
+     iso-8-designate
27
+     no-conversion
28
+     big5)))
29
+
30
 (set-language-info-alist
31
- "Japanese" '((setup-function . setup-japanese-environment-internal)
32
+ "Japanese" '((setup-function . setup-japanese-environment)
33
 	      (tutorial . "TUTORIAL.ja")
34
 	      (charset . (japanese-jisx0208 japanese-jisx0208-1978
35
 			  japanese-jisx0212 latin-jisx0201
(-)editors/xemacs-mule-common/patches/patch-ak (-11 lines)
Lines 1-11 Link Here
1
--- lisp/mule/japanese.el~	Wed Feb 17 22:59:32 1999
2
+++ lisp/mule/japanese.el	Thu Oct  7 16:23:57 1999
3
@@ -219,7 +219,7 @@
4
 (copy-coding-system 'euc-jp 'japanese-euc)
5
 
6
 (set-language-info-alist
7
- "Japanese" '((setup-function . setup-japanese-environment)
8
+ "Japanese" '((setup-function . setup-japanese-environment-internal)
9
 	      (tutorial . "TUTORIAL.ja")
10
 	      (charset . (japanese-jisx0208 japanese-jisx0208-1978
11
 			  japanese-jisx0212 latin-jisx0201
(-)editors/xemacs-mule-common/pkg/DESCR (-4 / +4 lines)
Lines 1-9 Link Here
1
This is XEmacs lisp files, info pages, and so on (except executables)
1
This is XEmacs lisp files, info pages, and so on (except executables)
2
for XEmacs 21.1.6, the next generation of Emacs.
2
for XEmacs 21.*, the next generation of Emacs.
3
3
4
You must install one of packages, xemacs, jp-xemacs-*-21.1.6 (
4
You must install one of packages, xemacs, jp-xemacs-*-21.* (
5
jp-xemacs-canna-21.1.6, jp-xemacs-canna+sj3-21.1.6, etc.), each of which
5
ja-xemacs-canna-21.*, jp-xemacs-canna+wnn4-21.*, etc.), each of which
6
contains only the executables for xemacs-21.1.6.
6
contains only the executables for xemacs-21.*.
7
7
8
This package and the above package of the executables *will* clobber any
8
This package and the above package of the executables *will* clobber any
9
existing XEmacs installation.  In particular, the executables and man
9
existing XEmacs installation.  In particular, the executables and man
(-)editors/xemacs-mule-common/pkg/INSTALL (-8 lines)
Lines 1-8 Link Here
1
#!/bin/sh
2
3
if [ "$2" != "POST-INSTALL" ]; then exit 0; fi
4
echo "############################################################"
5
echo "You must install one of packages, xemacs-mule and "
6
echo " ja-xemacs-*-21.1.6 (ja-xemacs-21.1.6, ja-xemacs-canna-21.1.6, etc.)"
7
echo ", each of which contains only the executables for xemacs-21.1.6"
8
echo "############################################################"
(-)editors/xemacs-mule-common/pkg/PLIST (-3 / +3 lines)
Lines 1-9 Link Here
1
@exec mkdir -p %D/lib/xemacs/site-packages/info
1
@exec mkdir -p %D/lib/xemacs/site-packages/info
2
@exec mkdir -p %D/lib/xemacs/mule-packages/info
2
@exec mkdir -p %D/lib/xemacs/mule-packages/info
3
@exec mkdir -p %D/lib/xemacs/xemacs-packages/info
3
@exec mkdir -p %D/lib/xemacs/xemacs-packages/info
4
@exec [ -f %D/lib/xemacs/site-packages/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir-tmpl > %D/lib/xemacs/site-packages/info/dir
5
@exec [ -f %D/lib/xemacs/mule-packages/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir-tmpl > %D/lib/xemacs/mule-packages/info/dir
6
@exec [ -f %D/lib/xemacs/xemacs-packages/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir-tmpl > %D/lib/xemacs/xemacs-packages/info/dir
7
@exec mkdir -p %D/lib/xemacs/site-lisp
4
@exec mkdir -p %D/lib/xemacs/site-lisp
8
@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock
5
@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock
9
@comment
6
@comment
Lines 392-397 Link Here
392
lib/%%XEMACS_DIR%%/info/internals.info-5
389
lib/%%XEMACS_DIR%%/info/internals.info-5
393
lib/%%XEMACS_DIR%%/info/internals.info-6
390
lib/%%XEMACS_DIR%%/info/internals.info-6
394
lib/%%XEMACS_DIR%%/info/internals.info-7
391
lib/%%XEMACS_DIR%%/info/internals.info-7
392
lib/%%XEMACS_DIR%%/info/internals.info-8
395
lib/%%XEMACS_DIR%%/info/lispref.info
393
lib/%%XEMACS_DIR%%/info/lispref.info
396
lib/%%XEMACS_DIR%%/info/lispref.info-1
394
lib/%%XEMACS_DIR%%/info/lispref.info-1
397
lib/%%XEMACS_DIR%%/info/lispref.info-10
395
lib/%%XEMACS_DIR%%/info/lispref.info-10
Lines 923-928 Link Here
923
lib/%%XEMACS_DIR%%/lisp/x-win-sun.elc
921
lib/%%XEMACS_DIR%%/lisp/x-win-sun.elc
924
lib/%%XEMACS_DIR%%/lisp/x-win-xfree86.el
922
lib/%%XEMACS_DIR%%/lisp/x-win-xfree86.el
925
lib/%%XEMACS_DIR%%/lisp/x-win-xfree86.elc
923
lib/%%XEMACS_DIR%%/lisp/x-win-xfree86.elc
924
lib/%%XEMACS_DIR%%/lisp/xpm-button.el
925
lib/%%XEMACS_DIR%%/lisp/xpm-button.elc
926
@comment
926
@comment
927
@comment dirrm
927
@comment dirrm
928
@comment
928
@comment
(-)editors/xemacs-mule-common/scripts/post-configure (-21 lines)
Lines 1-21 Link Here
1
#!/bin/sh
2
3
chgdirs=". lib-src lwlib src"
4
5
cd ${WRKSRC}
6
7
for dir in ${chgdirs}; do
8
	case ${dir} in
9
	".")
10
		perl -p -i.bak -e '
11
			s@^prefix[ \t]*=.*$@prefix=\${PREFIX}@;
12
			s@^install-arch-dep:(.*)$@install-arch-dep:#$1@;
13
			' ${dir}/Makefile
14
		;;
15
	*)
16
		perl -p -i.bak -e '
17
			s@^prefix[ \t]*=.*$@prefix=\${PREFIX}@;
18
			' ${dir}/Makefile
19
		;;
20
	esac
21
done
(-)japanese/xemacs-canna/Makefile (-6 / +49 lines)
Lines 1-14 Link Here
1
# New ports collection makefile for:	XEmacs for Japanese with Canna
1
# New ports collection makefile for:	XEmacs for Japanese
2
# Version required:	21.1.6
2
# Version required:	21.1.7
3
# Date created:		5 Dec 1997
3
# Date created:		5 Dec 1997
4
# Whom:			KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
4
# Whom:			KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
5
#
5
#
6
# $FreeBSD: ports/japanese/xemacs-canna/Makefile,v 1.5 1999/09/10 21:04:23 taoka Exp $
6
# $FreeBSD: ports/japanese/xemacs-canna/Makefile,v 1.5 1999/09/10 21:04:23 taoka Exp $
7
#
7
#
8
8
9
CANNA=		yes
9
CATEGORIES=	japanese editors
10
10
11
MASTERDIR=	${.CURDIR}/../../japanese/xemacs
11
MANLANG=	ja
12
PKGDIR=		${.CURDIR}/pkg
12
MAN1=		xemacs-ja.1
13
PLIST=		${PKGLDIR}/PLIST-ja
13
14
14
.include	"${MASTERDIR}/Makefile"
15
LANGPREFIX=	ja-
16
MULEPKGDIR=	${PREFIX}/lib/xemacs/mule-packages
17
DESCR=		${.CURDIR}/../../japanese/xemacs-canna/pkg/DESCR
18
.if defined(CANNA) && defined(WNN4)
19
PKGNAMEEXT=		-canna+wnn4
20
SITE_INCLUDES=		${X11BASE}/include
21
SITE_LIBRARIES=		${X11BASE}/lib
22
WITH_INPUT_METHOD=	--with-canna --with-wnn --with-wnn6=no
23
LIB_INPUT_METHOD=	canna.1:${PORTSDIR}/japanese/Canna
24
BUILD_DEP_LIST=		${PREFIX}/bin/Wnn4/jserver:${PORTSDIR}/japanese/Wnn
25
.elif defined(CANNA) && defined(WNN6)
26
PKGNAMEEXT=		-canna+wnn6
27
WITH_INPUT_METHOD=	--with-canna --with-wnn6
28
LIB_INPUT_METHOD=	canna.1:${PORTSDIR}/japanese/Canna
29
BUILD_DEP_LIST=		${PREFIX}/include/wnn/jlib.h:${PORTSDIR}/japanese/Wnn6-lib
30
.elif defined(WNN4)
31
PKGNAMEEXT=		-wnn4
32
SITE_INCLUDES=		${X11BASE}/include
33
SITE_LIBRARIES=		${X11BASE}/lib
34
WITH_INPUT_METHOD=	--with-wnn --with-canna=no --with-wnn6=no
35
BUILD_DEP_LIST=		${PREFIX}/bin/Wnn4/jserver:${PORTSDIR}/japanese/Wnn
36
.elif defined(WNN6)
37
PKGNAMEEXT=		-wnn6
38
WITH_INPUT_METHOD=	--with-wnn6 --with-canna=no
39
BUILD_DEP_LIST=		${PREFIX}/include/wnn/jlib.h:${PORTSDIR}/japanese/Wnn6-lib
40
.else
41
PKGNAMEEXT=		-canna
42
WITH_INPUT_METHOD=	--with-canna --with-wnn=no --with-wnn6=no
43
LIB_INPUT_METHOD=	canna.1:${PORTSDIR}/japanese/Canna
44
.endif
45
46
post-install::
47
	@${MKDIR} ${PREFIX}/man/ja/man1 ${MULEPKGDIR}/lisp/ps-print
48
	cd ${MULEPKGDIR}/lisp/ps-print; \
49
	${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/ps-print-jp.el.gz > ps-print.el; \
50
	chmod 444 ps-print.el
51
#	${PREFIX}/bin/${EMACS_CMD} -batch -q -no-site-file -f batch-byte-compile \
52
#		ps-print.el; \
53
#	chmod 444 ps-print.el ps-print.elc
54
	@${INSTALL_MAN} ${WRKSRC}/etc/xemacs-ja.1 ${PREFIX}/man/ja/man1
55
	@${LN} -sf ja ${MULEPKGDIR}/etc/app-defaults/ja_JP.EUC
56
57
.include "${.CURDIR}/../../editors/xemacs-mule/Makefile"
(-)japanese/xemacs-canna/pkg/COMMENT (-1 / +1 lines)
Line 1 Link Here
1
XEmacs text editor, with Canna, SJ3 and SKK support
1
XEmacs text editor, with SJ3 and SKK support
(-)japanese/xemacs-canna/pkg/DESCR (-7 / +16 lines)
Lines 1-16 Link Here
1
This is a package containing only the executables for xemacs-21.1.6, the
1
This is a package containing only the executables for xemacs-21.*, the
2
next generation of Emacs.
2
next generation of Emacs.
3
3
4
You need to install a package, xemacs-common-21.1.6, containing emacs
4
You need to install a package, xemacs-common-21.*, containing emacs
5
lisp files, info pages, and so on (except executables) for
5
lisp files, info pages, and so on (except executables) for
6
xemacs-21.1.6.
6
xemacs-21.*.
7
7
8
This package is built with Japanese support by using Canna or SJ3 as
8
This package is built with Japanese support by using SKK, SJ3, Canna,
9
an external input engine. If you use with SJ3, you should be installed 
9
Wnn4 or Wnn6 as an external input engine. Each input method would be
10
sj3serv in advance. SKK is supported as already builtin. Also it will
10
supported in following ports respectively:
11
12
	japanese/xemacs-canna ........ SKK, SJ3, Canna
13
	japanese/xemacs-canna+wnn4 ... SKK, SJ3, Canna, Wnn4
14
	japanese/xemacs-canna+wnn6 ... SKK, SJ3, Canna, Wnn6
15
	japanese/xemacs-wnn4 ......... SKK, SJ3, Wnn4
16
	japanese/xemacs-wnn6 ......... SKK, SJ3, Wnn6
17
18
If you use with SJ3 or SKK, you should be installed sj3serv or skkserv
19
in advance. SKK is supported as already builtin. Also it will
11
support several input methods under leim. 
20
support several input methods under leim. 
12
21
13
This package and the package xemacs-common-21.1.6, might clobber any
22
This package and the package xemacs-common-21.*, might clobber any
14
existing emacs installation.  In particular, the executables and man
23
existing emacs installation.  In particular, the executables and man
15
pages of etags/ctags are installed, and the info pages that come with
24
pages of etags/ctags are installed, and the info pages that come with
16
the original emacs will be overwritten too.
25
the original emacs will be overwritten too.
(-)japanese/xemacs-canna+wnn4/Makefile (-3 / +2 lines)
Lines 1-5 Link Here
1
# New ports collection makefile for:	XEmacs with Canna and Wnn4
1
# New ports collection makefile for:	XEmacs with Canna and Wnn4
2
# Version required:	21.1.6
2
# Version required:	21.1.7
3
# Date created:		5 Dec 1997
3
# Date created:		5 Dec 1997
4
# Whom:			KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
4
# Whom:			KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
5
#
5
#
Lines 9-15 Link Here
9
CANNA=		yes
9
CANNA=		yes
10
WNN4=		yes
10
WNN4=		yes
11
11
12
MASTERDIR=	${.CURDIR}/../../japanese/xemacs
12
MASTERDIR=	${.CURDIR}/../../japanese/xemacs-canna
13
PKGDIR=		${.CURDIR}/pkg
14
13
15
.include	"${MASTERDIR}/Makefile"
14
.include	"${MASTERDIR}/Makefile"
(-)japanese/xemacs-canna+wnn4/pkg/DESCR (-23 lines)
Lines 1-23 Link Here
1
This is a package containing only the executables for xemacs-21.1.6, the
2
next generation of Emacs.
3
4
You need to install a package, xemacs-common-21.1.6, containing emacs
5
lisp files, info pages, and so on (except executables) for
6
xemacs-21.1.6.
7
8
This package is built with Japanese support by using Canna ,Wnn4 or
9
SJ3 as an external input engine. If you use with SJ3, you should be
10
installed sj3serv in advance. SKK is supported as already
11
builtin. Also it will support several input methods under leim. 
12
13
This package and the package xemacs-common-21.1.6, might clobber any
14
existing emacs installation.  In particular, the executables and man
15
pages of etags/ctags are installed, and the info pages that come with
16
the original emacs will be overwritten too.
17
18
Although this shouldn't cause any problems to run both mule and emacs,
19
it may cause some confusion when one of them is pkg_delete'd.  If
20
someone has a solution to this, please tell me.
21
Or to avoid this problem, you could select prefix for top install
22
directory. By default it is pointed to the usual place, /usr/local.
23
(-)japanese/xemacs-canna+wnn6/Makefile (-3 / +2 lines)
Lines 1-5 Link Here
1
# New ports collection makefile for:	XEmacs with Canna and Wnn6
1
# New ports collection makefile for:	XEmacs with Canna and Wnn6
2
# Version required:	21.1.6
2
# Version required:	21.1.7
3
# Date created:		5 Dec 1997
3
# Date created:		5 Dec 1997
4
# Whom:			KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
4
# Whom:			KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
5
#
5
#
Lines 9-15 Link Here
9
CANNA=		yes
9
CANNA=		yes
10
WNN6=		yes
10
WNN6=		yes
11
11
12
MASTERDIR=	${.CURDIR}/../../japanese/xemacs
12
MASTERDIR=	${.CURDIR}/../../japanese/xemacs-canna
13
PKGDIR=		${.CURDIR}/pkg
14
13
15
.include	"${MASTERDIR}/Makefile"
14
.include	"${MASTERDIR}/Makefile"
(-)japanese/xemacs-canna+wnn6/pkg/DESCR (-23 lines)
Lines 1-23 Link Here
1
This is a package containing only the executables for xemacs-21.1.6, the
2
next generation of Emacs.
3
4
You need to install a package, xemacs-common-21.1.6, containing emacs
5
lisp files, info pages, and so on (except executables) for
6
xemacs-21.1.6.
7
8
This package is built with Japanese support by using Canna ,Wnn6 or
9
SJ3 as an external input engine. If you use with SJ3, you should be
10
installed  sj3serv in advance. SKK is supported as already builtin. 
11
Also it will support several input methods under leim. 
12
13
This package and the package xemacs-common-21.1.6, might clobber any
14
existing emacs installation.  In particular, the executables and man
15
pages of etags/ctags are installed, and the info pages that come with
16
the original emacs will be overwritten too.
17
18
Although this shouldn't cause any problems to run both mule and emacs,
19
it may cause some confusion when one of them is pkg_delete'd.  If
20
someone has a solution to this, please tell me.
21
Or to avoid this problem, you could select prefix for top install
22
directory. By default it is pointed to the usual place, /usr/local.
23
(-)japanese/xemacs-wnn4/Makefile (-3 / +2 lines)
Lines 1-5 Link Here
1
# New ports collection makefile for:	XEmacs with Wnn4
1
# New ports collection makefile for:	XEmacs with Wnn4
2
# Version required:	21.1.6
2
# Version required:	21.1.7
3
# Date created:		25 January 1998
3
# Date created:		25 January 1998
4
# Whom:			KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
4
# Whom:			KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
5
#
5
#
Lines 8-14 Link Here
8
8
9
WNN4=		yes
9
WNN4=		yes
10
10
11
MASTERDIR=	${.CURDIR}/../../japanese/xemacs
11
MASTERDIR=	${.CURDIR}/../../japanese/xemacs-canna
12
PKGDIR=		${.CURDIR}/pkg
13
12
14
.include	"${MASTERDIR}/Makefile"
13
.include	"${MASTERDIR}/Makefile"
(-)japanese/xemacs-wnn4/pkg/DESCR (-23 lines)
Lines 1-23 Link Here
1
This is a package containing only the executables for xemacs-21.1.6, the
2
next generation of Emacs.
3
4
You need to install a package, xemacs-common-21.1.6, containing emacs
5
lisp files, info pages, and so on (except executables) for
6
xemacs-21.1.6.
7
8
This package is built with Japanese support by using Wnn4 or SJ3 as
9
an external input engine. If you use with SJ3, you should be installed 
10
sj3serv in advance. SKK is supported as already builtin. Also it will
11
support several input methods under leim. 
12
13
This package and the package xemacs-common-21.1.6, might clobber any
14
existing emacs installation.  In particular, the executables and man
15
pages of etags/ctags are installed, and the info pages that come with
16
the original emacs will be overwritten too.
17
18
Although this shouldn't cause any problems to run both mule and emacs,
19
it may cause some confusion when one of them is pkg_delete'd.  If
20
someone has a solution to this, please tell me.
21
Or to avoid this problem, you could select prefix for top install
22
directory. By default it is pointed to the usual place, /usr/local.
23
(-)japanese/xemacs-wnn6/Makefile (-3 / +2 lines)
Lines 1-5 Link Here
1
# New ports collection makefile for:	XEmacs with Wnn6
1
# New ports collection makefile for:	XEmacs with Wnn6
2
# Version required:	21.1.6
2
# Version required:	21.1.7
3
# Date created:		25 January 1998
3
# Date created:		25 January 1998
4
# Whom:			KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
4
# Whom:			KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
5
#
5
#
Lines 8-14 Link Here
8
8
9
WNN6=		yes
9
WNN6=		yes
10
10
11
MASTERDIR=	${.CURDIR}/../../japanese/xemacs
11
MASTERDIR=	${.CURDIR}/../../japanese/xemacs-canna
12
PKGDIR=		${.CURDIR}/pkg
13
12
14
.include	"${MASTERDIR}/Makefile"
13
.include	"${MASTERDIR}/Makefile"
(-)japanese/xemacs-wnn6/pkg/DESCR (-23 lines)
Lines 1-23 Link Here
1
This is a package containing only the executables for xemacs-21.1.6, the
2
next generation of Emacs.
3
4
You need to install a package, xemacs-common-21.1.6, containing emacs
5
lisp files, info pages, and so on (except executables) for
6
xemacs-21.1.6.
7
8
This package is built with Japanese support by using Wnn6 or SJ3 as
9
an external input engine. If you use with SJ3, you should be installed 
10
sj3serv in advance. SKK is supported as already builtin. Also it will
11
support several input methods under leim. 
12
13
This package and the package xemacs-common-21.1.6 might clobber any
14
existing emacs installation.  In particular, the executables and man
15
pages of etags/ctags are installed, and the info pages that come with
16
the original emacs will be overwritten too.
17
18
Although this shouldn't cause any problems to run both mule and emacs,
19
it may cause some confusion when one of them is pkg_delete'd.  If
20
someone has a solution to this, please tell me.
21
Or to avoid this problem, you could select prefix for top install
22
directory. By default it is pointed to the usual place, /usr/local.
23

Return to bug 14591