Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2009 07:45:47 GMT
From:      Anders F Björklund <afb@algonet.se>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/138501: databases/xapian-bindings update+ruby
Message-ID:  <200909030745.n837jlMj036643@www.freebsd.org>
Resent-Message-ID: <200909030750.n837o3aX029559@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138501
>Category:       ports
>Synopsis:       databases/xapian-bindings update+ruby
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 03 07:50:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Anders F Björklund
>Release:        7.2
>Organization:
>Environment:
>Description:
Here is an update to the Xapian bindings, to bring them in sync with the xapian-core (update 1.0.6 to 1.0.12) and to add support for the ruby language (WITH_RUBY).
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ur /usr/ports/databases/xapian-bindings/Makefile xapian-bindings/Makefile
--- /usr/ports/databases/xapian-bindings/Makefile	2008-07-27 05:09:13.000000000 +0200
+++ xapian-bindings/Makefile	2009-08-25 22:39:17.000000000 +0200
@@ -6,19 +6,19 @@
 #
 
 PORTNAME=	xapian-bindings
-PORTVERSION=	1.0.6
-PORTREVISION=	1
+PORTVERSION=	1.0.12
+PORTREVISION=	2
 CATEGORIES=	databases
 MASTER_SITES=	http://oligarchy.co.uk/xapian/${PORTVERSION}/
 
 MAINTAINER=	gslin@gslin.org
 COMMENT=	Bindings allowing Xapian to be used from various programming languages
 
-RUN_DEPENDS=	xapian-core>=1.0.6:${PORTSDIR}/databases/xapian-core
+RUN_DEPENDS=	xapian-core>=1.0.12:${PORTSDIR}/databases/xapian-core
 BUILD_DEPENDS:=	${RUN_DEPENDS}
 
 CONFIGURE_ARGS+=	--datarootdir="${DATADIR}" --docdir="${DOCSDIR}" \
-		--without-csharp --without-java --without-ruby --without-tcl
+		--without-csharp --without-java --without-tcl
 GNU_CONFIGURE=	yes
 
 .ifdef(WITHOUT_PHP)
@@ -42,9 +42,22 @@
 USE_PYTHON=	yes
 .endif
 
+.ifdef(WITHOUT_RUBY)
+CONFIGURE_ARGS+=	--without-ruby
+PLIST_SUB+=	BINDING_RUBY="@comment "
+.else
+CONFIGURE_ARGS+=	--with-ruby
+USE_RUBY_RDOCS=	no
+PLIST_SUB+=	BINDING_RUBY=""
+USE_RUBY=	yes
+.endif
+
 post-install:
 .ifdef(NOPORTDOCS)
 	${RM} -fr ${DOCSDIR}
 .endif
+.ifndef(WITHOUT_RUBY)
+	${RM} -fr ${DOCSDIR}/ruby/rdocs
+.endif
 
 .include <bsd.port.mk>
diff -ur /usr/ports/databases/xapian-bindings/distinfo xapian-bindings/distinfo
--- /usr/ports/databases/xapian-bindings/distinfo	2008-05-14 15:37:27.000000000 +0200
+++ xapian-bindings/distinfo	2009-08-25 22:32:25.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (xapian-bindings-1.0.6.tar.gz) = 288a862643f88808dc828561949cc701
-SHA256 (xapian-bindings-1.0.6.tar.gz) = 9f6b3b5c7abf3c112a0805d4b7be455754537ebe36fb4fee87e4dd22f960d309
-SIZE (xapian-bindings-1.0.6.tar.gz) = 1036278
+MD5 (xapian-bindings-1.0.12.tar.gz) = ff5e1f5cee8b32031f9851cdcd88c506
+SHA256 (xapian-bindings-1.0.12.tar.gz) = 9bb65513e03f3f244d5cc6f5926f99a1cd9c6a4ece5a26ea4dcad8206bc17dcf
+SIZE (xapian-bindings-1.0.12.tar.gz) = 1053343
diff -ur /usr/ports/databases/xapian-bindings/pkg-plist xapian-bindings/pkg-plist
--- /usr/ports/databases/xapian-bindings/pkg-plist	2008-05-14 15:37:27.000000000 +0200
+++ xapian-bindings/pkg-plist	2009-08-25 22:37:56.000000000 +0200
@@ -17,6 +17,16 @@
 %%BINDING_PYTHON%%%%PYTHON_SITELIBDIR%%/xapian.py
 %%BINDING_PYTHON%%%%PYTHON_SITELIBDIR%%/xapian.pyc
 %%BINDING_PYTHON%%%%PYTHON_SITELIBDIR%%/xapian.pyo
+%%BINDING_RUBY%%%%PORTDOCS%%%%DOCSDIR%%/ruby/examples/simpleexpand.rb
+%%BINDING_RUBY%%%%PORTDOCS%%%%DOCSDIR%%/ruby/examples/simpleindex.rb
+%%BINDING_RUBY%%%%PORTDOCS%%%%DOCSDIR%%/ruby/examples/simplematchdecider.rb
+%%BINDING_RUBY%%%%PORTDOCS%%%%DOCSDIR%%/ruby/examples/simplesearch.rb
+%%BINDING_RUBY%%%%PORTDOCS%%%%DOCSDIR%%/ruby/index.html
+%%BINDING_RUBY%%%%RUBY_SITELIBDIR%%/xapian.rb
+%%BINDING_RUBY%%%%RUBY_SITEARCHLIBDIR%%/_xapian.so
+%%BINDING_RUBY%%@dirrmtry %%RUBY_SITELIBDIR%%
+%%BINDING_RUBY%%%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/ruby/examples
+%%BINDING_RUBY%%%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/ruby
 %%BINDING_PYTHON%%@dirrmtry %%PYTHON_SITELIBDIR%%
 %%BINDING_PYTHON%%%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/python/examples
 %%BINDING_PYTHON%%%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/python


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909030745.n837jlMj036643>