diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mail/rmail-mime | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-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/rmail-mime')
-rw-r--r-- | mail/rmail-mime/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/rmail-mime/Makefile b/mail/rmail-mime/Makefile index 8441450d13b..3a008dc03b9 100644 --- a/mail/rmail-mime/Makefile +++ b/mail/rmail-mime/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/02/05 23:09:57 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2008/03/04 17:57:19 jlam Exp $ # DISTNAME= rmail-mime-1.13.0 @@ -12,6 +12,8 @@ COMMENT= MIME-capabilities for RMAIL in Emacs DEPENDS+= ${EMACS_PKGNAME_PREFIX}semi>=1.14.4:../../devel/semi +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../mk/emacs.mk" SITE_LISP= ${EMACS_LISPPREFIX:C|^${PREFIX}/||} @@ -22,8 +24,8 @@ do-build: -f batch-byte-compile rmail-mime.el do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/${SITE_LISP} - ${INSTALL_DATA} ${WRKSRC}/rmail-mime.el ${EMACS_LISPPREFIX} - ${INSTALL_DATA} ${WRKSRC}/rmail-mime.elc ${EMACS_LISPPREFIX} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${SITE_LISP} + ${INSTALL_DATA} ${WRKSRC}/rmail-mime.el ${DESTDIR}${EMACS_LISPPREFIX} + ${INSTALL_DATA} ${WRKSRC}/rmail-mime.elc ${DESTDIR}${EMACS_LISPPREFIX} .include "../../mk/bsd.pkg.mk" |