1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Add a knob for XIM support. (WITH_XIM)

Approved by:	KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp> (MAINTAINER)
This commit is contained in:
Akinori MUSHA 2000-09-07 08:01:29 +00:00
parent fc5d55277e
commit 56fbcce3ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32375
3 changed files with 8 additions and 1 deletions

View File

@ -18,6 +18,7 @@
# WITH_INPUT_METHOD : input methods(configure arguments)
# LIB_INPUT_METHOD : LIB_DEPENDS list of Input Methods
# BUILD_INPUT_METHOD: BUILD_DEPENDS list of Input Methods
# WITH_XIM : X Input Method(configure arguments)
XEMACS_MAJOR_VER= 21

View File

@ -17,6 +17,7 @@
# WITH_INPUT_METHOD : input methods(configure arguments)
# LIB_INPUT_METHOD : LIB_DEPENDS list of Input Methods
# BUILD_INPUT_METHOD: BUILD_DEPENDS list of Input Methods
# WITH_XIM : X Input Method(configure arguments)
.if !defined(MULE_SLAVE) && !defined(MULE_COMMON)
MULE_SLAVE= yes
@ -38,7 +39,7 @@ LIB_DEPENDS= compface.1:${PORTSDIR}/mail/faces \
CONFIGURE_ARGS?=${XEMACS_ARCH} \
--prefix=${PREFIX} \
--with-x11 \
--with-xim=no \
--with-xim=${WITH_XIM} \
--with-mule \
--x-includes=${X11BASE}/include \
--x-libraries=${X11BASE}/lib \
@ -82,6 +83,7 @@ SITE_INCLUDES+= ${PREFIX}/include
SITE_LIBRARIES+= ${PREFIX}/lib
WITH_INPUT_METHOD?= --with-canna=no --with-wnn=no --with-wnn6=no
.endif
WITH_XIM?= no
.if defined(MULE_SLAVE)
pre-build:

View File

@ -18,6 +18,7 @@
# WITH_INPUT_METHOD : input methods(configure arguments)
# LIB_INPUT_METHOD : LIB_DEPENDS list of Input Methods
# BUILD_INPUT_METHOD: BUILD_DEPENDS list of Input Methods
# WITH_XIM : X Input Method(configure arguments)
CATEGORIES= japanese
@ -61,6 +62,9 @@ LIB_INPUT_METHOD= canna.1:${PORTSDIR}/japanese/Canna
COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK and Canna support
.endif
# If you need XIM support, set this to "xlib" or "motif".
WITH_XIM?= no
post-install::
@${MKDIR} ${PREFIX}/man/ja/man1
@${INSTALL_MAN} ${WRKSRC}/etc/xemacs-ja.1 ${PREFIX}/man/ja/man1