summaryrefslogtreecommitdiff
path: root/mail/mutt-devel/Makefile
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-devel/Makefile
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-devel/Makefile')
-rw-r--r--mail/mutt-devel/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index bab2a55d31a..914be853834 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.66 2008/02/22 01:16:58 gdt Exp $
+# $NetBSD: Makefile,v 1.67 2008/04/12 22:43:03 jlam Exp $
DISTNAME= mutt-1.5.17
PKGREVISION= 5
@@ -60,10 +60,9 @@ INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
# Define WRKSRC explicitly so we can use its value below.
WRKSRC= ${WRKDIR}/${DISTNAME}
+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}