summaryrefslogtreecommitdiff
path: root/x11/mlterm
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-12 22:42:57 +0000
committerjlam <jlam>2008-04-12 22:42:57 +0000
commit84db467ec7c8386066718011f8d47775d5608811 (patch)
treefdd67c81079412bf94013749a954125434a9baca /x11/mlterm
parent7082f8c2044621c8641f3c82a2da95c2d442048c (diff)
downloadpkgsrc-84db467ec7c8386066718011f8d47775d5608811.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'x11/mlterm')
-rw-r--r--x11/mlterm/PLIST4
-rw-r--r--x11/mlterm/options.mk7
2 files changed, 5 insertions, 6 deletions
diff --git a/x11/mlterm/PLIST b/x11/mlterm/PLIST
index ef99d9e6bc0..ed5c37de1ae 100644
--- a/x11/mlterm/PLIST
+++ b/x11/mlterm/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2006/12/19 07:53:57 wiz Exp $
+@comment $NetBSD: PLIST,v 1.19 2008/04/12 22:43:14 jlam Exp $
bin/mlcc
bin/mlclient
bin/mlterm
@@ -6,7 +6,7 @@ lib/libkik.la
lib/libmkf.la
lib/mlterm/libathena.la
lib/mlterm/libim-kbd.la
-${UIM}lib/mlterm/libim-uim.la
+${PLIST.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
index 17c9311e275..1786a6ded5a 100644
--- a/x11/mlterm/options.mk
+++ b/x11/mlterm/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2007/01/13 12:11:13 hira Exp $
+# $NetBSD: options.mk,v 1.3 2008/04/12 22:43:14 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mlterm
PKG_SUPPORTED_OPTIONS= uim xft2
@@ -6,12 +6,11 @@ PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= uim
.if !empty(PKG_OPTIONS:Muim)
.include "../../inputmethod/uim/buildlink3.mk"
CONFIGURE_ARGS+= --enable-uim
-PLIST_SUBST+= UIM=
-.else
-PLIST_SUBST+= UIM="@comment "
+PLIST.uim= yes
.endif
.if !empty(PKG_OPTIONS:Mxft2)