aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/uim-prime
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2006-07-10 10:06:29 +0800
committernobutaka <nobutaka@FreeBSD.org>2006-07-10 10:06:29 +0800
commit16e40d943876da54b3e986b29edb9993f2560002 (patch)
tree5c7c311d068d4cac9ef4b0aa0090bc6e3f86b5fc /japanese/uim-prime
parentf4fdf64e5b6729724d0e2d689e0eb8705d23d098 (diff)
downloadfreebsd-ports-gnome-16e40d943876da54b3e986b29edb9993f2560002.tar.gz
freebsd-ports-gnome-16e40d943876da54b3e986b29edb9993f2560002.tar.zst
freebsd-ports-gnome-16e40d943876da54b3e986b29edb9993f2560002.zip
Add WITHOUT_X11 knob.
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"