blob: b6aa3776abedb9bf66c6507e52f7484b2ace0a5b (
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
|
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
# $FreeBSD$
PORTNAME= clucene
PORTVERSION= 2.3.3.4
PORTREVISION= 2
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= AL2 LGPL21
LICENSE_COMB= dual
BUILD_DEPENDS= ${LOCALBASE}/lib/libboost_regex.a:${PORTSDIR}/devel/boost-libs
USES= cmake iconv
USE_LDCONFIG= yes
CMAKE_ARGS= -DBUILD_CONTRIBS_LIB=ON
CXXFLAGS+= -D__LONG_LONG_SUPPORTED -D_WCHAR_H_CPLUSPLUS_98_CONFORMANCE_
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR_REL}|' \
${WRKSRC}/src/core/CMakeLists.txt
.include <bsd.port.mk>
|