svn commit: r437722 - in head/databases: . ruby-xapian
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Apr 4 09:37:24 UTC 2017
Author: sunpoet
Date: Tue Apr 4 09:37:23 2017
New Revision: 437722
URL: https://svnweb.freebsd.org/changeset/ports/437722
Log:
Add ruby-xapian 1.4.3 (copied from xapian-bindings)
- Update to 1.4.3
- Add BUILD_DEPENDS
- Update WWW
Changes: https://trac.xapian.org/wiki/ReleaseOverview/1.4.3
https://trac.xapian.org/wiki/ReleaseOverview/1.4.2
https://trac.xapian.org/wiki/ReleaseOverview/1.4.1
https://trac.xapian.org/wiki/ReleaseOverview/1.4.0
Added:
head/databases/ruby-xapian/
- copied from r437680, head/databases/xapian-bindings/
Modified:
head/databases/Makefile
head/databases/ruby-xapian/Makefile
head/databases/ruby-xapian/distinfo
head/databases/ruby-xapian/pkg-descr
head/databases/ruby-xapian/pkg-plist
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Tue Apr 4 09:36:43 2017 (r437721)
+++ head/databases/Makefile Tue Apr 4 09:37:23 2017 (r437722)
@@ -861,6 +861,7 @@
SUBDIR += ruby-odbc
SUBDIR += ruby-qdbm
SUBDIR += ruby-tokyocabinet
+ SUBDIR += ruby-xapian
SUBDIR += rubygem-activemodel4
SUBDIR += rubygem-activemodel5
SUBDIR += rubygem-activerecord-import
Modified: head/databases/ruby-xapian/Makefile
==============================================================================
--- head/databases/xapian-bindings/Makefile Tue Apr 4 05:19:52 2017 (r437680)
+++ head/databases/ruby-xapian/Makefile Tue Apr 4 09:37:23 2017 (r437722)
@@ -1,49 +1,39 @@
-# Created by: Gea-Suan Lin <gslin at gslin.org>
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
# $FreeBSD$
-PORTNAME= xapian-bindings
-PORTVERSION= 1.2.24
+PORTNAME= xapian
+PORTVERSION= 1.4.3
+DISTVERSIONPREFIX= bindings-
CATEGORIES= databases
MASTER_SITES= http://oligarchy.co.uk/xapian/${PORTVERSION}/ \
LOCAL/sunpoet
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
MAINTAINER= sunpoet at FreeBSD.org
-COMMENT= Bindings allowing Xapian to be used from various programming languages
+COMMENT= Ruby binding for Xapian
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
+BUILD_DEPENDS= xapian-core>=${PORTVERSION}:databases/xapian-core
LIB_DEPENDS= libxapian.so:databases/xapian-core
-OPTIONS_DEFINE= DOCS LUA PHP PYTHON RUBY
-OPTIONS_DEFAULT=PHP PYTHON RUBY
-OPTIONS_SUB= yes
+OPTIONS_DEFINE= DOCS
PORTSCOUT= limitw:1,even
CONFIGURE_ARGS= --datarootdir=${DATADIR} --docdir=${DOCSDIR} \
- --without-csharp --without-java --without-perl --without-tcl
+ --enable-static --with-ruby \
+ --without-csharp --without-java --without-lua --without-perl \
+ --without-php --without-python --without-python3 --without-tcl
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
+USE_RUBY= yes
USES= libtool tar:xz
PORTDOCS= *
-LUA_CONFIGURE_ENV= LUA="${LUA_CMD}" LUA_INC="${LUA_INCDIR}" LUA_LIB="${LUA_MODLIBDIR}" LUA_SO=.so
-LUA_CONFIGURE_WITH= lua
-LUA_USES= lua
-PHP_CONFIGURE_ENV= PHP_CONFIG=${LOCALBASE}/bin/php-config
-PHP_CONFIGURE_WITH= php
-PHP_USES= php:build
-PYTHON_CONFIGURE_ENV= PYTHON_LIB=${PYTHON_SITELIBDIR}
-PYTHON_CONFIGURE_WITH= python
-PYTHON_USES= python:2
-RUBY_CONFIGURE_WITH= ruby
-RUBY_USE= RUBY=yes
-
post-patch:
@${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/configure
-# do not install rdoc
- @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' ${WRKSRC}/ruby/Makefile.in
.include <bsd.port.mk>
Modified: head/databases/ruby-xapian/distinfo
==============================================================================
--- head/databases/xapian-bindings/distinfo Tue Apr 4 05:19:52 2017 (r437680)
+++ head/databases/ruby-xapian/distinfo Tue Apr 4 09:37:23 2017 (r437722)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1475134758
-SHA256 (xapian-bindings-1.2.24.tar.xz) = 0c2a0df0a4616e2bd8e578d372c9bb4684780573abebbd1ac515502177229965
-SIZE (xapian-bindings-1.2.24.tar.xz) = 886148
+TIMESTAMP = 1485562319
+SHA256 (xapian-bindings-1.4.3.tar.xz) = 65b5455bf81e4f39fda49a6ad99353b05889d11d7c4c2cae001a0a1e0dac0d87
+SIZE (xapian-bindings-1.4.3.tar.xz) = 1114408
Modified: head/databases/ruby-xapian/pkg-descr
==============================================================================
--- head/databases/xapian-bindings/pkg-descr Tue Apr 4 05:19:52 2017 (r437680)
+++ head/databases/ruby-xapian/pkg-descr Tue Apr 4 09:37:23 2017 (r437722)
@@ -1,4 +1,3 @@
-SWIG and JNI bindings allowing Xapian to be used from various other programming
-languages.
+Ruby binding for Xapian
-WWW: http://www.xapian.org/
+WWW: https://xapian.org/
Modified: head/databases/ruby-xapian/pkg-plist
==============================================================================
--- head/databases/xapian-bindings/pkg-plist Tue Apr 4 05:19:52 2017 (r437680)
+++ head/databases/ruby-xapian/pkg-plist Tue Apr 4 09:37:23 2017 (r437722)
@@ -1,9 +1,3 @@
-%%LUA%%%%LUA_MODLIBDIR%%/xapian.so
-%%PHP%%lib/php/%%PHP_EXT_DIR%%/xapian.so
-%%PHP%%%%DATADIR%%/php5/xapian.php
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/xapian/__init__.py
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/xapian/__init__.pyc
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/xapian/__init__.pyo
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/xapian/_xapian.so
-%%RUBY%%%%RUBY_SITELIBDIR%%/xapian.rb
-%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/_xapian.so
+%%RUBY_SITEARCHLIBDIR%%/_xapian.a
+%%RUBY_SITEARCHLIBDIR%%/_xapian.so
+%%RUBY_SITELIBDIR%%/xapian.rb
More information about the svn-ports-all
mailing list