pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-rd-mode Use more INSTALLATION_DIRS. There ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f0d6e530bae
branches:  trunk
changeset: 543507:8f0d6e530bae
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Jun 19 15:24:36 2008 +0000

description:
Use more INSTALLATION_DIRS.  There should be no functional change.

diffstat:

 devel/ruby-rd-mode/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 6156cb9119f8 -r 8f0d6e530bae devel/ruby-rd-mode/Makefile
--- a/devel/ruby-rd-mode/Makefile       Thu Jun 19 15:24:04 2008 +0000
+++ b/devel/ruby-rd-mode/Makefile       Thu Jun 19 15:24:36 2008 +0000
@@ -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_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
 



Home | Main Index | Thread Index | Old Index