diff options
author | heinz <heinz@pkgsrc.org> | 2008-01-03 23:18:07 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-01-03 23:18:07 +0000 |
commit | f484c25be425c470313a03d9c4890327ab56f362 (patch) | |
tree | 170b0519d8968570a623ea56286e87d7e7634aec /mail | |
parent | 8159318d339a1a98b108ef467cddf170a5c2e061 (diff) | |
download | pkgsrc-f484c25be425c470313a03d9c4890327ab56f362.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mutt/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile index 2516a65dc74..58b3b988eb6 100644 --- a/mail/mutt/Makefile +++ b/mail/mutt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.151 2007/12/02 11:19:56 wiz Exp $ +# $NetBSD: Makefile,v 1.152 2008/01/03 23:20:10 heinz Exp $ DISTNAME= mutt-1.4.2.3 CATEGORIES= mail @@ -10,6 +10,7 @@ MAINTAINER= tron@NetBSD.org HOMEPAGE= http://www.mutt.org/ COMMENT= Text-based MIME mail client with PGP support +PKG_DESTDIR_SUPPORT= user-destdir PKG_INSTALLATION_TYPES= overwrite pkgviews .include "../../mk/bsd.prefs.mk" @@ -91,10 +92,10 @@ INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR} # process. # pre-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA_DIR} ${DOCDIR} - ${RM} -f ${DOCDIR}/samples - ${LN} -sf ${EGDIR} ${DOCDIR}/samples + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} + ${RM} -f ${DESTDIR}${DOCDIR}/samples + ${LN} -sf ${DESTDIR}${EGDIR} ${DESTDIR}${DOCDIR}/samples post-install: .if (${PKG_INSTALLATION_TYPE} == "pkgviews") |