|
Lines 8-14
Link Here
|
| 8 |
MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v${PORTVERSION:R}/ \ |
8 |
MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v${PORTVERSION:R}/ \ |
| 9 |
http://crosswire.org/ftpmirror/pub/sword/source/v${PORTVERSION:R}/ |
9 |
http://crosswire.org/ftpmirror/pub/sword/source/v${PORTVERSION:R}/ |
| 10 |
|
10 |
|
| 11 |
MAINTAINER= ports@FreeBSD.org |
11 |
MAINTAINER= salvadore@FreeBSD.org |
| 12 |
COMMENT= Framework for manipulating Bible texts |
12 |
COMMENT= Framework for manipulating Bible texts |
| 13 |
|
13 |
|
| 14 |
LICENSE= GPLv2 |
14 |
LICENSE= GPLv2 |
|
Lines 15-53
Link Here
|
| 15 |
|
15 |
|
| 16 |
BUILD_DEPENDS= cppunit-config:devel/cppunit |
16 |
BUILD_DEPENDS= cppunit-config:devel/cppunit |
| 17 |
|
17 |
|
|
|
18 |
USES= gmake libtool pathfix pkgconfig |
| 19 |
USE_LDCONFIG= yes |
| 20 |
|
| 18 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
| 19 |
CONFIGURE_ARGS= --with-conf --with-zlib |
22 |
CONFIGURE_ARGS= --with-conf --with-zlib |
| 20 |
CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 |
23 |
CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 |
| 21 |
INSTALL_TARGET= install-strip |
24 |
INSTALL_TARGET= install-strip |
| 22 |
USES= gmake libtool pathfix pkgconfig |
25 |
|
| 23 |
USE_LDCONFIG= yes |
|
|
| 24 |
SUB_FILES= pkg-message |
26 |
SUB_FILES= pkg-message |
| 25 |
|
|
|
| 26 |
PLIST_SUB= PORTVERSION=${PORTVERSION} |
27 |
PLIST_SUB= PORTVERSION=${PORTVERSION} |
| 27 |
|
28 |
|
| 28 |
OPTIONS_DEFINE= CURL CLUCENE |
29 |
OPTIONS_DEFINE= CURL CLUCENE |
|
|
30 |
OPTIONS_DEFAULT=CURL CLUCENE |
| 29 |
CLUCENE_DESC= Include indexing capability |
31 |
CLUCENE_DESC= Include indexing capability |
| 30 |
OPTIONS_DEFAULT=CURL CLUCENE |
|
|
| 31 |
|
32 |
|
| 32 |
.include <bsd.port.options.mk> |
33 |
CURL_LIB_DEPENDS= libcurl.so:ftp/curl |
|
|
34 |
CURL_CONFIGURE_WITH= curl |
| 33 |
|
35 |
|
| 34 |
.if ${PORT_OPTIONS:MCURL} |
36 |
CLUCENE_USES= compiler:c++11-lib |
| 35 |
LIB_DEPENDS= libcurl.so:ftp/curl |
37 |
CLCUENE_LIB_DEPENDS= libclucene-core.so:textproc/clucene \ |
| 36 |
CONFIGURE_ARGS+= --with-curl |
38 |
libicudata.so:devel/icu |
| 37 |
.else |
39 |
CLUCENE_CONFIGURE_WITH= --with-clucene=${LOCALBASE} --with-icu |
| 38 |
CONFIGURE_ARGS+= --without-curl |
|
|
| 39 |
.endif |
| 40 |
|
40 |
|
| 41 |
.if ${PORT_OPTIONS:MCLUCENE} |
|
|
| 42 |
USES+= compiler:c++11-lib |
| 43 |
USE_CXXSTD= gnu++11 |
| 44 |
LIB_DEPENDS+= libclucene-core.so:textproc/clucene \ |
| 45 |
libicudata.so:devel/icu |
| 46 |
CONFIGURE_ARGS+= --with-clucene=${LOCALBASE} --with-icu |
| 47 |
.else |
| 48 |
CONFIGURE_ARGS+= --without-clucene --without-icu |
| 49 |
.endif |
| 50 |
|
| 51 |
post-patch: |
41 |
post-patch: |
| 52 |
@${REINPLACE_CMD} 's|-O3||' ${WRKSRC}/configure |
42 |
@${REINPLACE_CMD} 's|-O3||' ${WRKSRC}/configure |
| 53 |
|
43 |
|