Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2017 09:33:54 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437719 - in head/databases: . lua-xapian
Message-ID:  <201704040933.v349XsPF092678@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Apr  4 09:33:54 2017
New Revision: 437719
URL: https://svnweb.freebsd.org/changeset/ports/437719

Log:
  Add lua-xapian 1.4.3 (copied from xapian-bindings)
  
  - Update to 1.4.3
  - Add BUILD_DEPENDS
  
  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/lua-xapian/
     - copied from r437680, head/databases/xapian-bindings/
Modified:
  head/databases/Makefile
  head/databases/lua-xapian/Makefile
  head/databases/lua-xapian/distinfo
  head/databases/lua-xapian/pkg-descr
  head/databases/lua-xapian/pkg-plist

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Tue Apr  4 09:32:41 2017	(r437718)
+++ head/databases/Makefile	Tue Apr  4 09:33:54 2017	(r437719)
@@ -167,6 +167,7 @@
     SUBDIR += linux-oracle-instantclient-sqlplus
     SUBDIR += liquibase
     SUBDIR += lmdb
+    SUBDIR += lua-xapian
     SUBDIR += luadbi
     SUBDIR += luasql-firebird
     SUBDIR += luasql-mysql

Modified: head/databases/lua-xapian/Makefile
==============================================================================
--- head/databases/xapian-bindings/Makefile	Tue Apr  4 05:19:52 2017	(r437680)
+++ head/databases/lua-xapian/Makefile	Tue Apr  4 09:33:54 2017	(r437719)
@@ -1,49 +1,42 @@
-# Created by: Gea-Suan Lin <gslin@gslin.org>
+# Created by: Po-Chuan Hsieh <sunpoet@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=	${LUA_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Bindings allowing Xapian to be used from various programming languages
+COMMENT=	Lua 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
+CONFLICTS_INSTALL=	xapian-bindings12-
+
+OPTIONS_DEFINE=	DOCS
 
 PORTSCOUT=	limitw:1,even
 
 CONFIGURE_ARGS=	--datarootdir=${DATADIR} --docdir=${DOCSDIR} \
-		--without-csharp --without-java --without-perl --without-tcl
+		--enable-static \
+		--with-lua \
+		--without-csharp --without-java --without-perl --without-php \
+		--without-python --without-python3 --without-ruby --without-tcl
+CONFIGURE_ENV=	LUA="${LUA_CMD}" LUA_INC="${LUA_INCDIR}" LUA_LIB="${LUA_MODLIBDIR}" LUA_SO=.so
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
-USES=		libtool tar:xz
+USES=		libtool lua 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/lua-xapian/distinfo
==============================================================================
--- head/databases/xapian-bindings/distinfo	Tue Apr  4 05:19:52 2017	(r437680)
+++ head/databases/lua-xapian/distinfo	Tue Apr  4 09:33:54 2017	(r437719)
@@ -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/lua-xapian/pkg-descr
==============================================================================
--- head/databases/xapian-bindings/pkg-descr	Tue Apr  4 05:19:52 2017	(r437680)
+++ head/databases/lua-xapian/pkg-descr	Tue Apr  4 09:33:54 2017	(r437719)
@@ -1,4 +1,3 @@
-SWIG and JNI bindings allowing Xapian to be used from various other programming
-languages.
+Lua binding for Xapian
 
-WWW: http://www.xapian.org/
+WWW: https://xapian.org/

Modified: head/databases/lua-xapian/pkg-plist
==============================================================================
--- head/databases/xapian-bindings/pkg-plist	Tue Apr  4 05:19:52 2017	(r437680)
+++ head/databases/lua-xapian/pkg-plist	Tue Apr  4 09:33:54 2017	(r437719)
@@ -1,9 +1,2 @@
-%%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
+%%LUA_MODLIBDIR%%/xapian.a
+%%LUA_MODLIBDIR%%/xapian.so



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