diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-04 02:31:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-04 02:31:29 +0000 |
commit | bc5e38767d131e2f4488a4a8353c1e619cb6ced2 (patch) | |
tree | 87809cbb157a633cf256f8b100cb8fa1dfb4e8c7 /mail/offlineimap | |
parent | 0afdd75f94fc654ca7ee21500eec5076a810cceb (diff) | |
download | pkgsrc-bc5e38767d131e2f4488a4a8353c1e619cb6ced2.tar.gz |
DESTDIR support
Diffstat (limited to 'mail/offlineimap')
-rw-r--r-- | mail/offlineimap/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/offlineimap/Makefile b/mail/offlineimap/Makefile index f6def18c8cb..7d8ecd67923 100644 --- a/mail/offlineimap/Makefile +++ b/mail/offlineimap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2008/04/25 20:39:10 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2010/02/04 02:36:28 joerg Exp $ # DISTNAME= offlineimap_${_OFFLINEIMAP_VER} @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://software.complete.org/offlineimap COMMENT= Powerful IMAP/Maildir synchronization and reader support +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/offlineimap # This is only to placate pkglint @@ -23,9 +25,9 @@ INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/examples/offlineimap post-install: .for _f_ in offlineimap.conf offlineimap.conf.minimal - ${INSTALL_DATA} ${WRKSRC}/${_f_} ${PREFIX}/share/examples/offlineimap/${_f_} + ${INSTALL_DATA} ${WRKSRC}/${_f_} ${DESTDIR}${PREFIX}/share/examples/offlineimap/${_f_} .endfor - ${INSTALL_MAN} ${WRKSRC}/offlineimap.1 ${PREFIX}/${PKGMANDIR}/man1/offlineimap.1 + ${INSTALL_MAN} ${WRKSRC}/offlineimap.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/offlineimap.1 .include "../../devel/py-cursespanel/buildlink3.mk" .include "../../devel/py-curses/buildlink3.mk" |