summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-05-11 19:44:54 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-05-11 19:44:54 +0000
commit6010ec958652a2b2e4003d4e6386cf3f36f00793 (patch)
tree08a74eedf1f2f2758698eeb93eddffbb6b2c2fa6 /lang
parentDefine RUBY_ELISPDIR. (diff)
Install elisp files under ${RUBY_ELISPDIR} rather than
${RUBY_EXAMPLESDIR}/elisp.
Notes
Notes: svn path=/head/; revision=42538
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby-mode.el/Makefile9
-rw-r--r--lang/ruby-mode.el/pkg-plist12
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