diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-09 15:48:26 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-09 15:48:26 +0000 |
commit | 6dfa12c8055e3451a994a397f4213b7be0051658 (patch) | |
tree | a928724908d28c6680fa6abe68b08bad642e1945 /databases/ruby-msql | |
parent | upgrade to 20010608 (diff) |
Add ruby-msql, Ruby API for mSQL.
Notes
Notes:
svn path=/head/; revision=43709
Diffstat (limited to 'databases/ruby-msql')
-rw-r--r-- | databases/ruby-msql/Makefile | 49 | ||||
-rw-r--r-- | databases/ruby-msql/distinfo | 1 | ||||
-rw-r--r-- | databases/ruby-msql/pkg-comment | 1 | ||||
-rw-r--r-- | databases/ruby-msql/pkg-descr | 4 | ||||
-rw-r--r-- | databases/ruby-msql/pkg-plist | 15 |
5 files changed, 70 insertions, 0 deletions
diff --git a/databases/ruby-msql/Makefile b/databases/ruby-msql/Makefile new file mode 100644 index 000000000000..aac33081ea2d --- /dev/null +++ b/databases/ruby-msql/Makefile @@ -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> diff --git a/databases/ruby-msql/distinfo b/databases/ruby-msql/distinfo new file mode 100644 index 000000000000..e691288e1d67 --- /dev/null +++ b/databases/ruby-msql/distinfo @@ -0,0 +1 @@ +MD5 (ruby/ruby-msql-0.2.4a.tar.gz) = 36998b6e4045de8b380a26978006f975 diff --git a/databases/ruby-msql/pkg-comment b/databases/ruby-msql/pkg-comment new file mode 100644 index 000000000000..dfa91301aadf --- /dev/null +++ b/databases/ruby-msql/pkg-comment @@ -0,0 +1 @@ +Ruby API for mSQL diff --git a/databases/ruby-msql/pkg-descr b/databases/ruby-msql/pkg-descr new file mode 100644 index 000000000000..1d3ca361279a --- /dev/null +++ b/databases/ruby-msql/pkg-descr @@ -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/ diff --git a/databases/ruby-msql/pkg-plist b/databases/ruby-msql/pkg-plist new file mode 100644 index 000000000000..8a290197f016 --- /dev/null +++ b/databases/ruby-msql/pkg-plist @@ -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 |