pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/fetchmail Added support for installation to DESTDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c8bd6b2fcf3
branches:  trunk
changeset: 537273:7c8bd6b2fcf3
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sat Jan 05 20:50:00 2008 +0000

description:
Added support for installation to DESTDIR.

diffstat:

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

diffs (33 lines):

diff -r 4154bf413582 -r 7c8bd6b2fcf3 mail/fetchmail/Makefile
--- a/mail/fetchmail/Makefile   Sat Jan 05 20:45:59 2008 +0000
+++ b/mail/fetchmail/Makefile   Sat Jan 05 20:50:00 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.163 2007/09/23 12:48:46 tron Exp $
+# $NetBSD: Makefile,v 1.164 2008/01/05 20:50:00 heinz Exp $
 
 DISTNAME=      fetchmail-6.3.8
 PKGREVISION=   1
@@ -11,6 +11,7 @@
 HOMEPAGE=      http://fetchmail.berlios.de/
 COMMENT=       Batch mail retrieval/forwarding utility for pop2, pop3, apop, imap
 
+PKG_DESTDIR_SUPPORT=   user-destdir
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 .include "../../mk/bsd.prefs.mk"
@@ -58,13 +59,13 @@
        done
 
 post-install:
-       ${INSTALL_DATA_DIR} ${DOCDIR}
+       ${INSTALL_DATA_DIR} ${DESTDIR}${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};                       \
+               ${INSTALL_DATA} $$file ${DESTDIR}${DOCDIR};             \
        done
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index