aboutsummaryrefslogtreecommitdiff
path: root/japanese/uim-prime
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/uim-prime')
-rw-r--r--japanese/uim-prime/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/japanese/uim-prime/Makefile b/japanese/uim-prime/Makefile
index 21a1f0c5cf09..62df9409e63d 100644
--- a/japanese/uim-prime/Makefile
+++ b/japanese/uim-prime/Makefile
@@ -6,7 +6,11 @@
#
CATEGORIES= japanese
+.if defined(WITHOUT_X11)
+PKGNAMESUFFIX= -prime-nox11
+.else
PKGNAMESUFFIX= -prime
+.endif
COMMENT= Uim plugin using PRIME input method
@@ -30,6 +34,10 @@ do-install:
${GMAKE} uim_plugin_LTLIBRARIES=libuim-prime.la install-uim_pluginLTLIBRARIES)
post-install:
- ${X11BASE}/bin/uim-module-manager --register prime
+.if defined(WITHOUT_X11)
+ ${LOCALBASE}/bin/uim-module-manager --register anthy
+.else
+ ${X11BASE}/bin/uim-module-manager --register anthy
+.endif
.include "${MASTERDIR}/Makefile"