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

(-)editors/xemacs21-mule/Makefile (-45 / +46 lines)
Lines 27-40 Link Here
27
27
28
MAINTAINER=	kiri@kiri.toba-cmt.ac.jp
28
MAINTAINER=	kiri@kiri.toba-cmt.ac.jp
29
29
30
BUILD_DEPENDS=	${PREFIX}/lib/xemacs/xemacs-packages/pkginfo/MANIFEST.xemacs-devel:${PORTSDIR}/editors/xemacs-packages \
30
BUILD_DEPENDS=	${LOCALBASE}/lib/xemacs/xemacs-packages/pkginfo/MANIFEST.xemacs-devel:${PORTSDIR}/editors/xemacs-packages \
31
		${PREFIX}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages \
31
		${LOCALBASE}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages \
32
		${BUILD_INPUT_METHOD}
32
		${BUILD_INPUT_METHOD}
33
.if defined(MULE_SLAVE)
33
.if defined(MULE_SLAVE)
34
RUN_DEPENDS=	${PREFIX}/lib/xemacs-${XEMACS_VER}/lisp/x-win-xfree86.elc:${PORTSDIR}/editors/xemacs${XEMACS_MAJOR_VER}-mule-common \
34
RUN_DEPENDS=	${LOCALBASE}/lib/xemacs-${XEMACS_VER}/lisp/x-win-xfree86.elc:${PORTSDIR}/editors/xemacs${XEMACS_MAJOR_VER}-mule-common \
35
		${PREFIX}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages
35
		${LOCALBASE}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages
36
.else
36
.else
37
RUN_DEPENDS=	${PREFIX}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages
37
RUN_DEPENDS=	${LOCALBASE}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages
38
.endif
38
.endif
39
LIB_DEPENDS=	compface.1:${PORTSDIR}/mail/faces \
39
LIB_DEPENDS=	compface.1:${PORTSDIR}/mail/faces \
40
		${LIB_INPUT_METHOD}
40
		${LIB_INPUT_METHOD}
Lines 70-75 Link Here
70
STRIP=
70
STRIP=
71
INSTALL_TARGET?=install-arch-dep
71
INSTALL_TARGET?=install-arch-dep
72
FILESDIR=	${.CURDIR}/../../editors/xemacs${XEMACS_MAJOR_VER}/files
72
FILESDIR=	${.CURDIR}/../../editors/xemacs${XEMACS_MAJOR_VER}/files
73
PATCHDIR=	${.CURDIR}/../../editors/xemacs${XEMACS_MAJOR_VER}/patches
73
PLIST?=		${PKGLDIR}/PLIST
74
PLIST?=		${PKGLDIR}/PLIST
74
75
75
XEMACS_MAJOR_VER?=	21
76
XEMACS_MAJOR_VER?=	21
Lines 104-148 Link Here
104
post-package:
105
post-package:
105
	@${TOUCH} ${TOUCH_FLAGS} ${PACKAGE_COOKIE}
106
	@${TOUCH} ${TOUCH_FLAGS} ${PACKAGE_COOKIE}
106
107
107
# for make DESCR and COMMENT (only maintainer use)
108
## for make DESCR and COMMENT (only maintainer use)
108
pre-arrange::
109
#pre-arrange::
109
	@${MKDIR} ${PKGDIR}
110
#	@${MKDIR} ${PKGDIR}
110
	@${ECHO} "${COMMENT_TEXT}" > ${COMMENT}
111
#	@${ECHO} "${COMMENT_TEXT}" > ${COMMENT}
111
.if (${PKGNAMEEXT} == "-canna") || (${PKGNAMEEXT} == "-mule") || (${PKGNAMEEXT} == "-mule-common")
112
#.if (${PKGNAMEEXT} == "-canna") || (${PKGNAMEEXT} == "-mule") || (${PKGNAMEEXT} == "-mule-common")
112
	@${SED} -e "s/%%XEMACS_VER%%/${XEMACS_VER}/g" \
113
#	@${SED} -e "s/%%XEMACS_VER%%/${XEMACS_VER}/g" \
113
		-e "s/%%XEMACS_REL%%/${XEMACS_REL}/g" \
114
#		-e "s/%%XEMACS_REL%%/${XEMACS_REL}/g" \
114
		-e "s/%%XEMACS_MAJOR_VER%%/${XEMACS_MAJOR_VER}/g" \
115
#		-e "s/%%XEMACS_MAJOR_VER%%/${XEMACS_MAJOR_VER}/g" \
115
		${DESCR_TMPL} > ${DESCR}
116
#		${DESCR_TMPL} > ${DESCR}
116
.endif
117
#.endif
117
	${CHOWN} kiri:staff ${COMMENT} ${DESCR}
118
#	${CHOWN} kiri:staff ${COMMENT} ${DESCR}
118
119
#
119
# for make PLIST (only maintainer use)
120
## for make PLIST (only maintainer use)
120
arrange::
121
#arrange::
121
.if (${PKGNAMEEXT} == "-mule")||(${PKGNAMEEXT} == "-mule-common")
122
#.if (${PKGNAMEEXT} == "-mule")||(${PKGNAMEEXT} == "-mule-common")
122
	${RM} -f ${PLIST}
123
#	${RM} -f ${PLIST}
123
.if (${PKGNAMEEXT} == "-mule")
124
#.if (${PKGNAMEEXT} == "-mule")
124
	${MAKE} DIRRM2RMDIRS="lib/xemacs/mule-packages/etc lib/xemacs/mule-packages lib/xemacs/mule-packages/etc/app-defaults" \
125
#	${MAKE} DIRRM2RMDIRS="lib/xemacs/mule-packages/etc lib/xemacs/mule-packages lib/xemacs/mule-packages/etc/app-defaults" \
125
		DIRRMDEPTH=2 plist
126
#		DIRRMDEPTH=2 plist
126
.endif
127
#.endif
127
.if (${PKGNAMEEXT} == "-mule-common")
128
#.if (${PKGNAMEEXT} == "-mule-common")
128
	${MAKE} DIRRM2RMDIRS="lib/xemacs-${XEMACS_VER} etc/rc.d" DIRRMDEPTH=1 plist
129
#	${MAKE} DIRRM2RMDIRS="lib/xemacs-${XEMACS_VER} etc/rc.d" DIRRMDEPTH=1 plist
129
.for dirp in site mule xemacs
130
#.for dirp in site mule xemacs
130
.for dir in etc info man pkginfo
131
#.for dir in etc info man pkginfo
131
	${ECHO} "@exec mkdir -p %D/lib/xemacs/${dirp}-packages/${dir}" >> ${PLIST}
132
#	${ECHO} "@exec mkdir -p %D/lib/xemacs/${dirp}-packages/${dir}" >> ${PLIST}
132
	${ECHO} "@unexec rmdir %D/lib/xemacs/${dirp}-packages/${dir} 2>/dev/null || true" >> ${PLIST}
133
#	${ECHO} "@unexec rmdir %D/lib/xemacs/${dirp}-packages/${dir} 2>/dev/null || true" >> ${PLIST}
133
.endfor
134
#.endfor
134
	${ECHO} "@unexec rmdir %D/lib/xemacs/${dirp}-packages 2>/dev/null || true" >> ${PLIST}
135
#	${ECHO} "@unexec rmdir %D/lib/xemacs/${dirp}-packages 2>/dev/null || true" >> ${PLIST}
135
.endfor
136
#.endfor
136
	${ECHO} "@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock" >> ${PLIST}
137
#	${ECHO} "@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock" >> ${PLIST}
137
.endif
138
#	${CAT} ${WRKPLIST} >> ${PLIST}
138
	${CAT} ${WRKPLIST} >> ${PLIST}
139
#	${CHOWN} kiri:staff ${PLIST}
139
	${CHOWN} kiri:staff ${PLIST}
140
#.endif
140
.endif
141
#.endif
141
142
#
142
.if (${PKGNAMEEXT} != "-mule-common")
143
#.if (${PKGNAMEEXT} != "-mule-common")
143
pre-plist:
144
#pre-plist:
144
	${MKDIR} ${PREFIX}/lib/xemacs/mule-packages/etc/app-defaults
145
#	@${ECHO} "===> pre-plist of ${PKGNAME}"
145
.endif
146
#	${MKDIR} ${PREFIX}/lib/xemacs/mule-packages/etc/app-defaults
146
147
#.endif
147
148
148
.include "${.CURDIR}/../../editors/xemacs${XEMACS_MAJOR_VER}/Makefile"
149
.include "${.CURDIR}/../../editors/xemacs${XEMACS_MAJOR_VER}/Makefile"
(-)editors/xemacs21-mule/pkg/DESCR (-2 / +2 lines)
Lines 1-9 Link Here
1
This is a package containing only the executables for XEmacs with
1
This is a package containing only the executables for XEmacs with
2
Mule(version 21.1.8), the next generation of Emacs.
2
Mule(version 21.1.9), the next generation of Emacs.
3
3
4
You need to install a package, xemacs-common-21.1, containing emacs
4
You need to install a package, xemacs-common-21.1, 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 with Mule(version 21.1.8).
6
XEmacs with Mule(version 21.1.9).
7
7
8
This package is not built with any particular language support except for
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
9
already built-in Imput Method - SKK and SJ3.  If you want other built-in
(-)editors/xemacs21-mule/pkg/PLIST (-1 lines)
Lines 5-11 Link Here
5
bin/gnuclient
5
bin/gnuclient
6
bin/gnudoit
6
bin/gnudoit
7
bin/ootags
7
bin/ootags
8
bin/pstogif
9
bin/rcs-checkin
8
bin/rcs-checkin
10
bin/xemacs
9
bin/xemacs
11
bin/xemacs-%%XEMACS_VER%%
10
bin/xemacs-%%XEMACS_VER%%
(-)editors/xemacs21-mule-common/Makefile (-6 / +6 lines)
Lines 84-94 Link Here
84
	fi
84
	fi
85
	@${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE}
85
	@${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE}
86
86
87
# for make DESCR and COMMENT (only maintainer use)
87
## for make DESCR and COMMENT (only maintainer use)
88
pre-arrange::
88
#pre-arrange::
89
	${SED}  -e "s/%%XEMACS_VER%%/${XEMACS_VER}/g" \
89
#	${SED}  -e "s/%%XEMACS_VER%%/${XEMACS_VER}/g" \
90
		-e "s/%%XEMACS_REL%%/${XEMACS_REL}/g" \
90
#		-e "s/%%XEMACS_REL%%/${XEMACS_REL}/g" \
91
		${INSTALL_TMPL} > ${PKGINSTALL}
91
#		${INSTALL_TMPL} > ${PKGINSTALL}
92
	${CHOWN} kiri:staff ${PKGINSTALL}
92
#	${CHOWN} kiri:staff ${PKGINSTALL}
93
93
94
.include "${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-mule/Makefile"
94
.include "${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-mule/Makefile"
(-)editors/xemacs21-mule-common/pkg/DESCR (-2 / +2 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 with Mule(version 21.1.8), the next generation of Emacs. 
2
for XEmacs with Mule(version 21.1.9), the next generation of Emacs. 
3
3
4
You must install one of packages, xemacs-mule-21.1,
4
You must install one of packages, xemacs-mule-21.1,
5
ja-xemacs-*-21.1 (ja-xemacs-canna-21.1, ja-xemacs-canna+wnn4-21.1, etc.),
5
ja-xemacs-*-21.1 (ja-xemacs-canna-21.1, ja-xemacs-canna+wnn4-21.1, etc.),
6
each of which contains only the executables for XEmacs with Mule(vresion 21.1.8).
6
each of which contains only the executables for XEmacs with Mule(vresion 21.1.9).
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/xemacs21-mule-common/pkg/INSTALL (-1 / +1 lines)
Lines 3-7 Link Here
3
echo "################################################################"
3
echo "################################################################"
4
echo "You must install one of packages, xemacs-mule and "
4
echo "You must install one of packages, xemacs-mule and "
5
echo " ja-xemacs-*-21.1 (ja-xemacs-21.1, ja-xemacs-canna-21.1, etc.)"
5
echo " ja-xemacs-*-21.1 (ja-xemacs-21.1, ja-xemacs-canna-21.1, etc.)"
6
echo ", each of which contains only the executables for XEmacs(version 21.1.8)"
6
echo ", each of which contains only the executables for XEmacs(version 21.1.9)"
7
echo "################################################################"
7
echo "################################################################"
(-)japanese/xemacs21-canna/pkg/DESCR (-2 / +2 lines)
Lines 1-9 Link Here
1
This is a package containing only the executables for XEmacs with
1
This is a package containing only the executables for XEmacs with
2
Mule(version 21.1.8), the next generation of Emacs.
2
Mule(version 21.1.9), the next generation of Emacs.
3
3
4
You need to install a package, xemacs-common-21.1, containing emacs
4
You need to install a package, xemacs-common-21.1, 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 with Mule(version 21.1.8).
6
XEmacs with Mule(version 21.1.9).
7
7
8
This package is built with Japanese support by using SKK, SJ3, Canna,
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
9
Wnn4 or Wnn6 as an external input engine. Each input method would be

Return to bug 16743