summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-11 19:44:54 +0000
committerknu <knu@FreeBSD.org>2001-05-11 19:44:54 +0000
commitf9dc4158b765acd278d90229fc3a34f42cc575ce (patch)
tree3badaa7dca35ac58449b23494ca7861d83eb12dc /lang
parent884be48499865255fa8d0297725b88d81e1fefc1 (diff)
downloadFreeBSD-ports-f9dc4158b765acd278d90229fc3a34f42cc575ce.zip
FreeBSD-ports-f9dc4158b765acd278d90229fc3a34f42cc575ce.tar.gz
Install elisp files under ${RUBY_ELISPDIR} rather than
${RUBY_EXAMPLESDIR}/elisp.
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 47b07f9..d17bb63 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 a4b1b4e..dd07b6d 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
OpenPOWER on IntegriCloud