summaryrefslogtreecommitdiff
path: root/mail/imapproxy
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
commita80fd13efc426f96e55870df48a2030daea0f14b (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /mail/imapproxy
parent31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff)
downloadpkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mail/imapproxy')
-rw-r--r--mail/imapproxy/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/imapproxy/Makefile b/mail/imapproxy/Makefile
index dbda93a9077..8191f8d242a 100644
--- a/mail/imapproxy/Makefile
+++ b/mail/imapproxy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/03/04 11:29:58 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/04 17:57:18 jlam Exp $
#
DISTNAME= imapproxy-1.0
@@ -10,15 +10,17 @@ HOMEPAGE= http://web.archive.org/web/20030816021412/http://www.kuleuven.net/proj
# http://www.imapproxy.org/ ?
COMMENT= Simple connection caching IMAP proxy daemon
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/imapproxy ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/imapproxy
+ ${INSTALL_PROGRAM} ${WRKSRC}/imapproxy ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/imapproxy
.for doc in BUGS COPYING ChangeLog FAQ INSTALL README THANKS TODO
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/imapproxy
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DESTDIR}${PREFIX}/share/doc/imapproxy
.endfor
.include "../../mk/bsd.pkg.mk"