35 lines
775 B
Makefile
35 lines
775 B
Makefile
# Created by: Frederic Dubuy <fdubuy@free.fr>
|
|
|
|
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>
|