diff options
author | knu <knu@FreeBSD.org> | 2001-06-02 16:55:23 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-06-02 16:55:23 +0000 |
commit | 0f4c2246773d1b6ef8f694ca9917f1b6fba31f18 (patch) | |
tree | e580177c45c33d2aff677e3aaa3ef1d281873be2 /databases/ruby-dbi/Makefile | |
parent | f05b2e2a81a6797e9855bad705f0fdb9757b8dc1 (diff) | |
download | FreeBSD-ports-0f4c2246773d1b6ef8f694ca9917f1b6fba31f18.zip FreeBSD-ports-0f4c2246773d1b6ef8f694ca9917f1b6fba31f18.tar.gz |
Add ruby-dbi, DBI-for-Ruby - a common interface for SQL-based
databases.
Diffstat (limited to 'databases/ruby-dbi/Makefile')
-rw-r--r-- | databases/ruby-dbi/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/databases/ruby-dbi/Makefile b/databases/ruby-dbi/Makefile new file mode 100644 index 0000000..d6b5351 --- /dev/null +++ b/databases/ruby-dbi/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: DBI-for-Ruby +# Date created: 3 June 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= dbi +PORTVERSION= 0.0.4 +CATEGORIES= databases ruby +MASTER_SITES= http://www.sprytech.com/~rainer.perl/ruby/files/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ruby-${PORTNAME}-${PORTVERSION} +EXTRACT_SUFX= .tgz +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +USE_RUBY= yes + +NO_WRKSUBDIR= yes + +NO_BUILD= yes + +DOCS_EN= README.1st lib/${PORTNAME}/doc/* + +post-extract: + ${MV} ${WRKSRC}/README ${WRKSRC}/README.1st + +do-install: + ${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}/*.rb ${RUBY_SITELIBDIR}/ + ${MKDIR} ${RUBY_SITELIBDIR}/${PORTNAME} +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ +.endfor +.endif + +.include <bsd.port.mk> |