summaryrefslogtreecommitdiff
path: root/devel/pilrc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /devel/pilrc
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'devel/pilrc')
-rw-r--r--devel/pilrc/Makefile9
-rw-r--r--devel/pilrc/PLIST4
2 files changed, 6 insertions, 7 deletions
diff --git a/devel/pilrc/Makefile b/devel/pilrc/Makefile
index 46426dffd31..d7e5b7f0909 100644
--- a/devel/pilrc/Makefile
+++ b/devel/pilrc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2006/03/04 21:29:26 jlam Exp $
+# $NetBSD: Makefile,v 1.31 2008/04/12 22:43:00 jlam Exp $
#
DISTNAME= pilrc-3.2
@@ -27,12 +27,11 @@ PKG_SUGGESTED_OPTIONS= gtk
###
### gtk -- Build the GTK+ UI
###
+PLIST_VARS+= pilrcui
.if !empty(PKG_OPTIONS:Mgtk)
. include "../../x11/gtk/buildlink3.mk"
-PLIST_SUBST+= PILRCUI=
-CONFIGURE_ARGS+=--enable-pilrcui
-.else
-PLIST_SUBST+= PILRCUI="@comment "
+PLIST.pilrcui= yes
+CONFIGURE_ARGS+= --enable-pilrcui
.endif
post-install:
diff --git a/devel/pilrc/PLIST b/devel/pilrc/PLIST
index bd8b04435fc..dc0672f9589 100644
--- a/devel/pilrc/PLIST
+++ b/devel/pilrc/PLIST
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 2005/05/26 10:22:47 dillo Exp $
+@comment $NetBSD: PLIST,v 1.3 2008/04/12 22:43:00 jlam Exp $
bin/pilrc
-${PILRCUI}bin/pilrcui
+${PLIST.pilrcui}bin/pilrcui
share/doc/html/pilrc/archive.html
share/doc/html/pilrc/contrib.html
share/doc/html/pilrc/download.html