diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-04-04 09:30:22 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-04-04 09:30:22 +0000 |
commit | 287af15bd33c9f3e2b8d72a75613a5752a0dfa9c (patch) | |
tree | 4bceda2c319b9739a91df577a05e90a0b63878dc /databases/p5-Xapian | |
parent | 0380311d1e1bffd9209961d9186fa47d6ed1fece (diff) | |
download | ports-287af15bd33c9f3e2b8d72a75613a5752a0dfa9c.tar.gz ports-287af15bd33c9f3e2b8d72a75613a5752a0dfa9c.zip |
Notes
Diffstat (limited to 'databases/p5-Xapian')
-rw-r--r-- | databases/p5-Xapian/Makefile | 46 | ||||
-rw-r--r-- | databases/p5-Xapian/distinfo | 3 | ||||
-rw-r--r-- | databases/p5-Xapian/pkg-descr | 10 | ||||
-rw-r--r-- | databases/p5-Xapian/pkg-plist | 49 |
4 files changed, 108 insertions, 0 deletions
diff --git a/databases/p5-Xapian/Makefile b/databases/p5-Xapian/Makefile new file mode 100644 index 000000000000..678c568af82d --- /dev/null +++ b/databases/p5-Xapian/Makefile @@ -0,0 +1,46 @@ +# Created by: Po-Chuan Hsieh <sunpoet@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@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> diff --git a/databases/p5-Xapian/distinfo b/databases/p5-Xapian/distinfo new file mode 100644 index 000000000000..09c72f562dee --- /dev/null +++ b/databases/p5-Xapian/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1485562319 +SHA256 (xapian-bindings-1.4.3.tar.xz) = 65b5455bf81e4f39fda49a6ad99353b05889d11d7c4c2cae001a0a1e0dac0d87 +SIZE (xapian-bindings-1.4.3.tar.xz) = 1114408 diff --git a/databases/p5-Xapian/pkg-descr b/databases/p5-Xapian/pkg-descr new file mode 100644 index 000000000000..3e9226b569d5 --- /dev/null +++ b/databases/p5-Xapian/pkg-descr @@ -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/ diff --git a/databases/p5-Xapian/pkg-plist b/databases/p5-Xapian/pkg-plist new file mode 100644 index 000000000000..3620251dba15 --- /dev/null +++ b/databases/p5-Xapian/pkg-plist @@ -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 |