1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Install elisp files under ${RUBY_ELISPDIR} rather than

${RUBY_EXAMPLESDIR}/elisp.
This commit is contained in:
Akinori MUSHA 2001-05-11 19:44:54 +00:00
parent 5e6c652f44
commit 6010ec9586
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42538
2 changed files with 11 additions and 10 deletions

View File

@ -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}

View File

@ -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