summaryrefslogtreecommitdiff
path: root/mail/fetchmail
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2008-01-05 20:50:00 +0000
committerheinz <heinz@pkgsrc.org>2008-01-05 20:50:00 +0000
commit0a1dcf6b81174830a456273c1828a439153261a0 (patch)
tree80a5769979db82737dab281668a65c0051409784 /mail/fetchmail
parent53adcee35b4f64e8a3603d89c65115cf2c16602b (diff)
downloadpkgsrc-0a1dcf6b81174830a456273c1828a439153261a0.tar.gz
Added support for installation to DESTDIR.
Diffstat (limited to 'mail/fetchmail')
-rw-r--r--mail/fetchmail/Makefile7
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"