# Created by: Willem van Engen PORTNAME= sword PORTVERSION= 1.8.1 PORTREVISION= 13 CATEGORIES= misc MASTER_SITES= http://crosswire.org/ftpmirror/pub/sword/source/v${PORTVERSION:R}/ MAINTAINER= ports@FreeBSD.org COMMENT= Framework for manipulating Bible texts LICENSE= GPLv2 BUILD_DEPENDS= cppunit-config:devel/cppunit USES= gmake libtool pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-conf \ --with-zlib INSTALL_TARGET= install-strip CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 SUB_FILES= pkg-message PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= CLUCENE CURL OPTIONS_DEFAULT= CLUCENE CURL CLUCENE_DESC= Include indexing capability CLUCENE_LIB_DEPENDS= libclucene-core.so:textproc/clucene \ libicudata.so:devel/icu CLUCENE_USES= compiler:c++11-lib CLUCENE_CONFIGURE_WITH= clucene=${LOCALBASE} icu CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= curl post-install: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install_config) ${MV} ${STAGEDIR}${PREFIX}/etc/sword.conf \ ${STAGEDIR}${PREFIX}/etc/sword.conf.sample .include