diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-09 02:37:04 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-09 02:37:04 +0000 |
commit | 66c84f7e976829a81af3731338033bd9c53d3ee7 (patch) | |
tree | d6fceb8927971e79cf8512acfae7a66f37cb27dd /lang/ruby-ri | |
parent | c9686f29d75ea20d2d720afdd647eec15dd7a993 (diff) | |
download | ports-66c84f7e976829a81af3731338033bd9c53d3ee7.tar.gz ports-66c84f7e976829a81af3731338033bd9c53d3ee7.zip |
Notes
Diffstat (limited to 'lang/ruby-ri')
-rw-r--r-- | lang/ruby-ri/Makefile | 11 | ||||
-rw-r--r-- | lang/ruby-ri/pkg-plist | 3 |
2 files changed, 9 insertions, 5 deletions
diff --git a/lang/ruby-ri/Makefile b/lang/ruby-ri/Makefile index a81cbcb9dff4..2bd59b6e845a 100644 --- a/lang/ruby-ri/Makefile +++ b/lang/ruby-ri/Makefile @@ -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} diff --git a/lang/ruby-ri/pkg-plist b/lang/ruby-ri/pkg-plist index d371c98bcb36..c091ea4d4395 100644 --- a/lang/ruby-ri/pkg-plist +++ b/lang/ruby-ri/pkg-plist @@ -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 |