ruby: update to 1.9.1p376, convert to subpkgs.
--HG-- extra : convert_revision : 6b9c35be4ef930df22d81d2a2263710302c89313
This commit is contained in:
25
srcpkgs/ruby/ruby-ri.template
Normal file
25
srcpkgs/ruby/ruby-ri.template
Normal file
@@ -0,0 +1,25 @@
|
||||
# Template file for 'ruby-ri'.
|
||||
#
|
||||
short_desc="Ruby Interactive reference"
|
||||
long_desc="
|
||||
ri is a command line tool that displays descriptions of built-in Ruby
|
||||
methods, classes, and modules. For methods, it shows you the calling
|
||||
sequence and a description. For classes and modules, it shows a synopsis
|
||||
along with a list of the methods the class or module implements.
|
||||
|
||||
This package provides ri command and descriptions about Ruby 1.9.1."
|
||||
|
||||
noarch=yes
|
||||
|
||||
Add_dependency run ruby-rdoc
|
||||
Add_dependency run ruby
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/man/man1
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/ri ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/usr/share/ri ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man1/ri* \
|
||||
${DESTDIR}/usr/share/man/man1
|
||||
}
|
||||
Reference in New Issue
Block a user