pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87faea045c86
branches:  trunk
changeset: 538692:87faea045c86
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sat Feb 16 15:45:10 2008 +0000

description:
Added support for installation to DESTDIR.

diffstat:

 mail/mb2md/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r cab3d7bf1b5a -r 87faea045c86 mail/mb2md/Makefile
--- a/mail/mb2md/Makefile       Sat Feb 16 15:42:33 2008 +0000
+++ b/mail/mb2md/Makefile       Sat Feb 16 15:45:10 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/09/28 20:52:24 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2008/02/16 15:45:10 heinz Exp $
 #
 
 DISTNAME=              mb2md-3.20.pl
@@ -11,6 +11,8 @@
 HOMEPAGE=              http://batleth.sapienti-sat.org/projects/mb2md/
 COMMENT=               Converts one or more mboxes to maildirs
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=              p5-TimeDate-[0-9]*:../../time/p5-TimeDate
 
 WRKSRC=                        ${WRKDIR}
@@ -22,6 +24,6 @@
 INSTALLATION_DIRS=     bin
 
 do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PKGBASE}
+       ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${DESTDIR}${PREFIX}/bin/${PKGBASE}
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index