summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2008-06-19 15:24:36 +0000
committertaca <taca@pkgsrc.org>2008-06-19 15:24:36 +0000
commited4f281f22bac914bd65f555882f505e6e5380a8 (patch)
tree7e7cdbcb9b252d3def5225929be751d6af2eafb6 /devel
parent529e253841abad7e432795cf354351f024f1c729 (diff)
downloadpkgsrc-ed4f281f22bac914bd65f555882f505e6e5380a8.tar.gz
Use more INSTALLATION_DIRS. There should be no functional change.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-rd-mode/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/ruby-rd-mode/Makefile b/devel/ruby-rd-mode/Makefile
index 8d5a1a07b44..2dbc1ab21cf 100644
--- a/devel/ruby-rd-mode/Makefile
+++ b/devel/ruby-rd-mode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2008/03/03 17:45:37 jlam Exp $
+# $NetBSD: Makefile,v 1.21 2008/06/19 15:24:36 taca Exp $
#
DISTNAME= rdtool-${RUBY_RD_VERSION}
@@ -19,12 +19,13 @@ RUBY_VERSION= ${RUBY18_VERSION}
RUBY_NOVERSION= yes
NO_CONFIGURE= yes
+INSTALLATION_DIRS= ${EMACS_LISPPREFIX:C|^${PREFIX}/||}/rd-mode
+
do-build:
cd ${WRKSRC}; ${EMACS_BIN} --no-init-file --no-site-file -batch \
-f batch-byte-compile rd-mode.el
do-install:
- ${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