summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-09-07 08:01:29 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-09-07 08:01:29 +0000
commit56fbcce3ff6e2c9d1f6a27a914399971154e6488 (patch)
treea5452217575a9bb88b21cee3985fede6eafd7390
parentUpdate with bsd.ruby.mk. (diff)
Add a knob for XIM support. (WITH_XIM)
Approved by: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp> (MAINTAINER)
Notes
Notes: svn path=/head/; revision=32375
Diffstat (limited to '')
-rw-r--r--editors/xemacs21-mule-common/Makefile1
-rw-r--r--editors/xemacs21-mule/Makefile4
-rw-r--r--japanese/xemacs21-canna/Makefile4
3 files changed, 8 insertions, 1 deletions
diff --git a/editors/xemacs21-mule-common/Makefile b/editors/xemacs21-mule-common/Makefile
index be3507a67dcb..41ebaba625a7 100644
--- a/editors/xemacs21-mule-common/Makefile
+++ b/editors/xemacs21-mule-common/Makefile
@@ -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
diff --git a/editors/xemacs21-mule/Makefile b/editors/xemacs21-mule/Makefile
index 81d11f33cc44..bb8189d5445a 100644
--- a/editors/xemacs21-mule/Makefile
+++ b/editors/xemacs21-mule/Makefile
@@ -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:
diff --git a/japanese/xemacs21-canna/Makefile b/japanese/xemacs21-canna/Makefile
index faf0463c9de3..d73451a414f5 100644
--- a/japanese/xemacs21-canna/Makefile
+++ b/japanese/xemacs21-canna/Makefile
@@ -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