aboutsummaryrefslogtreecommitdiff
path: root/mail/dovecot-fts-xapian/Makefile
blob: 04749693e8db26f8a2c8331d39f76b3b4c8351d8 (plain) (blame)
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
# $FreeBSD$

PORTNAME=	fts-xapian
PORTVERSION=	1.4.1
CATEGORIES=	mail
PKGNAMEPREFIX=	dovecot-

MAINTAINER=	juraj@lutter.sk
COMMENT=	Dovecot FTS plugin based on Xapian

LICENSE=	LGPL21

BUILD_DEPENDS=	dovecot>=2.3.7:mail/dovecot
LIB_DEPENDS=	libxapian.so:databases/xapian-core \
		libicuuc.so:devel/icu \
		libsqlite3.so:databases/sqlite3
RUN_DEPENDS=	dovecot>=2.3.7:mail/dovecot

USES=		autoreconf compiler:c++11-lang libtool pkgconfig

USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	grosjo

GNU_CONFIGURE=	yes

PLIST_FILES=	lib/dovecot/lib21_fts_xapian_plugin.a \
		lib/dovecot/lib21_fts_xapian_plugin.so

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dovecot/lib21_fts_xapian_plugin.so

.include <bsd.port.mk>