summaryrefslogtreecommitdiff
path: root/mail/mutt/Makefile
diff options
context:
space:
mode:
authorrillig <rillig>2006-05-22 07:00:55 +0000
committerrillig <rillig>2006-05-22 07:00:55 +0000
commit3f8c570e860c8d28dd3e21e40186abc549631243 (patch)
tree77d12a8ce135a4f326ebb71e105db22810a41d4d /mail/mutt/Makefile
parent248c463fe5170a133bfd480659f46e25b15f22ee (diff)
downloadpkgsrc-3f8c570e860c8d28dd3e21e40186abc549631243.tar.gz
Fixed some pkglint warnings.
Diffstat (limited to 'mail/mutt/Makefile')
-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"