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

(-)editors/xemacs-mule/Makefile (-5 / +6 lines)
Lines 82-88 Link Here
82
PACKAGE_COOKIE=	${WRKDIR}/.package_done-${PKGNAME}
82
PACKAGE_COOKIE=	${WRKDIR}/.package_done-${PKGNAME}
83
STRIP=
83
STRIP=
84
INSTALL_TARGET?=install-arch-dep
84
INSTALL_TARGET?=install-arch-dep
85
DESCR?=		${WRKDIR}/DESCR
86
PLIST?=		${PKGLDIR}/PLIST
85
PLIST?=		${PKGLDIR}/PLIST
87
PLIST_SUB?=	XEMACS_DIR=${XEMACS_DIR} ARCH_SUBDIR=${ARCH_SUBDIR} EMACS_CMD=${EMACS_CMD}
86
PLIST_SUB?=	XEMACS_DIR=${XEMACS_DIR} ARCH_SUBDIR=${ARCH_SUBDIR} EMACS_CMD=${EMACS_CMD}
88
87
Lines 102-111 Link Here
102
.endif
101
.endif
103
102
104
.if !defined(MULE_COMMON)
103
.if !defined(MULE_COMMON)
105
post-configure::
106
	@${SED} -e "s/%%XEMACS_VER%%/${XEMACS_VER}/g" \
107
		${DESCR_TMPL} > ${DESCR}
108
109
pre-build:
104
pre-build:
110
	@find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
105
	@find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
111
	@${RM} -f ${WRKSRC}/lib-src/DOC* ${WRKSRC}/src/xemacs
106
	@${RM} -f ${WRKSRC}/lib-src/DOC* ${WRKSRC}/src/xemacs
Lines 125-129 Link Here
125
120
126
post-package:
121
post-package:
127
	@${TOUCH} ${TOUCH_FLAGS} ${PACKAGE_COOKIE}
122
	@${TOUCH} ${TOUCH_FLAGS} ${PACKAGE_COOKIE}
123
124
# for make DESCR (only maintainer use)
125
arrange::
126
	@${MKDIR} ${PKGDIR}
127
	@${SED} -e "s/%%XEMACS_VER%%/${XEMACS_VER}/g" \
128
		${DESCR_TMPL} > ${DESCR}
128
129
129
.include <bsd.port.mk>
130
.include <bsd.port.mk>
(-)editors/xemacs-mule/pkg/DESCR (+34 lines)
Line 0 Link Here
1
This is a package containing only the executables for XEmacs with
2
Mule(version 21.1.8), the next generation of Emacs.
3
4
You need to install a package, xemacs-common-21.1.8, containing emacs
5
lisp files, info pages, and so on (except executables) for
6
XEmacs with Mule(version 21.1.8).
7
8
This package is not built with any particular language support except for
9
already built-in Imput Method - SKK and SJ3.  If you want other built-in
10
input method, look into the xemacs ports in language- specific directories.
11
Currently only Japanese (Canna,Wnn4 and Wnn6) is available.
12
13
This package and the package, xemacs-common-21.1.8 are designed
14
*not* to clobber any existing emacs installation.  In particular, 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.
17
The Japanese version is build to install everything, by the way.
18
This is a package containing only the executables for XEmacs with
19
Mule(version 21.1.8), the next generation of Emacs.
20
21
You need to install a package, xemacs-common-21.1.8, containing emacs
22
lisp files, info pages, and so on (except executables) for
23
XEmacs with Mule(version 21.1.8).
24
25
This package is not built with any particular language support except for
26
already built-in Imput Method - SKK and SJ3.  If you want other built-in
27
input method, look into the xemacs ports in language- specific directories.
28
Currently only Japanese (Canna,Wnn4 and Wnn6) is available.
29
30
This package and the package, xemacs-common-21.1.8 are designed
31
*not* to clobber any existing emacs installation.  In particular, the
32
executables and man pages of etags/ctags are not installed, and the
33
info pages that come with the original emacs don't get installed too.
34
The Japanese version is build to install everything, by the way.
(-)editors/xemacs-mule-common/Makefile (-3 / +1 lines)
Lines 51-57 Link Here
51
INSTALL_TARGET=	install-arch-indep
51
INSTALL_TARGET=	install-arch-indep
52
PKGINSTALL=	${WRKDIR}/INSTALL.${PKGNAME}
52
PKGINSTALL=	${WRKDIR}/INSTALL.${PKGNAME}
53
PLIST=		${PKGDIR}/PLIST
53
PLIST=		${PKGDIR}/PLIST
54
DESCR=		${WRKDIR}/DESCR.${PKGNAME}
54
# DESCR=		${WRKDIR}/DESCR.${PKGNAME}
55
PLIST_SUB=	XEMACS_DIR=${XEMACS_DIR}
55
PLIST_SUB=	XEMACS_DIR=${XEMACS_DIR}
56
PKGINSTALL=	${WRKDIR}/INSTALL
56
PKGINSTALL=	${WRKDIR}/INSTALL
57
TMPPLIST=	${WRKDIR}/.PLIST.mktmp-${PKGNAME}
57
TMPPLIST=	${WRKDIR}/.PLIST.mktmp-${PKGNAME}
Lines 74-81 Link Here
74
	@if [ ! -f ${PREFIX}/lib/xemacs/info/dir ]; then \
74
	@if [ ! -f ${PREFIX}/lib/xemacs/info/dir ]; then \
75
		${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/lib/xemacs/info/dir; \
75
		${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/lib/xemacs/info/dir; \
76
	fi
76
	fi
77
	@${SED} -e "s/%%XEMACS_VER%%/${XEMACS_VER}/g" \
78
		${DESCR_TMPL} > ${DESCR}
79
	@${SED} -e "s/%%XEMACS_VER%%/${XEMACS_VER}/g" \
77
	@${SED} -e "s/%%XEMACS_VER%%/${XEMACS_VER}/g" \
80
		${INSTALL_TMPL} > ${PKGINSTALL}
78
		${INSTALL_TMPL} > ${PKGINSTALL}
81
79
(-)editors/xemacs-mule-common/pkg/DESCR (+18 lines)
Line 0 Link Here
1
This is XEmacs lisp files, info pages, and so on (except executables)
2
for XEmacs with Mule(version 21.1.8), the next generation of Emacs. 
3
4
You must install one of packages, xemacs-mule-21.1.8,
5
ja-xemacs-*-21.1.8 (ja-xemacs-canna-21.1.8, ja-xemacs-canna+wnn4-21.1.8, etc.),
6
each of which contains only the executables for XEmacs with Mule(vresion 21.1.8).
7
8
This package and the above package of the executables *will* clobber any
9
existing XEmacs installation.  In particular, the executables and man
10
pages of etags/ctags are installed, and the info pages that come with
11
the original emacs get installed too.
12
13
Although this shouldn't cause any problems to run both mule and emacs,
14
it may cause some confusion when one of them is pkg_delete'd.  If
15
someone has a solution to this, please tell me.
16
17
-- 
18
Kazz
(-)japanese/xemacs-canna/Makefile (-8 / +8 lines)
Lines 20-34 Link Here
20
20
21
CATEGORIES=	japanese editors
21
CATEGORIES=	japanese editors
22
22
23
JAPANESE=	yes
24
MANLANG=	ja
23
MANLANG=	ja
25
MAN1=		xemacs-ja.1
24
MAN1=		xemacs-ja.1
26
DESCR_TMPL=	${.CURDIR}/../xemacs-canna/files/DESCR.tmpl
25
DESCR=		${.CURDIR}/../xemacs-canna/pkg/DESCR
27
PLIST=		${PKGLDIR}/PLIST-ja
26
PLIST=		${PKGLDIR}/PLIST-ja
28
27
28
DESCR_TMPL=	${.CURDIR}/../xemacs-canna/files/DESCR.tmpl
29
LANGPREFIX=	ja-
29
LANGPREFIX=	ja-
30
COMMENT=	${WRKDIR}/COMMENT
31
DESCR=		${WRKDIR}/DESCR
32
.if defined(CANNA) && defined(WNN4)
30
.if defined(CANNA) && defined(WNN4)
33
PKGNAMEEXT=		-canna+wnn4
31
PKGNAMEEXT=		-canna+wnn4
34
SITE_INCLUDES=		${X11BASE}/include
32
SITE_INCLUDES=		${X11BASE}/include
Lines 54-60 Link Here
54
PKGNAMEEXT=		-wnn6
52
PKGNAMEEXT=		-wnn6
55
WITH_INPUT_METHOD=	--with-wnn6 --with-canna=no
53
WITH_INPUT_METHOD=	--with-wnn6 --with-canna=no
56
BUILD_INPUT_METHOD=	${PREFIX}/include/wnn/jlib.h:${PORTSDIR}/japanese/Wnn6-lib
54
BUILD_INPUT_METHOD=	${PREFIX}/include/wnn/jlib.h:${PORTSDIR}/japanese/Wnn6-lib
57
COMMENT_TEXT=		XEmacs(version ${XEMACS_VER}) text editor, with SJ3, SKK, Canna and Wnn6 support.
55
COMMENT_TEXT=		XEmacs(version ${XEMACS_VER}) text editor, with SJ3, SKK and Wnn6 support.
58
.else
56
.else
59
PKGNAMEEXT=		-canna
57
PKGNAMEEXT=		-canna
60
WITH_INPUT_METHOD=	--with-canna --with-wnn=no --with-wnn6=no
58
WITH_INPUT_METHOD=	--with-canna --with-wnn=no --with-wnn6=no
Lines 62-73 Link Here
62
COMMENT_TEXT=		XEmacs(version ${XEMACS_VER}) text editor, with SJ3, SKK and Canna support.
60
COMMENT_TEXT=		XEmacs(version ${XEMACS_VER}) text editor, with SJ3, SKK and Canna support.
63
.endif
61
.endif
64
62
65
post-configure::
66
	@${ECHO} "${COMMENT_TEXT}" > ${COMMENT}
67
68
post-install::
63
post-install::
69
	@${MKDIR} ${PREFIX}/man/ja/man1
64
	@${MKDIR} ${PREFIX}/man/ja/man1
70
	@${INSTALL_MAN} ${WRKSRC}/etc/xemacs-ja.1 ${PREFIX}/man/ja/man1
65
	@${INSTALL_MAN} ${WRKSRC}/etc/xemacs-ja.1 ${PREFIX}/man/ja/man1
71
	@${LN} -sf ja ${PREFIX}/lib/xemacs/mule-packages/etc/app-defaults/ja_JP.EUC
66
	@${LN} -sf ja ${PREFIX}/lib/xemacs/mule-packages/etc/app-defaults/ja_JP.EUC
67
68
# for make COMMENT (only maintainer use)
69
arrange::
70
	@${MKDIR} ${PKGDIR} ${.CURDIR}/../xemacs-canna/pkg
71
	@${ECHO} "${COMMENT_TEXT}" > ${COMMENT}
72
72
73
.include "${.CURDIR}/../../editors/xemacs-mule/Makefile"
73
.include "${.CURDIR}/../../editors/xemacs-mule/Makefile"
(-)japanese/xemacs-canna/pkg/COMMENT (+1 lines)
Line 0 Link Here
1
XEmacs(version 21.1.8) text editor, with SJ3, SKK and Canna support.
(-)japanese/xemacs-canna/pkg/DESCR (+31 lines)
Line 0 Link Here
1
This is a package containing only the executables for XEmacs with
2
Mule(version 21.1.8), the next generation of Emacs.
3
4
You need to install a package, xemacs-common-21.1.8, containing emacs
5
lisp files, info pages, and so on (except executables) for
6
XEmacs with Mule(version 21.1.8).
7
8
This package is built with Japanese support by using SKK, SJ3, Canna,
9
Wnn4 or Wnn6 as an external input engine. Each input method would be
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
20
support several input methods under leim. 
21
22
This package and the package xemacs-common-21.1.8, might clobber any
23
existing emacs installation.  In particular, the executables and man
24
pages of etags/ctags are installed, and the info pages that come with
25
the original emacs will be overwritten too.
26
27
Although this shouldn't cause any problems to run both mule and emacs,
28
it may cause some confusion when one of them is pkg_delete'd.  If
29
someone has a solution to this, please tell me.
30
Or to avoid this problem, you could select prefix for top install
31
directory. By default it is pointed to the usual place, /usr/local.
(-)japanese/xemacs-canna+wnn4/pkg/COMMENT (-1 / +1 lines)
Line 1 Link Here
1
XEmacs text editor, with Canna, Wnn4, SJ3 and SKK support
1
XEmacs(version 21.1.8) text editor, with SJ3, SKK, Canna and Wnn4 support.
(-)japanese/xemacs-canna+wnn6/pkg/COMMENT (-1 / +1 lines)
Line 1 Link Here
1
XEmacs text editor, with Canna, Wnn6, SJ3 and SKK
1
XEmacs(version 21.1.8) text editor, with SJ3, SKK, Canna and Wnn6 support.
(-)japanese/xemacs-wnn4/pkg/COMMENT (-1 / +1 lines)
Line 1 Link Here
1
XEmacs text editor, with Wnn4, SJ3 and SKK
1
XEmacs(version 21.1.8) text editor, with SJ3, SKK and Wnn4 support.
(-)japanese/xemacs-wnn6/pkg/COMMENT (-1 / +1 lines)
Line 1 Link Here
1
XEmacs text editor, with Wnn6, SJ3 and SKK
1
XEmacs(version 21.1.8) text editor, with SJ3, SKK and Wnn6 support.
(-)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 15331