707c6bf295
Ports that build out of source now simply can use "USES=cmake" instead of "USES=cmake:outsource". Ports that fail to build out of source now need to specify "USES=cmake:insource". I tried to only set insource where explictely needed. PR: 232038 Exp-run by: antoine
34 lines
724 B
Makefile
34 lines
724 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= lucene++
|
|
PORTVERSION= 3.0.7
|
|
DISTVERSIONPREFIX= rel_
|
|
PORTREVISION= 10
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= arved@FreeBSD.org
|
|
COMMENT= C++ port of the Lucene library
|
|
|
|
LICENSE= LGPL3
|
|
LICENSE_FILE= ${WRKSRC}/LGPL.license
|
|
|
|
LIB_DEPENDS= libboost_system.so:devel/boost-libs
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= luceneplusplus
|
|
GH_PROJECT= LucenePlusPlus
|
|
USES= cmake compiler:c++11-lang
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} "/cotire/d" ${WRKSRC}/src/contrib/CMakeLists.txt \
|
|
${WRKSRC}/src/core/CMakeLists.txt \
|
|
${WRKSRC}/src/test/CMakeLists.txt
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/include &&${INSTALL_DATA} *.h \
|
|
${STAGEDIR}${PREFIX}/include/lucene++/
|
|
|
|
.include <bsd.port.post.mk>
|