xref: /mports/databases/php-xapian/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	xapian
2PORTVERSION=	1.4.29
3DISTVERSIONPREFIX=	bindings-
4CATEGORIES=	databases
5MASTER_SITES=	https://oligarchy.co.uk/xapian/${PORTVERSION}/ \
6		FREEBSD_LOCAL/sunpoet
7PKGNAMEPREFIX=	${PHP_PKGNAMEPREFIX}
8
9MAINTAINER=	ports@MidnightBSD.org
10COMMENT=	PHP binding for Xapian
11WWW=		https://xapian.org/
12
13LICENSE=	gpl2
14LICENSE_FILE=	${WRKSRC}/COPYING
15
16BUILD_DEPENDS=	xapian-core>=${PORTVERSION}:databases/xapian-core
17LIB_DEPENDS=	libxapian.so:databases/xapian-core
18
19USES=		compiler:c++11-lang libtool php:build,flavors tar:xz
20
21CONFIGURE_ARGS=	--datarootdir=${DATADIR} \
22		--docdir=${DOCSDIR} \
23		--enable-shared \
24		--enable-static \
25		--with-php \
26		--without-csharp \
27		--without-java \
28		--without-lua \
29		--without-perl \
30		--without-python \
31		--without-python3 \
32		--without-ruby \
33		--without-tcl
34CONFIGURE_ENV=	PHP_CONFIG=${LOCALBASE}/bin/php-config
35GNU_CONFIGURE=	yes
36INSTALL_TARGET=	install-strip
37USE_CXXSTD=	c++11
38
39PLIST_SUB=	PHP_EXT_DIR=${PHP_EXT_DIR}
40
41CONFLICTS_INSTALL=	xapian-bindings12
42
43PORTSCOUT=	limitw:1,even
44
45OPTIONS_DEFINE=	DOCS
46
47.include <bsd.port.mk>
48

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026