summaryrefslogtreecommitdiff
path: root/mail/mutt
diff options
context:
space:
mode:
authorrillig <rillig>2006-05-22 07:00:55 +0000
committerrillig <rillig>2006-05-22 07:00:55 +0000
commit1cefedf0fcbd026507a58350238226226372ab12 (patch)
tree77d12a8ce135a4f326ebb71e105db22810a41d4d /mail/mutt
parentf7aff9552cc0650363ce43e4a9681164ef0bede0 (diff)
downloadpkgsrc-1cefedf0fcbd026507a58350238226226372ab12.tar.gz
Fixed some pkglint warnings.
Diffstat (limited to 'mail/mutt')
-rw-r--r--mail/mutt/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index d0e0cbb724a..d36c499eade 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.139 2006/04/13 18:23:35 jlam Exp $
+# $NetBSD: Makefile,v 1.140 2006/05/22 07:00:55 rillig Exp $
DISTNAME= mutt-1.4.2.1i
PKGNAME= ${DISTNAME:C/i$//}
@@ -97,9 +97,8 @@ post-install:
.if (${PKG_INSTALLATION_TYPE} == "pkgviews")
${MV} ${PREFIX}/man/man5/mutt-mbox.5 ${PREFIX}/man/man5/mbox.5
.endif
- @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
- @if [ -f ${PREFIX}/bin/mutt_dotlock ]; then \
- ${ECHO} "bin/mutt_dotlock" >> ${PLIST_SRC}; \
- fi
+ ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ ${TEST} ! -f ${PREFIX}/bin/mutt_dotlock \
+ || ${ECHO} "bin/mutt_dotlock" >> ${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"