aboutsummaryrefslogtreecommitdiff
path: root/textproc/mifluz/Makefile
blob: 1bff2893a68f861dbc0fe989046d6df4e360510e (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
35
36
# Created by: Frederic Dubuy <fdubuy@free.fr>
# $FreeBSD$

PORTNAME=	mifluz
PORTVERSION=	0.26.0
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	GNU

MAINTAINER=	ports@FreeBSD.org
COMMENT=	C++ library to build and query a full text inverted index

LICENSE=	GPLv3

USES=		bison compiler iconv libtool makeinfo pathfix
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-posixmutexes \
		--localstatedir="${PREFIX}/var" \
		--without-unac
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes

CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang=	-Wno-c++11-narrowing
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

SUB_FILES=	pkg-message

INFO=		mifluz

post-patch:
	@${REINPLACE_CMD} -e \
		'/^#ifndef HAVE_ALLOCA/s|_H||' ${WRKSRC}/clib/strncoll2.c

.include <bsd.port.mk>