From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 16 15:10:10 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C6891065678 for ; Mon, 16 Jul 2012 15:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E7E498FC1C for ; Mon, 16 Jul 2012 15:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6GFA9cZ033949 for ; Mon, 16 Jul 2012 15:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6GFA9JX033948; Mon, 16 Jul 2012 15:10:09 GMT (envelope-from gnats) Resent-Date: Mon, 16 Jul 2012 15:10:09 GMT Resent-Message-Id: <201207161510.q6GFA9JX033948@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Veniamin Gvozdikov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CA66106564A for ; Mon, 16 Jul 2012 15:03:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 267628FC14 for ; Mon, 16 Jul 2012 15:03:20 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q6GF3JrV009168 for ; Mon, 16 Jul 2012 15:03:19 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q6GF3J7n009167; Mon, 16 Jul 2012 15:03:19 GMT (envelope-from nobody) Message-Id: <201207161503.q6GF3J7n009167@red.freebsd.org> Date: Mon, 16 Jul 2012 15:03:19 GMT From: Veniamin Gvozdikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/169912: [update] databases/xapian-bindings added support perl and lua bindings X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2012 15:10:10 -0000 >Number: 169912 >Category: ports >Synopsis: [update] databases/xapian-bindings added support perl and lua bindings >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 16 15:10:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Veniamin Gvozdikov >Release: FreeBSD 8.2-RELEASE >Organization: >Environment: FreeBSD ololo 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Aug 18 11:19:07 MSD 2011 root@ololo:/usr/obj/usr/src/sys/OLOLO amd64 >Description: Added support perl and lua bindings. >How-To-Repeat: >Fix: diff -ruN xapian-bindings.orig/Makefile xapian-bindings/Makefile --- xapian-bindings.orig/Makefile 2012-07-16 18:34:52.801602568 +0400 +++ xapian-bindings/Makefile 2012-07-16 18:53:22.695123393 +0400 @@ -7,6 +7,7 @@ PORTNAME= xapian-bindings PORTVERSION= 1.2.12 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://oligarchy.co.uk/xapian/${PORTVERSION}/ \ LOCAL/sunpoet @@ -18,8 +19,8 @@ LIB_DEPENDS= xapian:${PORTSDIR}/databases/xapian-core -OPTIONS_DEFINE= DOCS PHP PYTHON RUBY -OPTIONS_DEFAULT=PHP PYTHON RUBY +OPTIONS_DEFINE= DOCS LUA PERL PHP PYTHON RUBY +OPTIONS_DEFAULT=LUA PERL PHP PYTHON RUBY PORTSCOUT= limitw:1,even @@ -29,6 +30,27 @@ .include +.if ${PORT_OPTIONS:MLUA} +CONFIGURE_ARGS+=--with-lua +CONFIGURE_ENV+= LUA="${LUA_CMD}" LUA_INC="${LUA_INCDIR}" \ + LUA_SO=".so" LUA_LIB="${LUA_MODLIBDIR}" +USE_LUA?= 5.1+ +PLIST_SUB+= BINDING_LUA="" +.else +CONFIGURE_ARGS+=--without-lua +PLIST_SUB+= BINDING_LUA="@comment " +.endif + +.if ${PORT_OPTIONS:MPERL} +CONFIGURE_ARGS+=--with-perl +CONFIGURE_ENV+= PERL_LIB="${SITE_PERL}" +USE_PERL= yes +PLIST_SUB+= BINDING_PERL="" +.else +CONFIGURE_ARGS+=--without-perl +PLIST_SUB+= BINDING_PERL="@comment " +.endif + .if ${PORT_OPTIONS:MPHP} CONFIGURE_ARGS+=--with-php CONFIGURE_ENV+= PHP_CONFIG="${LOCALBASE}/bin/php-config" @@ -64,7 +86,7 @@ # do not install rdoc @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' ${WRKSRC}/ruby/Makefile.in .if empty(PORT_OPTIONS:MDOCS) - @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-dist_docdataDATA install-dist_exampledataDATA ||' ${WRKSRC}/php/Makefile.in ${WRKSRC}/python/Makefile.in + @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-dist_docdataDATA install-dist_exampledataDATA ||' ${WRKSRC}/php/Makefile.in ${WRKSRC}/python/Makefile.in ${WRKSRC}/perl/Makefile.in ${WRKSRC}/lua/Makefile.in @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-dist_docdataDATA||; 760 s|install-dist_exampledataDATA ||' ${WRKSRC}/ruby/Makefile.in .endif diff -ruN xapian-bindings.orig/pkg-plist xapian-bindings/pkg-plist --- xapian-bindings.orig/pkg-plist 2012-07-16 18:34:52.801602568 +0400 +++ xapian-bindings/pkg-plist 2012-07-16 18:50:05.289263710 +0400 @@ -1,3 +1,72 @@ +%%BINDING_LUA%%%%PORTDOCS%%%%DOCSDIR%%/lua/index.html +%%BINDING_LUA%%%%PORTDOCS%%%%DOCSDIR%%/lua/examples/simplematchdecider.lua +%%BINDING_LUA%%%%PORTDOCS%%%%DOCSDIR%%/lua/examples/simpleexpand.lua +%%BINDING_LUA%%%%PORTDOCS%%%%DOCSDIR%%/lua/examples/simplesearch.lua +%%BINDING_LUA%%%%PORTDOCS%%%%DOCSDIR%%/lua/examples/simpleindex.lua +%%BINDING_LUA%%%%PORTDOCS%%@dirrm %%DOCSDIR%%/lua/examples +%%BINDING_LUA%%%%PORTDOCS%%@dirrm %%DOCSDIR%%/lua +%%BINDING_LUA%%%%LUA_MODLIBDIR%%/xapian.so +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/AssertionError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/BM25Weight.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/BoolWeight.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/Database.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/DatabaseCorruptError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/DatabaseCreateError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/DatabaseError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/DatabaseLockError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/DatabaseModifiedError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/DatabaseOpeningError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/DatabaseVersionError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/DocNotFoundError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/Document.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/ESet.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/ESetIterator.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/Enquire.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/Error.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/FeatureUnavailableError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/InternalError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/InvalidArgumentError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/InvalidOperationError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/LogicError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/MSet.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/MSetIterator.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/MultiValueSorter.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/NetworkError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/NetworkTimeoutError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/PerlStopper.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/PositionIterator.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/PostingIterator.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/Query.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/QueryParser.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/QueryParserError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/RSet.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/RangeError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/RuntimeError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/SimpleStopper.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/Stem.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/Stopper.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/TermGenerator.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/TermIterator.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/TradWeight.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/UnimplementedError.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/ValueIterator.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/Weight.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian/WritableDatabase.pm +%%BINDING_PERL%%%%SITE_PERL%%/Search/Xapian.pm +%%BINDING_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/Xapian/Xapian.so +%%BINDING_PERL%%%%PORTDOCS%%%%DOCSDIR%%/perl/index.html +%%BINDING_PERL%%%%PORTDOCS%%%%DOCSDIR%%/perl/examples/simpleindex.pl +%%BINDING_PERL%%%%PORTDOCS%%%%DOCSDIR%%/perl/examples/simplematchdecider.pl +%%BINDING_PERL%%%%PORTDOCS%%%%DOCSDIR%%/perl/examples/full-searcher.pl +%%BINDING_PERL%%%%PORTDOCS%%%%DOCSDIR%%/perl/examples/simplesearch.pl +%%BINDING_PERL%%%%PORTDOCS%%%%DOCSDIR%%/perl/examples/full-indexer.pl +%%BINDING_PERL%%%%PORTDOCS%%%%DOCSDIR%%/perl/examples/simpleexpand.pl +%%BINDING_PERL%%@dirrm %%SITE_PERL%%/Search/Xapian +%%BINDING_PERL%%@dirrm %%SITE_PERL%%/Search +%%BINDING_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Search/Xapian +%%BINDING_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Search +%%BINDING_PERL%%%%PORTDOCS%%@dirrm %%DOCSDIR%%/perl/examples +%%BINDING_PERL%%%%PORTDOCS%%@dirrm %%DOCSDIR%%/perl %%BINDING_PHP%%lib/php/%%PHP_EXT_DIR%%/xapian.so %%BINDING_PHP%%%%DATADIR%%/php5/xapian.php %%BINDING_PHP%%%%PORTDOCS%%%%DOCSDIR%%/php/examples/simpleexpand.php5 >Release-Note: >Audit-Trail: >Unformatted: