2013-03-02 22:01:58 +01:00
|
|
|
# Created by: Sergey Skvortsov <skv@protey.ru>
|
2001-12-13 15:07:38 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= interbase
|
2006-12-01 14:26:13 +01:00
|
|
|
PORTVERSION= 0.5.2
|
2001-12-13 15:07:38 +01:00
|
|
|
CATEGORIES= databases ruby
|
2002-01-15 16:55:44 +01:00
|
|
|
MASTER_SITES= http://www.rowlandresearch.com/ruby/
|
2001-12-13 15:07:38 +01:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2006-12-01 14:26:13 +01:00
|
|
|
DISTNAME= fb-${PORTVERSION}
|
2002-10-10 19:12:55 +02:00
|
|
|
DIST_SUBDIR= ruby
|
2001-12-13 15:07:38 +01:00
|
|
|
|
2013-04-22 15:27:47 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-12-01 14:26:13 +01:00
|
|
|
COMMENT= Ruby interface to Firebird/Interbase library
|
2001-12-13 15:07:38 +01:00
|
|
|
|
2013-03-02 22:01:58 +01:00
|
|
|
DEPRECATED= Does not work with Ruby 1.9
|
2013-09-26 23:13:59 +02:00
|
|
|
EXPIRATION_DATE= 2013-10-10
|
2013-03-02 22:01:58 +01:00
|
|
|
|
2006-12-01 14:26:13 +01:00
|
|
|
USE_FIREBIRD= yes
|
2001-12-13 15:07:38 +01:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
2006-12-01 14:26:13 +01:00
|
|
|
#CONFIGURE_ARGS= --with-interbase-include-dir="${LOCALBASE}/include" \
|
|
|
|
# --with-interbase-lib-dir="${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS= --with-opt-dir=${LOCALBASE}
|
2001-12-13 15:07:38 +01:00
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
|
|
|
DOCS_EN= README
|
2006-12-01 14:26:13 +01:00
|
|
|
|
2013-09-20 18:13:47 +02:00
|
|
|
NO_STAGE= yes
|
2006-12-01 14:26:13 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's/gdslib/fbclient/' ${WRKSRC}/extconf.rb
|
2001-12-13 15:07:38 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2006-12-01 14:26:13 +01:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2001-12-13 15:07:38 +01:00
|
|
|
.for f in ${DOCS_EN}
|
2002-10-06 23:08:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2001-12-13 15:07:38 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2011-07-04 19:46:12 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${RUBY_VER} == 1.9
|
|
|
|
BROKEN= does not build with ruby 1.9
|
|
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|