Files
bsdports/libre/libclucene/Makefile
2019-12-26 12:06:15 +00:00

32 lines
872 B
Makefile

# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
# $FreeBSD: head/textproc/clucene/Makefile 439934 2017-05-02 06:48:10Z jbeich $
PORTNAME= clucene
PORTVERSION= 2.3.3.4
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-core-unstable/2.3
DISTNAME= ${PORTNAME}-core-${PORTVERSION}
PKGNAMEPREFIX= lib
MAINTAINER= office@FreeBSD.org
COMMENT= CLucene is a C++ port of Lucene
BUILD_DEPENDS= ${LOCALBASE}/boost64/lib/libboost_regex.a:devel/libboost64
USES= cmake gmake
USE_LDCONFIG= yes
CMAKE_ARGS= -DBUILD_CONTRIBS_LIB=ON
CXXFLAGS+= -D__LONG_LONG_SUPPORTED -D_WCHAR_H_CPLUSPLUS_98_CONFORMANCE_
LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/boost64/lib
CPPFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/boost64/include
post-patch:
${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR_REL}|' \
${WRKSRC}/src/core/CMakeLists.txt
.include <bsd.port.mk>
#EOF