1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/textproc/clucene/Makefile
Raphael Kubo da Costa bd7fbe226c Drop USES=iconv.
The port's build system does look for iconv, but the code does not use it
anywhere (it used to until 2009).

Approved by:	office (bapt)
2015-08-31 13:12:44 +00:00

30 lines
717 B
Makefile

# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
# $FreeBSD$
PORTNAME= clucene
PORTVERSION= 2.3.3.4
PORTREVISION= 7
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-core-unstable/2.3
DISTNAME= ${PORTNAME}-core-${PORTVERSION}
MAINTAINER= office@FreeBSD.org
COMMENT= CLucene is a C++ port of Lucene
LICENSE= APACHE20 LGPL21
LICENSE_COMB= dual
BUILD_DEPENDS= ${LOCALBASE}/lib/libboost_regex.a:${PORTSDIR}/devel/boost-libs
USES= cmake ninja
USE_LDCONFIG= yes
CMAKE_ARGS= -DBUILD_CONTRIBS_LIB=ON
CXXFLAGS+= -D__LONG_LONG_SUPPORTED -D_WCHAR_H_CPLUSPLUS_98_CONFORMANCE_
post-patch:
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR_REL}|' \
${WRKSRC}/src/core/CMakeLists.txt
.include <bsd.port.mk>