summaryrefslogtreecommitdiff
path: root/mail/mutt
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 /mail/mutt
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 'mail/mutt')
-rw-r--r--mail/mutt/Makefile7
-rw-r--r--mail/mutt/PLIST4
2 files changed, 5 insertions, 6 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 62eaa0252a1..317d2026372 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.155 2008/02/22 00:36:12 gdt Exp $
+# $NetBSD: Makefile,v 1.156 2008/04/12 22:43:04 jlam Exp $
DISTNAME= mutt-1.4.2.3
PKGREVISION= 2
@@ -86,10 +86,9 @@ FILES_SUBST+= DOCDIR=${DOCDIR:Q}
INSTALL_MAKE_FLAGS+= ${MAKE_FLAGS} sysconfdir=${EGDIR:Q}
+PLIST_VARS+= dotlock
.if exists(${WRKSRC}/mutt_dotlock)
-PLIST_SUBST+= MUTT_DOTLOCK=
-.else
-PLIST_SUBST+= MUTT_DOTLOCK="@comment "
+PLIST.dotlock= yes
.endif
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
diff --git a/mail/mutt/PLIST b/mail/mutt/PLIST
index 9ad5b1d4517..4cd31228a82 100644
--- a/mail/mutt/PLIST
+++ b/mail/mutt/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.12 2006/06/20 09:14:46 tron Exp $
+@comment $NetBSD: PLIST,v 1.13 2008/04/12 22:43:04 jlam Exp $
bin/flea
bin/mutt
bin/muttbug
-${MUTT_DOTLOCK}bin/mutt_dotlock
+${PLIST.dotlock}bin/mutt_dotlock
bin/pgpewrap
bin/pgpring
man/man1/flea.1