aboutsummaryrefslogtreecommitdiff
path: root/japanese/emacs-emcws/Makefile
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-02-16 05:19:12 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-02-16 05:19:12 +0000
commitb61e91a310bb54ace9027ecd53bacd684c560b82 (patch)
treeab5e44023c808b89eff34b134704d40f490a6dde /japanese/emacs-emcws/Makefile
parent6ed054fabf2e97bd9fb6a0149df06a5acb08ae87 (diff)
downloadports-b61e91a310bb54ace9027ecd53bacd684c560b82.tar.gz
ports-b61e91a310bb54ace9027ecd53bacd684c560b82.zip
Notes
Diffstat (limited to 'japanese/emacs-emcws/Makefile')
-rw-r--r--japanese/emacs-emcws/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/japanese/emacs-emcws/Makefile b/japanese/emacs-emcws/Makefile
index e3eb6a20fa46..e38af331ee5d 100644
--- a/japanese/emacs-emcws/Makefile
+++ b/japanese/emacs-emcws/Makefile
@@ -7,7 +7,7 @@
PORTNAME= emcws
PORTVERSION= 21.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= emacs
@@ -31,7 +31,8 @@ USE_GMAKE= YES
EMACS_VER= 21.2
# Change these as you like.
-WITH_WNN6?= YES
+WITH_WNN6?= NO
+WITH_WNN7?= YES
WITH_FREEWNN?= NO
WITH_CANNA?= YES
WITH_SJ3?= NO
@@ -51,6 +52,12 @@ CONFIGURE_ARGS+=--with-wnn --with-wnn-includes=${LOCALBASE}/include/wnn6/wnn \
LIB_DEPENDS+= wnn6.2:${PORTSDIR}/japanese/Wnn6-lib
.endif
+.if (${WITH_WNN7} == "yes" || ${WITH_WNN7} == "YES")
+CONFIGURE_ARGS+=--with-wnn --with-wnn-includes=${LOCALBASE}/include/wnn7/wnn \
+ --with-wnn-libraries=${LOCALBASE}/lib/libwnn7.so
+LIB_DEPENDS+= wnn7.1:${PORTSDIR}/japanese/Wnn7-lib
+.endif
+
.if (${WITH_FREEWNN} == "yes" || ${WITH_FREEWNN} == "YES")
CONFIGURE_ARGS+=--with-wnn --with-wnn-includes=${LOCALBASE}/include/wnn \
--with-wnn-libraries=${LOCALBASE}/lib/libwnn.so
@@ -93,7 +100,7 @@ EMCWS_ELCS= busyu.el \
wnn-client.el \
wnn-egg.el
-.if (${WITH_WNN6} == "yes" || ${WITH_WNN6} == "YES") || (${WITH_FREEWNN} == "yes" || ${WITH_FREEWNN} == "YES")
+.if (${WITH_WNN6} == "yes" || ${WITH_WNN6} == "YES") || (${WITH_WNN7} == "yes" || ${WITH_WNN7} == "YES") || (${WITH_FREEWNN} == "yes" || ${WITH_FREEWNN} == "YES")
EMCWS_ELCS+= egg.elc \
wnn-egg.elc
PLIST_SUB+= WITH_WNN=""