mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Add another couple of Ruby modules.
databases/ruby-mysql: Ruby module for accessing MySQL databases, which has the same functions as C API ports/devel/ruby-optparse: Yet another command line option parser for Ruby
This commit is contained in:
parent
82bdc6ed1f
commit
1fd451d376
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31372
12 changed files with 127 additions and 0 deletions
|
@ -43,6 +43,7 @@
|
|||
SUBDIR += py-MySQLdb
|
||||
SUBDIR += py-PyGreSQL
|
||||
SUBDIR += rdb
|
||||
SUBDIR += ruby-mysql
|
||||
SUBDIR += ruby-postgres
|
||||
SUBDIR += sqsh
|
||||
SUBDIR += tcl-Mysql
|
||||
|
|
40
databases/ruby-mysql/Makefile
Normal file
40
databases/ruby-mysql/Makefile
Normal file
|
@ -0,0 +1,40 @@
|
|||
# New ports collection makefile for: Ruby-MySQL
|
||||
# Date created: 7 Aug 2000
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mysql
|
||||
PORTVERSION= 2.3.0
|
||||
CATEGORIES= databases # ruby
|
||||
MASTER_SITES= http://www.tmtm.org/mysql/ruby/
|
||||
PKGNAMEPREFIX= ruby-
|
||||
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
|
||||
LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
|
||||
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
|
||||
|
||||
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
|
||||
|
||||
RUBY= ${LOCALBASE}/bin/ruby
|
||||
RUBY_VER= 1.4
|
||||
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC}; \
|
||||
${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC}; \
|
||||
${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/ruby/mysql/ja
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ruby/mysql/
|
||||
${INSTALL_DATA} ${WRKSRC}/README.jp ${PREFIX}/share/doc/ruby/mysql/ja
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/ruby-mysql/distinfo
Normal file
1
databases/ruby-mysql/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (mysql-ruby-2.3.0.tar.gz) = e518e06eab4f7a6f2bac186989d04595
|
1
databases/ruby-mysql/pkg-comment
Normal file
1
databases/ruby-mysql/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Ruby module for accessing MySQL databases, which has the same functions as C API
|
4
databases/ruby-mysql/pkg-descr
Normal file
4
databases/ruby-mysql/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
This is a Ruby module for accessing MySQL databases, which has the
|
||||
same functions as C API.
|
||||
|
||||
WWW: http://www.tmtm.org/mysql/ruby/README
|
5
databases/ruby-mysql/pkg-plist
Normal file
5
databases/ruby-mysql/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/mysql.so
|
||||
share/doc/ruby/mysql/ja/README.jp
|
||||
share/doc/ruby/mysql/README
|
||||
@dirrm share/doc/ruby/mysql/ja
|
||||
@dirrm share/doc/ruby/mysql
|
|
@ -262,6 +262,7 @@
|
|||
SUBDIR += rinfo
|
||||
SUBDIR += robodoc
|
||||
SUBDIR += rpc2
|
||||
SUBDIR += ruby-optparse
|
||||
SUBDIR += ruby-property
|
||||
SUBDIR += ruby-racc
|
||||
SUBDIR += rvm
|
||||
|
|
49
devel/ruby-optparse/Makefile
Normal file
49
devel/ruby-optparse/Makefile
Normal file
|
@ -0,0 +1,49 @@
|
|||
# New ports collection makefile for: Ruby-OptionParser
|
||||
# Date created: 7 Aug 2000
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= optparse
|
||||
PORTVERSION= 0.7.5
|
||||
CATEGORIES= devel # ruby
|
||||
MASTER_SITES= http://member.nifty.ne.jp/nokada/archive/
|
||||
PKGNAMEPREFIX= ruby-
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
|
||||
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
|
||||
|
||||
RUBY= ${LOCALBASE}/bin/ruby
|
||||
RUBY_VER= 1.4
|
||||
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/ruby/site_ruby/optparse
|
||||
.for f in optparse.rb optparse/shellwords.rb optparse/time.rb
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/ruby/site_ruby/${f}
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/ruby/optparse/examples/ja
|
||||
${MKDIR} ${PREFIX}/share/doc/ruby/optparse/ja
|
||||
.for f in optparse.rlog
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/optparse/
|
||||
.endfor
|
||||
.for f in optparse.ja.rd
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/optparse/ja/
|
||||
.endfor
|
||||
.for f in cmd-ls.rb cmd.rb getopts.test.en opttest.rb
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/optparse/examples/
|
||||
.endfor
|
||||
.for f in getopts.test
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/optparse/examples/ja
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/ruby-optparse/distinfo
Normal file
1
devel/ruby-optparse/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (optparse-0.7.5.tar.gz) = 6b4a5e1957f62c030b81d8041dc1f63a
|
1
devel/ruby-optparse/pkg-comment
Normal file
1
devel/ruby-optparse/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Yet another command line option parser for Ruby
|
8
devel/ruby-optparse/pkg-descr
Normal file
8
devel/ruby-optparse/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
|||
OptionParser is yet another command line option parser for Ruby.
|
||||
|
||||
Features:
|
||||
* describe option definition with its handler
|
||||
* specify argument format and convert automatically
|
||||
* can emit options' summaries
|
||||
* can add options on the fly
|
||||
* completion for option/argument
|
15
devel/ruby-optparse/pkg-plist
Normal file
15
devel/ruby-optparse/pkg-plist
Normal file
|
@ -0,0 +1,15 @@
|
|||
lib/ruby/site_ruby/optparse/shellwords.rb
|
||||
lib/ruby/site_ruby/optparse/time.rb
|
||||
lib/ruby/site_ruby/optparse.rb
|
||||
@dirrm lib/ruby/site_ruby/optparse
|
||||
share/doc/ruby/optparse/examples/ja/getopts.test
|
||||
share/doc/ruby/optparse/examples/cmd-ls.rb
|
||||
share/doc/ruby/optparse/examples/cmd.rb
|
||||
share/doc/ruby/optparse/examples/getopts.test.en
|
||||
share/doc/ruby/optparse/examples/opttest.rb
|
||||
share/doc/ruby/optparse/ja/optparse.ja.rd
|
||||
share/doc/ruby/optparse/optparse.rlog
|
||||
@dirrm share/doc/ruby/optparse/examples/ja
|
||||
@dirrm share/doc/ruby/optparse/examples
|
||||
@dirrm share/doc/ruby/optparse/ja
|
||||
@dirrm share/doc/ruby/optparse
|
Loading…
Add table
Reference in a new issue