diff options
author | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
commit | 84db467ec7c8386066718011f8d47775d5608811 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /devel/pilrc | |
parent | 7082f8c2044621c8641f3c82a2da95c2d442048c (diff) | |
download | pkgsrc-84db467ec7c8386066718011f8d47775d5608811.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/Makefile | 9 | ||||
-rw-r--r-- | devel/pilrc/PLIST | 4 |
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 |