mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
Use RUBY_ELISPDIR and leave XEMACSLISTDIR to lang/ruby{,-devel}.
This commit is contained in:
parent
c9686f29d7
commit
66c84f7e97
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43683
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= ri
|
||||
PORTVERSION= 0.7a
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= lang ruby
|
||||
MASTER_SITES= ftp://www.pragmaticprogrammer.com/ruby/downloads/files/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
@ -21,6 +21,8 @@ USE_RUBY= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
NO_BUILD= yes
|
||||
|
||||
ELISP_FILES= ri.el
|
||||
|
||||
DOCS= COPYING ChangeLog README
|
||||
EMACS_DOCS= Changelog DESCRIPTION
|
||||
|
||||
@ -34,8 +36,11 @@ post-patch:
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${RUBY} install.rb
|
||||
${INSTALL_DATA} ${WRKSRC}/contrib/dblack/emacs/Emacs.rb ${RUBY_SITELIBDIR}/${PORTNAME}/op/
|
||||
${INSTALL_DATA} ${WRKSRC}/contrib/dblack/emacs/ri.el ${EMACSLISPDIR}/
|
||||
${INSTALL_DATA} ${EMACSLISPDIR}/ri.el ${XEMACSLISPDIR}/
|
||||
.for f in ${ELISP_FILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/contrib/dblack/emacs/${f} ${RUBY_ELISPDIR}/
|
||||
${LN} -sf ${RUBY_ELISPDIR}/${f} ${EMACSLISPDIR}/
|
||||
${LN} -sf ${RUBY_ELISPDIR}/${f} ${XEMACSLISPDIR}/
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/emacs
|
||||
.for f in ${DOCS}
|
||||
|
@ -58,6 +58,5 @@ bin/ri
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/ri/emacs
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/ri
|
||||
lib/xemacs/site-lisp/ri.el
|
||||
@unexec rmdir -p %D/lib/xemacs/site-lisp 2>/dev/null || true
|
||||
share/emacs/site-lisp/ri.el
|
||||
@comment share/emacs/site-lisp is created by mtree
|
||||
%%RUBY_ELISPDIR%%/ri.el
|
||||
|
Loading…
Reference in New Issue
Block a user