aboutsummaryrefslogtreecommitdiff
path: root/japanese/xemacs21-canna
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-24 10:53:40 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-24 10:53:40 +0000
commit5d0b8890005b5403ac4370572167e00703901184 (patch)
tree9438b5c03e692fadb454fcf5b7dcb26b8a2c6187 /japanese/xemacs21-canna
parent426c50095ed864771463ea9edfe0b7ed911c170b (diff)
downloadports-5d0b8890005b5403ac4370572167e00703901184.tar.gz
ports-5d0b8890005b5403ac4370572167e00703901184.zip
Enable XIM support by default.
Reflect Wnn4 -> FreeWnn change. Fix build problems. PR: ports/21549 Submitted by: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
Notes
Notes: svn path=/head/; revision=34176
Diffstat (limited to 'japanese/xemacs21-canna')
-rw-r--r--japanese/xemacs21-canna/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/japanese/xemacs21-canna/Makefile b/japanese/xemacs21-canna/Makefile
index 5a2a91aaa6de..a48e004a3abb 100644
--- a/japanese/xemacs21-canna/Makefile
+++ b/japanese/xemacs21-canna/Makefile
@@ -18,7 +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)
+# WITH_XIM : X Input Method(configure arguments), xlib or motif
CATEGORIES= japanese
@@ -31,27 +31,27 @@ XEMACS_MAJOR_VER?= 21
DESCR_TMPL= ${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/files/DESCR.tmpl
.if defined(CANNA) && defined(FREEWNN)
PKGNAMESUFFIX= -canna+freewnn
-SITE_INCLUDES= ${LOCALBASE}/include/wnn
WITH_INPUT_METHOD= --with-canna --with-wnn --with-wnn6=no
LIB_INPUT_METHOD= canna.1:${PORTSDIR}/japanese/Canna \
wnn.0:${PORTSDIR}/japanese/FreeWnn-lib
COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK, Canna and FreeWnn support
.elif defined(CANNA) && defined(WNN6)
PKGNAMESUFFIX= -canna+wnn6
+SITE_INCLUDES= ${LOCALBASE}/include/wnn6
WITH_INPUT_METHOD= --with-canna --with-wnn6
-LIB_INPUT_METHOD= canna.1:${PORTSDIR}/japanese/Canna
-BUILD_INPUT_METHOD= ${PREFIX}/include/wnn/jlib.h:${PORTSDIR}/japanese/Wnn6-lib
+LIB_INPUT_METHOD= canna.1:${PORTSDIR}/japanese/Canna \
+ wnn6.1:${PORTSDIR}/japanese/Wnn6-lib
COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK, Canna and Wnn6 support
.elif defined(FREEWNN)
PKGNAMESUFFIX= -freewnn
-SITE_INCLUDES= ${LOCALBASE}/include/wnn
WITH_INPUT_METHOD= --with-wnn --with-canna=no --with-wnn6=no
LIB_INPUT_METHOD= wnn.0:${PORTSDIR}/japanese/FreeWnn-lib
COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK and FreeWnn support
.elif defined(WNN6)
PKGNAMESUFFIX= -wnn6
+SITE_INCLUDES= ${LOCALBASE}/include/wnn6
WITH_INPUT_METHOD= --with-wnn6 --with-canna=no
-BUILD_INPUT_METHOD= ${PREFIX}/include/wnn/jlib.h:${PORTSDIR}/japanese/Wnn6-lib
+LIB_INPUT_METHOD= wnn6.1:${PORTSDIR}/japanese/Wnn6-lib
COMMENT_TEXT= XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK and Wnn6 support
.else
PKGNAMESUFFIX= -canna
@@ -60,9 +60,6 @@ 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