diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
commit | 4c8382aec039aefeebaf1aaac5cd7985337ed917 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/ruby-rd-mode/Makefile | |
parent | 3a62565eb9471348d02d74145e302b5675905a43 (diff) | |
download | pkgsrc-4c8382aec039aefeebaf1aaac5cd7985337ed917.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/ruby-rd-mode/Makefile')
-rw-r--r-- | devel/ruby-rd-mode/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/ruby-rd-mode/Makefile b/devel/ruby-rd-mode/Makefile index 55aefb2ad2f..8d5a1a07b44 100644 --- a/devel/ruby-rd-mode/Makefile +++ b/devel/ruby-rd-mode/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2007/06/10 13:07:47 taca Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/03 17:45:37 jlam Exp $ # DISTNAME= rdtool-${RUBY_RD_VERSION} @@ -10,6 +10,8 @@ MAINTAINER= taca@NetBSD.org HOMEPAGE= http://www2.pos.to/~tosh/ruby/rdtool/ COMMENT= Editing mode for RD (Ruby Document Format) +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${DISTNAME}/utils EXTRACT_ELEMENTS= ${DISTNAME}/utils/rd-mode.el RUBY_RD_VERSION= 0.6.20 @@ -22,9 +24,9 @@ do-build: -f batch-byte-compile rd-mode.el do-install: - ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/rd-mode - ${INSTALL_DATA} ${WRKSRC}/rd-mode.el ${EMACS_LISPPREFIX}/rd-mode - ${INSTALL_DATA} ${WRKSRC}/rd-mode.elc ${EMACS_LISPPREFIX}/rd-mode + ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/rd-mode + ${INSTALL_DATA} ${WRKSRC}/rd-mode.el ${DESTDIR}${EMACS_LISPPREFIX}/rd-mode + ${INSTALL_DATA} ${WRKSRC}/rd-mode.elc ${DESTDIR}${EMACS_LISPPREFIX}/rd-mode .include "../../lang/ruby/rubyversion.mk" .include "../../mk/emacs.mk" |