aboutsummaryrefslogtreecommitdiff
path: root/japanese/uim-prime
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-prime
parent5301980440194d119d187371ae8a73c50e18b9b3 (diff)
downloadports-a25a39a9fa1e9c7ea07a08578930e3216a0f0b4d.tar.gz
ports-a25a39a9fa1e9c7ea07a08578930e3216a0f0b4d.zip
Add WITHOUT_X11 knob.
Notes
Notes: svn path=/head/; revision=167319
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"