blob: 868f0ab45633654897afd0ce3ad60bd20c0a7426 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.4 2009/01/21 06:42:32 dsainty Exp $
#
DISTNAME= xapian-core-1.0.10
PKGNAME= ${DISTNAME:S/-core//}
CATEGORIES= textproc
MASTER_SITES= http://oligarchy.co.uk/xapian/1.0.10/
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://xapian.org/
COMMENT= Search engine based on Probabilistic Information Retrieval
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
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"
|