diff options
author | heinz <heinz@pkgsrc.org> | 2008-01-05 20:50:00 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-01-05 20:50:00 +0000 |
commit | b7df681319181539401cdd95e25b8584d8905400 (patch) | |
tree | 80a5769979db82737dab281668a65c0051409784 /mail | |
parent | b70964070ce36a121b88f0f80b45272424e1070e (diff) | |
download | pkgsrc-b7df681319181539401cdd95e25b8584d8905400.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/fetchmail/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile index 6351e4bf297..74dffe40427 100644 --- a/mail/fetchmail/Makefile +++ b/mail/fetchmail/Makefile @@ -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 @@ MAINTAINER= frueauf@NetBSD.org 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 @@ post-build: 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" |