From c5c5c8d3c5bfc74b291e4595943241a2dd044dc4 Mon Sep 17 00:00:00 2001 From: miwi Date: Sat, 19 Sep 2009 11:58:20 +0000 Subject: - Update to 1.0.12 - Add ruby support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR: 138501 Submitted by: Anders F Björklund Approved by: maintainer timeout Feature safe: yes --- databases/xapian-bindings10/Makefile | 20 ++++++++++++++++---- databases/xapian-bindings10/distinfo | 6 +++--- databases/xapian-bindings10/pkg-plist | 10 ++++++++++ 3 files changed, 29 insertions(+), 7 deletions(-) (limited to 'databases/xapian-bindings10') diff --git a/databases/xapian-bindings10/Makefile b/databases/xapian-bindings10/Makefile index 8a9a15bde1b..18ebd5f7a3a 100644 --- a/databases/xapian-bindings10/Makefile +++ b/databases/xapian-bindings10/Makefile @@ -6,19 +6,18 @@ # PORTNAME= xapian-bindings -PORTVERSION= 1.0.6 -PORTREVISION= 1 +PORTVERSION= 1.0.12 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 +41,22 @@ PLIST_SUB+= BINDING_PYTHON="" 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 diff --git a/databases/xapian-bindings10/distinfo b/databases/xapian-bindings10/distinfo index f7e7b6c0609..12374ca4762 100644 --- a/databases/xapian-bindings10/distinfo +++ b/databases/xapian-bindings10/distinfo @@ -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 --git a/databases/xapian-bindings10/pkg-plist b/databases/xapian-bindings10/pkg-plist index b8fc9e45700..e15476c85df 100644 --- a/databases/xapian-bindings10/pkg-plist +++ b/databases/xapian-bindings10/pkg-plist @@ -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 -- cgit