svn commit: r437717 - in head/databases: . p5-Xapian

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Apr 4 09:30:24 UTC 2017


Author: sunpoet
Date: Tue Apr  4 09:30:22 2017
New Revision: 437717
URL: https://svnweb.freebsd.org/changeset/ports/437717

Log:
  Add p5-Xapian 1.4.3.0
  
  This module wraps most methods of most Xapian classes. The missing classes and
  methods should be added in the future. It also provides a simplified, more
  'perlish' interface - as demonstrated above.
  
  The Xapian library is evolving very quickly at the time of writing, hence any
  documentation placed here would be likely to become out of date quite rapidly,
  and I do not have the patience to write some which could rapidly become
  redundant.
  
  WWW: https://xapian.org/

Added:
  head/databases/p5-Xapian/
  head/databases/p5-Xapian/Makefile   (contents, props changed)
  head/databases/p5-Xapian/distinfo   (contents, props changed)
  head/databases/p5-Xapian/pkg-descr   (contents, props changed)
  head/databases/p5-Xapian/pkg-plist   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Tue Apr  4 09:29:37 2017	(r437716)
+++ head/databases/Makefile	Tue Apr  4 09:30:22 2017	(r437717)
@@ -494,6 +494,7 @@
     SUBDIR += p5-Tie-LevelDB
     SUBDIR += p5-Time-Piece-MySQL
     SUBDIR += p5-TokyoCabinet
+    SUBDIR += p5-Xapian
     SUBDIR += p5-mysql-genocide
     SUBDIR += p5-tokyotyrant
     SUBDIR += pear-DB

Added: head/databases/p5-Xapian/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Xapian/Makefile	Tue Apr  4 09:30:22 2017	(r437717)
@@ -0,0 +1,46 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Xapian
+PORTVERSION=	1.4.3.0
+CATEGORIES=	databases perl5
+MASTER_SITES=	http://oligarchy.co.uk/xapian/${PORTVERSION:R}/ \
+		LOCAL/sunpoet
+PKGNAMEPREFIX=	p5-
+DISTNAME=	xapian-bindings-${PORTVERSION:R}
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Perl binding for Xapian
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	xapian-core>=${PORTVERSION:R}:databases/xapian-core
+LIB_DEPENDS=	libxapian.so:databases/xapian-core
+
+OPTIONS_DEFINE=	DOCS
+
+PORTSCOUT=	limitw:1,even
+
+CONFIGURE_ARGS=	--datarootdir=${DATADIR} --docdir=${DOCSDIR} \
+		--enable-static \
+		--with-perl \
+		--without-csharp --without-java --without-lua --without-php \
+		--without-python --without-python3 --without-ruby --without-tcl
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+LDFLAGS+=	-L${LOCALBASE}/lib/perl5/${PERL_VER}/mach/CORE -lperl
+USES=		libtool perl5 tar:xz
+
+PORTDOCS=	*
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/configure
+
+post-patch-DOCS-off:
+	@${REINPLACE_CMD} -e 's| install-dist_exampledataDATA install-docdataDATA||' ${WRKSRC}/perl/Makefile.in
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Xapian/Xapian.so
+
+.include <bsd.port.mk>

Added: head/databases/p5-Xapian/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Xapian/distinfo	Tue Apr  4 09:30:22 2017	(r437717)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1485562319
+SHA256 (xapian-bindings-1.4.3.tar.xz) = 65b5455bf81e4f39fda49a6ad99353b05889d11d7c4c2cae001a0a1e0dac0d87
+SIZE (xapian-bindings-1.4.3.tar.xz) = 1114408

Added: head/databases/p5-Xapian/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Xapian/pkg-descr	Tue Apr  4 09:30:22 2017	(r437717)
@@ -0,0 +1,10 @@
+This module wraps most methods of most Xapian classes. The missing classes and
+methods should be added in the future. It also provides a simplified, more
+'perlish' interface - as demonstrated above.
+
+The Xapian library is evolving very quickly at the time of writing, hence any
+documentation placed here would be likely to become out of date quite rapidly,
+and I do not have the patience to write some which could rapidly become
+redundant.
+
+WWW: https://xapian.org/

Added: head/databases/p5-Xapian/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Xapian/pkg-plist	Tue Apr  4 09:30:22 2017	(r437717)
@@ -0,0 +1,49 @@
+%%SITE_PERL%%/Xapian.pm
+%%SITE_PERL%%/Xapian/AssertionError.pm
+%%SITE_PERL%%/Xapian/BM25Weight.pm
+%%SITE_PERL%%/Xapian/BoolWeight.pm
+%%SITE_PERL%%/Xapian/Database.pm
+%%SITE_PERL%%/Xapian/DatabaseCorruptError.pm
+%%SITE_PERL%%/Xapian/DatabaseCreateError.pm
+%%SITE_PERL%%/Xapian/DatabaseError.pm
+%%SITE_PERL%%/Xapian/DatabaseLockError.pm
+%%SITE_PERL%%/Xapian/DatabaseModifiedError.pm
+%%SITE_PERL%%/Xapian/DatabaseOpeningError.pm
+%%SITE_PERL%%/Xapian/DatabaseVersionError.pm
+%%SITE_PERL%%/Xapian/DocNotFoundError.pm
+%%SITE_PERL%%/Xapian/Document.pm
+%%SITE_PERL%%/Xapian/ESet.pm
+%%SITE_PERL%%/Xapian/ESetIterator.pm
+%%SITE_PERL%%/Xapian/Enquire.pm
+%%SITE_PERL%%/Xapian/Error.pm
+%%SITE_PERL%%/Xapian/FeatureUnavailableError.pm
+%%SITE_PERL%%/Xapian/InternalError.pm
+%%SITE_PERL%%/Xapian/InvalidArgumentError.pm
+%%SITE_PERL%%/Xapian/InvalidOperationError.pm
+%%SITE_PERL%%/Xapian/LogicError.pm
+%%SITE_PERL%%/Xapian/MSet.pm
+%%SITE_PERL%%/Xapian/MSetIterator.pm
+%%SITE_PERL%%/Xapian/MultiValueSorter.pm
+%%SITE_PERL%%/Xapian/NetworkError.pm
+%%SITE_PERL%%/Xapian/NetworkTimeoutError.pm
+%%SITE_PERL%%/Xapian/PerlStopper.pm
+%%SITE_PERL%%/Xapian/PositionIterator.pm
+%%SITE_PERL%%/Xapian/PostingIterator.pm
+%%SITE_PERL%%/Xapian/Query.pm
+%%SITE_PERL%%/Xapian/QueryParser.pm
+%%SITE_PERL%%/Xapian/QueryParserError.pm
+%%SITE_PERL%%/Xapian/RSet.pm
+%%SITE_PERL%%/Xapian/RangeError.pm
+%%SITE_PERL%%/Xapian/RuntimeError.pm
+%%SITE_PERL%%/Xapian/SimpleStopper.pm
+%%SITE_PERL%%/Xapian/Stem.pm
+%%SITE_PERL%%/Xapian/Stopper.pm
+%%SITE_PERL%%/Xapian/TermGenerator.pm
+%%SITE_PERL%%/Xapian/TermIterator.pm
+%%SITE_PERL%%/Xapian/TradWeight.pm
+%%SITE_PERL%%/Xapian/UnimplementedError.pm
+%%SITE_PERL%%/Xapian/ValueIterator.pm
+%%SITE_PERL%%/Xapian/Weight.pm
+%%SITE_PERL%%/Xapian/WritableDatabase.pm
+%%SITE_ARCH%%/auto/Xapian/Xapian.a
+%%SITE_ARCH%%/auto/Xapian/Xapian.so


More information about the svn-ports-all mailing list