2017-04-04 11:37:23 +02:00
|
|
|
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xapian
|
2018-11-05 22:44:05 +01:00
|
|
|
PORTVERSION= 1.4.9
|
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
2018-12-12 02:35:33 +01:00
|
|
|
PORTREVISION= 1
|
2017-04-04 11:37:23 +02:00
|
|
|
DISTVERSIONPREFIX= bindings-
|
2017-05-31 19:29:49 +02:00
|
|
|
CATEGORIES= databases ruby
|
2018-09-23 11:38:36 +02:00
|
|
|
MASTER_SITES= https://oligarchy.co.uk/xapian/${PORTVERSION}/ \
|
2017-04-04 11:37:23 +02:00
|
|
|
LOCAL/sunpoet
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
|
|
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
|
|
|
|
|
2017-10-10 13:16:53 +02:00
|
|
|
CONFLICTS_INSTALL= xapian-bindings12
|
|
|
|
|
2017-04-04 11:37:23 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
|
2018-10-28 01:22:06 +02:00
|
|
|
USES= compiler:c++11-lang libtool tar:xz
|
|
|
|
USE_RUBY= yes
|
|
|
|
|
2017-04-04 11:37:23 +02:00
|
|
|
CONFIGURE_ARGS= --datarootdir=${DATADIR} --docdir=${DOCSDIR} \
|
|
|
|
--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
|
2018-10-28 01:22:06 +02:00
|
|
|
USE_CXXSTD= c++11
|
2017-04-04 11:37:23 +02:00
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/configure
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|