summaryrefslogtreecommitdiff
path: root/editors/emacs20/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs20/Makefile')
-rw-r--r--editors/emacs20/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/editors/emacs20/Makefile b/editors/emacs20/Makefile
index 617fd212d54..9ef088c0e2d 100644
--- a/editors/emacs20/Makefile
+++ b/editors/emacs20/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2010/01/20 03:21:21 roy Exp $
+# $NetBSD: Makefile,v 1.39 2010/02/04 06:40:19 dholland Exp $
DISTNAME= emacs-20.7
PKGREVISION= 13
@@ -23,6 +23,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/emacs/emacs.html
COMMENT= GNU editing macros (editor)
+PKG_DESTDIR_SUPPORT= user-destdir
+
NOT_FOR_PLATFORM= Darwin-*-*
CONFLICTS= mule-[0-9]*
@@ -76,6 +78,6 @@ pre-install:
@${FIND} ${WRKSRC} -type f -name "*.orig*" -print | ${XARGS} ${RM} -f
post-install:
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/share/emacs
.include "../../mk/bsd.pkg.mk"