a9f015d155
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
44 lines
1 KiB
Makefile
44 lines
1 KiB
Makefile
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xapian
|
|
PORTVERSION= 1.4.9
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= bindings-
|
|
CATEGORIES= databases ruby
|
|
MASTER_SITES= https://oligarchy.co.uk/xapian/${PORTVERSION}/ \
|
|
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
|
|
|
|
CONFLICTS_INSTALL= xapian-bindings12
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
USES= compiler:c++11-lang libtool tar:xz
|
|
USE_RUBY= yes
|
|
|
|
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
|
|
USE_CXXSTD= c++11
|
|
|
|
PORTDOCS= *
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|