summaryrefslogtreecommitdiff
path: root/x11/mlterm
diff options
context:
space:
mode:
authorhira <hira>2006-11-12 15:13:56 +0000
committerhira <hira>2006-11-12 15:13:56 +0000
commit2818fa821e0a2eb16a3aed03d6571b8ab6caf4e0 (patch)
tree031e422c57de60803f7ae8fcfab58fd49bfcac53 /x11/mlterm
parente106a5a3d4173d219d966e498a0db80954339272 (diff)
downloadpkgsrc-2818fa821e0a2eb16a3aed03d6571b8ab6caf4e0.tar.gz
Add `uim' option, requested by Yamashiro, Jun <yamajun at ofug dot net>
in PR pkg/34596. It's disabled by default.
Diffstat (limited to 'x11/mlterm')
-rw-r--r--x11/mlterm/Makefile4
-rw-r--r--x11/mlterm/PLIST3
-rw-r--r--x11/mlterm/options.mk15
3 files changed, 20 insertions, 2 deletions
diff --git a/x11/mlterm/Makefile b/x11/mlterm/Makefile
index 4729da893a8..3561b3f064e 100644
--- a/x11/mlterm/Makefile
+++ b/x11/mlterm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2006/06/12 10:37:24 hira Exp $
+# $NetBSD: Makefile,v 1.46 2006/11/12 15:13:56 hira Exp $
DISTNAME= mlterm-2.9.2
PKGREVISION= 4
@@ -32,6 +32,8 @@ CONFIGURE_ARGS+= --without-libiconv-prefix
CONFIGURE_ARGS+= --without-libintl-prefix
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE:Q}
+.include "options.mk"
+
SUBST_CLASSES+= link
SUBST_MESSAGE.link= Fixing hardcoded paths and link options.
SUBST_STAGE.link= post-patch
diff --git a/x11/mlterm/PLIST b/x11/mlterm/PLIST
index 7432e35c021..703a66226c0 100644
--- a/x11/mlterm/PLIST
+++ b/x11/mlterm/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2006/04/17 07:07:49 jlam Exp $
+@comment $NetBSD: PLIST,v 1.17 2006/11/12 15:13:56 hira Exp $
bin/mlcc
bin/mlclient
bin/mlterm
@@ -6,6 +6,7 @@ lib/libkik.la
lib/libmkf.la
lib/mlterm/libathena.la
lib/mlterm/libim-kbd.la
+${UIM}lib/mlterm/libim-uim.la
lib/mlterm/libmotif.la
lib/mlterm/libmozmodern.la
lib/mlterm/libnext.la
diff --git a/x11/mlterm/options.mk b/x11/mlterm/options.mk
new file mode 100644
index 00000000000..ec96d367ce1
--- /dev/null
+++ b/x11/mlterm/options.mk
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.1 2006/11/12 15:13:56 hira Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.mlterm
+PKG_SUPPORTED_OPTIONS= uim
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Muim)
+.include "../../inputmethod/uim/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-uim
+PLIST_SUBST+= UIM=
+.else
+PLIST_SUBST+= UIM="@comment "
+.endif