2020-02-15 15:38:26 +00:00

52 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2020/02/15 15:38:26 sthen Exp $
COMMENT= full text search plugin for Dovecot using Xapian
V= 1.2.9
GH_ACCOUNT= grosjo
GH_PROJECT= fts-xapian
GH_TAGNAME= ${V}
PKGNAME= dovecot-fts-xapian-${V}
# remove DISTNAME at next update; upstream rerolled the distfile
DISTNAME= fts-xapian-${V}-1
REVISION= 0
CATEGORIES= mail
HOMEPAGE= https://github.com/grosjo/fts-xapian
MAINTAINER= Tom Wong-Cornall <tom@wongcornall.com>
# LGPLv2.1
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} icudata icui18n icuio icuuc m uuid
WANTLIB += xapian z
COMPILER= base-clang ports-gcc
BUILD_DEPENDS= mail/dovecot
RUN_DEPENDS= mail/dovecot
LIB_DEPENDS= databases/xapian-core>=1.4.0 \
sysutils/e2fsprogs \
textproc/icu4c>=63.0
SEPARATE_BUILD= Yes
CONFIGURE_STYLE= autoreconf
CONFIGURE_ARGS= --with-dovecot=${LOCALBASE}/lib/dovecot
LIBTOOL_FLAGS= --tag=disable-static
AUTOCONF_VERSION= 2.69
AUTOMAKE_VERSION= 1.16
NO_TEST= Yes
post-install:
find ${PREFIX}/lib/dovecot -name '*.la' -delete
.include <bsd.port.mk>