mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Add ruby-msql, Ruby API for mSQL.
This commit is contained in:
parent
70c5a2e737
commit
6dfa12c805
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43709
@ -79,6 +79,7 @@
|
||||
SUBDIR += ruby-dbi
|
||||
SUBDIR += ruby-gdbm
|
||||
SUBDIR += ruby-rdbc1
|
||||
SUBDIR += ruby-msql
|
||||
SUBDIR += ruby-mysql
|
||||
SUBDIR += ruby-o_dbm
|
||||
SUBDIR += ruby-odbc
|
||||
|
49
databases/ruby-msql/Makefile
Normal file
49
databases/ruby-msql/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# New ports collection makefile for: Ruby/mSQL
|
||||
# Date created: 9 June 2001
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= msql
|
||||
PORTVERSION= 0.2.4a
|
||||
CATEGORIES= databases ruby
|
||||
MASTER_SITES= http://www.isc.meiji.ac.jp/~ce11725/ruby/archive/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= msql.1:${PORTSDIR}/databases/msql
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME:S/a$//}
|
||||
CONFIGURE_ARGS= --with-msql-dir="${LOCALBASE}/share/msql"
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
EXAMPLES_EN= demo/* sample/*
|
||||
DOCS_EN= readme.en.txt doc/en/*
|
||||
DOCS_JA= readme.ja.txt
|
||||
|
||||
post-configure:
|
||||
${ECHO} '#define INST_DIR "${LOCALBASE}"' >> ${WRKSRC}/site.h
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
|
||||
.for f in ${EXAMPLES_EN}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
||||
.endfor
|
||||
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
|
||||
.for f in ${DOCS_EN}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
|
||||
.endfor
|
||||
.for f in ${DOCS_JA}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/ruby-msql/distinfo
Normal file
1
databases/ruby-msql/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/ruby-msql-0.2.4a.tar.gz) = 36998b6e4045de8b380a26978006f975
|
1
databases/ruby-msql/pkg-comment
Normal file
1
databases/ruby-msql/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Ruby API for mSQL
|
4
databases/ruby-msql/pkg-descr
Normal file
4
databases/ruby-msql/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
This is a Ruby API for mSQL.
|
||||
|
||||
Author: DATE Ken <ge6537@i.bekkoame.ne.jp>
|
||||
WWW: http://www.isc.meiji.ac.jp/~ce11725/ruby/
|
15
databases/ruby-msql/pkg-plist
Normal file
15
databases/ruby-msql/pkg-plist
Normal file
@ -0,0 +1,15 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/msql.so
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/Shakespeare.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/msql.ry
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/msqladmin.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/msqldump.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/msqlexport.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/msqlm.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/msql/msqlparse.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/msql
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/msql/msql.html
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/msql/msql.rd
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/msql/readme.en.txt
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/msql/ja/readme.ja.txt
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/msql/ja
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/msql
|
Loading…
Reference in New Issue
Block a user