pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/fetchmail Install files one by one to workaround ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5e79b9f7bb6
branches:  trunk
changeset: 471784:e5e79b9f7bb6
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Mar 31 02:25:11 2004 +0000

description:
Install files one by one to workaround more feeble install programs.

diffstat:

 mail/fetchmail/Makefile |  17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r 945164094355 -r e5e79b9f7bb6 mail/fetchmail/Makefile
--- a/mail/fetchmail/Makefile   Wed Mar 31 02:22:04 2004 +0000
+++ b/mail/fetchmail/Makefile   Wed Mar 31 02:25:11 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.140 2004/03/31 02:22:04 jlam Exp $
+# $NetBSD: Makefile,v 1.141 2004/03/31 02:25:11 jlam Exp $
 
 DISTNAME=      fetchmail-6.2.5
 PKGREVISION=   2
@@ -49,7 +49,7 @@
 CONFIGURE_ARGS+=       --enable-inet6
 .endif
 
-FDOC=          ${PREFIX}/share/doc/fetchmail
+DOCDIR=                ${PREFIX}/share/doc/fetchmail
 RCD_SCRIPTS=   fetchmail
 
 post-extract:
@@ -76,11 +76,14 @@
        done
 
 post-install:
-       ${INSTALL_DATA_DIR} ${FDOC}
-       cd ${WRKSRC} && ${INSTALL_DATA} \
-          FAQ NOTES FEATURES README COPYING \
-          fetchmail-FAQ.html fetchmail-features.html \
-          design-notes.html ${FDOC}
+       ${INSTALL_DATA_DIR} ${DOCDIR}
+       cd ${WRKSRC}; for file in                                       \
+               FAQ NOTES FEATURES README COPYING                       \
+               fetchmail-FAQ.html fetchmail-features.html              \
+               design-notes.html;                                      \
+       do                                                              \
+               ${INSTALL_DATA} $$file ${DOCDIR};                       \
+       done
 
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index