- Add staging support

- Remove leading article from COMMENT
- Remove Author tag from pkg-descr, info available on homepage
This commit is contained in:
Pawel Pekala 2014-04-03 10:08:56 +00:00
parent d1e01b8472
commit 15977792af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349987
2 changed files with 8 additions and 14 deletions

View file

@ -10,7 +10,7 @@ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
COMMENT= An emacs extension to work with RDoc ri documentation
COMMENT= Emacs extension to work with RDoc ri documentation
USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
@ -20,20 +20,15 @@ WRKSRC= ${WRKDIR}
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
ELISP_FILES= ri-ruby.el
SUB_FILES= pkg-message
NO_STAGE= yes
do-install:
${MKDIR} ${RUBY_ELISPDIR}/
${INSTALL_DATA} ${ELISP_FILES:S,^,${WRKSRC}/,} ${RUBY_ELISPDIR}/
${MKDIR} ${XEMACSLISPDIR}
.for f in ${ELISP_FILES}
${LN} -sf ${RUBY_ELISPDIR}/${f} ${EMACSLISPDIR}/
${LN} -sf ${RUBY_ELISPDIR}/${f} ${XEMACSLISPDIR}/
.endfor
${MKDIR} ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/ri-emacs.rb ${DATADIR}/
@${CAT} ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${RUBY_ELISPDIR}
${INSTALL_DATA} ${WRKSRC}/ri-ruby.el ${STAGEDIR}${RUBY_ELISPDIR}
@${MKDIR} ${STAGEDIR}${XEMACSLISPDIR}
${LN} -sf ${RUBY_ELISPDIR}/ri-ruby.el ${STAGEDIR}${EMACSLISPDIR}
${LN} -sf ${RUBY_ELISPDIR}/ri-ruby.el ${STAGEDIR}${XEMACSLISPDIR}
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/ri-emacs.rb ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>

View file

@ -2,5 +2,4 @@ Ri for (X)Emacs is a (X)Emacs extension that acts as a convenient wrapper
around ri. It has autocompletion, nice colored output, it will ask for a
class name if needed. It is indispensible when coding Ruby with Emacs!
Author: Kristof Bastiaensen <kristof@vleeuwen.org>
WWW: http://rubyforge.org/projects/ri-emacs/