From c24a1a839bfeff576c8e4e79985c88db2eb7a33f Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Thu, 15 Nov 2001 13:18:52 +0000 Subject: Add ruby-dbd_sqlite, the SQLite driver for DBI-for-Ruby. --- databases/ruby-dbd_sqlite/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 databases/ruby-dbd_sqlite/Makefile (limited to 'databases/ruby-dbd_sqlite/Makefile') diff --git a/databases/ruby-dbd_sqlite/Makefile b/databases/ruby-dbd_sqlite/Makefile new file mode 100644 index 000000000000..adb09d1bfecd --- /dev/null +++ b/databases/ruby-dbd_sqlite/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: dbd_sqlite for DBD-for-Ruby +# Date created: 15 November 2001 +# Whom: Akinori MUSHA aka knu +# +# $FreeBSD$ +# + +PORTNAME= dbd_sqlite +PORTVERSION= ${RUBY_DBI_PORTVERSION} +CATEGORIES= databases ruby +MASTER_SITES= ${RUBY_DBI_MASTER_SITES} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${RUBY_DBI_DISTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +LIB_DEPENDS= sqlite.1:${.CURDIR}/../sqlite +RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${RUBY_DBI_PORTDIR} + +USE_RUBY= yes +USE_RUBY_SETUP= yes + +WRKSRC= ${RUBY_DBI_WRKSRC} +CONFIGURE_ARGS= --with=ext/${PORTNAME} + +post-patch: + ${RUBY} -i- -pe 'gsub "/usr/local", "${LOCALBASE}"' \ + ${WRKSRC}/ext/dbd_sqlite/extconf.rb + +.include "${.CURDIR}/../ruby-dbi/Makefile.common" + +.include -- cgit v1.2.3