diff options
author | knu <knu@FreeBSD.org> | 2001-06-09 10:37:04 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-06-09 10:37:04 +0800 |
commit | 6fc8905a2204c6551cade46f441045925274b78d (patch) | |
tree | e9fc82ffa60dbf7d4cd7c9f7929ff1f4ef5fe6bf /lang/ruby-ri | |
parent | ec17d6c50430657ad5c42861e68c913eb753db96 (diff) | |
download | freebsd-ports-gnome-6fc8905a2204c6551cade46f441045925274b78d.tar.gz freebsd-ports-gnome-6fc8905a2204c6551cade46f441045925274b78d.tar.zst freebsd-ports-gnome-6fc8905a2204c6551cade46f441045925274b78d.zip |
Use RUBY_ELISPDIR and leave XEMACSLISTDIR to lang/ruby{,-devel}.
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 |