aboutsummaryrefslogtreecommitdiff
path: root/japanese/uim-canna
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2006-07-10 02:06:29 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2006-07-10 02:06:29 +0000
commita25a39a9fa1e9c7ea07a08578930e3216a0f0b4d (patch)
tree554415409e51a32cce7a8ae6bfe0528b7e3163ed /japanese/uim-canna
parent5301980440194d119d187371ae8a73c50e18b9b3 (diff)
Notes
Diffstat (limited to 'japanese/uim-canna')
-rw-r--r--japanese/uim-canna/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/japanese/uim-canna/Makefile b/japanese/uim-canna/Makefile
index 1b5ea55a452c..c7ef0158f2cd 100644
--- a/japanese/uim-canna/Makefile
+++ b/japanese/uim-canna/Makefile
@@ -6,7 +6,11 @@
#
CATEGORIES= japanese
+.if defined(WITHOUT_X11)
+PKGNAMESUFFIX= -canna-nox11
+.else
PKGNAMESUFFIX= -canna
+.endif
COMMENT= Uim plugin using Canna input method
@@ -29,6 +33,10 @@ do-install:
${GMAKE} uim_plugin_LTLIBRARIES=libuim-canna.la install-uim_pluginLTLIBRARIES)
post-install:
- ${X11BASE}/bin/uim-module-manager --register canna
+.if defined(WITHOUT_X11)
+ ${LOCALBASE}/bin/uim-module-manager --register anthy
+.else
+ ${X11BASE}/bin/uim-module-manager --register anthy
+.endif
.include "${MASTERDIR}/Makefile"