summaryrefslogtreecommitdiff
path: root/devel/pilrc
diff options
context:
space:
mode:
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