pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mutt add bin/mutt_dotlock to the PLIST if it is i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/470748696723
branches:  trunk
changeset: 461997:470748696723
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Sep 25 08:36:16 2003 +0000

description:
add bin/mutt_dotlock to the PLIST if it is installed.

as observed on Darwin.

diffstat:

 mail/mutt/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 146aa93459bd -r 470748696723 mail/mutt/Makefile
--- a/mail/mutt/Makefile        Thu Sep 25 08:27:40 2003 +0000
+++ b/mail/mutt/Makefile        Thu Sep 25 08:36:16 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.101 2003/09/16 15:12:51 agc Exp $
+# $NetBSD: Makefile,v 1.102 2003/09/25 08:36:16 grant Exp $
 
 DISTNAME=              mutt-1.4.1i
 PKGNAME=                ${DISTNAME:C/i$//}
@@ -73,6 +73,9 @@
 
 post-install:
        ${LN} -s ${EGDIR} ${PREFIX}/share/doc/mutt/samples
+       @if [ -f ${PREFIX}/bin/mutt_dotlock ]; then \
+               ${ECHO} "bin/mutt_dotlock" >> ${PLIST}; \
+       fi
 
 .include "../../converters/libiconv/buildlink2.mk"
 .include "../../devel/gettext-lib/buildlink2.mk"



Home | Main Index | Thread Index | Old Index