2005-01-16 19:19:16 +01:00
|
|
|
# New ports collection makefile for: sqlite3-ruby
|
2003-06-26 05:47:13 +02:00
|
|
|
# Date created: 26 June 2003
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2005-01-16 19:19:16 +01:00
|
|
|
PORTNAME= sqlite3
|
2006-07-28 09:47:56 +02:00
|
|
|
PORTVERSION= 1.1.0
|
2003-06-26 05:47:13 +02:00
|
|
|
CATEGORIES= databases ruby
|
2006-08-08 13:35:27 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= sqlite-ruby
|
2003-06-26 05:47:13 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2005-11-11 02:18:01 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-01-16 19:19:16 +01:00
|
|
|
COMMENT= Ruby interface to the SQLite DB engine version 3
|
2003-06-26 05:47:13 +02:00
|
|
|
|
2005-01-16 19:41:01 +01:00
|
|
|
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
|
2005-01-16 19:19:16 +01:00
|
|
|
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
|
2003-06-26 05:47:13 +02:00
|
|
|
|
2004-12-25 21:47:28 +01:00
|
|
|
USE_BZIP2= yes
|
2003-06-26 05:47:13 +02:00
|
|
|
USE_RUBY= yes
|
2005-01-16 19:19:16 +01:00
|
|
|
USE_RUBY_SETUP= yes
|
2003-06-26 05:47:13 +02:00
|
|
|
|
2005-01-16 19:41:01 +01:00
|
|
|
CONFIGURE_ARGS= -- --with-sqlite3-dir="${LOCALBASE}"
|
2003-06-26 05:47:13 +02:00
|
|
|
|
2005-01-16 19:41:01 +01:00
|
|
|
DOCS= ChangeLog LICENSE README api/* doc/*
|
2004-12-25 21:47:28 +01:00
|
|
|
|
2003-06-26 05:47:13 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2004-12-25 21:47:28 +01:00
|
|
|
.for f in ${DOCS}
|
|
|
|
${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
|
|
.endfor
|
2003-06-26 05:47:13 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|