diff options
Diffstat (limited to 'mail/etach/Makefile')
-rw-r--r-- | mail/etach/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/etach/Makefile b/mail/etach/Makefile index 221b6a7a49d..0ad792006ee 100644 --- a/mail/etach/Makefile +++ b/mail/etach/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/10/29 04:35:09 uebayasi Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/04 17:57:18 jlam Exp $ DISTNAME= etach-1.2.9 PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME} @@ -10,15 +10,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://rulnick.com/etach/ COMMENT= Emacs Lisp package for dealing with MIME email attachments +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= yes NO_BUILD= yes do-install: - ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/etach - ${INSTALL_DATA} ${WRKSRC}/etach.el ${EMACS_LISPPREFIX}/etach - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/etach + ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/etach + ${INSTALL_DATA} ${WRKSRC}/etach.el ${DESTDIR}${EMACS_LISPPREFIX}/etach + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/etach cd ${WRKSRC} && ${INSTALL_DATA} README.txt FAQ.txt LICENSE.txt \ - ${PREFIX}/share/doc/etach/ + ${DESTDIR}${PREFIX}/share/doc/etach/ .include "../../mk/emacs.mk" .include "../../mk/bsd.pkg.mk" |