pkgsrc/textproc/xapian/Makefile
schmonz 9236dd152e Update to 1.0.16. From the changelog:
flint backend:
* Fix a typo which stopped this fix in 1.0.12 from working (ticket #398):
  If we fail to get the lock after we spawn the child lock process (the common
  case is because the database is already open for writing) then we now clean
  up the child process properly.

documentation:
* Improve API documentation of QueryParser::set_default_op() and
  QueryParser::get_default_op().

portability:
* Fix build failure on Mac OS X 10.6.
2009-09-10 18:53:47 +00:00

45 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2009/09/10 18:53:47 schmonz Exp $
#
DISTNAME= xapian-core-1.0.16
PKGNAME= ${DISTNAME:S/-core//}
CATEGORIES= textproc
MASTER_SITES= http://oligarchy.co.uk/xapian/1.0.16/
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://xapian.org/
COMMENT= Search engine based on Probabilistic Information Retrieval
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
TEST_TARGET= check
PKG_OPTIONS_VAR= PKG_OPTIONS.xapian
PKG_SUPPORTED_OPTIONS= xapian-flint-backend xapian-quartz-backend
PKG_SUGGESTED_OPTIONS= xapian-flint-backend xapian-quartz-backend
.include "../../mk/bsd.options.mk"
PLIST_VARS+= quartz
.if !empty(PKG_OPTIONS:Mxapian-quartz-backend)
CONFIGURE_ARGS+= --enable-backend-quartz
PLIST.quartz= yes
.else
CONFIGURE_ARGS+= --disable-backend-quartz
.endif
PLIST_VARS+= flint
.if !empty(PKG_OPTIONS:Mxapian-flint-backend)
CONFIGURE_ARGS+= --enable-backend-flint
PLIST.flint= yes
.else
CONFIGURE_ARGS+= --disable-backend-flint
.endif
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"