aboutsummaryrefslogblamecommitdiff
path: root/mail/dovecot-fts-elastic/Makefile
blob: 775a96191b0993b5f364c83b0d0b182a05abf541 (plain) (tree)
1
2
3
4
5
6
7
8
9

                           
                 




                                                                 
                                                         
























                                                                                 
PORTNAME=	fts-elastic
PORTVERSION=	1.1.0
PORTREVISION=	3
CATEGORIES=	mail
PKGNAMEPREFIX=	dovecot-

MAINTAINER=	bgupta@kde.org
COMMENT=	Dovecot FTS plugin for using ElasticSearch 6 or 7
WWW=		https://github.com/filiphanes/fts-elastic

LICENSE=	MIT

BUILD_DEPENDS=	dovecot>=2.3.7:mail/dovecot
LIB_DEPENDS=	libjson-c.so:devel/json-c
RUN_DEPENDS=	dovecot>=2.3.7:mail/dovecot

USES=		autoreconf libtool

USE_GITHUB=	yes
GH_ACCOUNT=	filiphanes
GH_TAGNAME=     ${PORTVERSION}

USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
LDFLAGS+=       -L${LOCALBASE}/lib
CPPFLAGS+=      -I${LOCALBASE}/include

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

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

.include <bsd.port.mk>