From 6010ec958652a2b2e4003d4e6386cf3f36f00793 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 11 May 2001 19:44:54 +0000 Subject: [PATCH] Install elisp files under ${RUBY_ELISPDIR} rather than ${RUBY_EXAMPLESDIR}/elisp. --- lang/ruby-mode.el/Makefile | 9 +++++---- lang/ruby-mode.el/pkg-plist | 12 ++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/lang/ruby-mode.el/Makefile b/lang/ruby-mode.el/Makefile index 47b07f917fec..d17bb6325047 100644 --- a/lang/ruby-mode.el/Makefile +++ b/lang/ruby-mode.el/Makefile @@ -7,6 +7,7 @@ PORTNAME= ruby-mode.el PORTVERSION= ${RUBY_PORTVERSION} +PORTREVISION= 1 CATEGORIES= lang ruby elisp MASTER_SITES= # none DISTFILES= # none @@ -30,13 +31,13 @@ do-extract: ${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT} && ${MAKE} -V WRKSRC`/misc ${WRKSRC} do-install: - ${MKDIR} ${RUBY_EXAMPLESDIR}/elisp - ${INSTALL_DATA} ${WRKSRC}/* ${RUBY_EXAMPLESDIR}/elisp + ${MKDIR} ${RUBY_ELISPDIR} + ${INSTALL_DATA} ${WRKSRC}/* ${RUBY_ELISPDIR}/ ${MKDIR} ${EMACSLISPDIR} ${MKDIR} ${XEMACSLISPDIR} .for f in ${ELISP_FILES} - ${LN} -sf ${RUBY_EXAMPLESDIR}/elisp/${f} ${EMACSLISPDIR}/ - ${LN} -sf ${RUBY_EXAMPLESDIR}/elisp/${f} ${XEMACSLISPDIR}/ + ${LN} -sf ${RUBY_ELISPDIR}/${f} ${EMACSLISPDIR}/ + ${LN} -sf ${RUBY_ELISPDIR}/${f} ${XEMACSLISPDIR}/ .endfor @${CAT} ${PKGMESSAGE} diff --git a/lang/ruby-mode.el/pkg-plist b/lang/ruby-mode.el/pkg-plist index a4b1b4e39c45..dd07b6d31ddc 100644 --- a/lang/ruby-mode.el/pkg-plist +++ b/lang/ruby-mode.el/pkg-plist @@ -1,9 +1,3 @@ -%%RUBY_EXAMPLESDIR%%/elisp/README -%%RUBY_EXAMPLESDIR%%/elisp/inf-ruby.el -%%RUBY_EXAMPLESDIR%%/elisp/ruby-mode.el -%%RUBY_EXAMPLESDIR%%/elisp/rubydb2x.el -%%RUBY_EXAMPLESDIR%%/elisp/rubydb3x.el -@dirrm %%RUBY_EXAMPLESDIR%%/elisp share/emacs/site-lisp/inf-ruby.el share/emacs/site-lisp/ruby-mode.el share/emacs/site-lisp/rubydb3x.el @@ -12,3 +6,9 @@ lib/xemacs/site-lisp/inf-ruby.el lib/xemacs/site-lisp/ruby-mode.el lib/xemacs/site-lisp/rubydb3x.el @unexec rmdir -p %D/lib/xemacs/site-lisp 2>/dev/null || true +%%RUBY_ELISPDIR%%/README +%%RUBY_ELISPDIR%%/inf-ruby.el +%%RUBY_ELISPDIR%%/ruby-mode.el +%%RUBY_ELISPDIR%%/rubydb2x.el +%%RUBY_ELISPDIR%%/rubydb3x.el +@unexec rmdir -p %D/%%RUBY_ELISPDIR%% 2>/dev/null || true