diff options
Diffstat (limited to 'mail/rmail-mime/Makefile')
-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" |