diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2015-03-15 09:36:33 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2015-03-15 09:36:33 +0000 |
commit | 569458216365909c4ba2a9e3984078fe45ba3349 (patch) | |
tree | 1beed8cc39d3ce15b250abfe820086e55131c73b /textproc/lucene5 | |
parent | 6034fcc4987f2c5f9b55a2a5503395be611b069a (diff) | |
download | ports-569458216365909c4ba2a9e3984078fe45ba3349.tar.gz ports-569458216365909c4ba2a9e3984078fe45ba3349.zip |
Notes
Diffstat (limited to 'textproc/lucene5')
-rw-r--r-- | textproc/lucene5/Makefile | 90 | ||||
-rw-r--r-- | textproc/lucene5/distinfo | 2 | ||||
-rw-r--r-- | textproc/lucene5/pkg-descr | 5 |
3 files changed, 97 insertions, 0 deletions
diff --git a/textproc/lucene5/Makefile b/textproc/lucene5/Makefile new file mode 100644 index 000000000000..ff0094316b48 --- /dev/null +++ b/textproc/lucene5/Makefile @@ -0,0 +1,90 @@ +# Created by: Jason Helfman <jgh@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= lucene +PORTVERSION= 5.0.0 +CATEGORIES= textproc java devel +MASTER_SITES= APACHE +MASTER_SITE_SUBDIR= ${PORTNAME}/java/${PORTVERSION}/ + +MAINTAINER= mva@FreeBSD.org +COMMENT= Full-text search engine for Java, 5.x branch + +LICENSE= APACHE20 + +CONFLICTS= lucene-[0-9].* + +USES= tar:tgz +USE_JAVA= yes +NO_BUILD= yes +JAVA_VERSION= 1.7+ + +OPTIONS_DEFINE= CONTRIB DOCS EXAMPLES +CONTRIB_DESC= Install contributed jars +OPTIONS_DEFAULT= CONTRIB + +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}-core-${PORTVERSION}.jar +PKGNAMESUFFIX:= 5 +LASTEST_LINK= ${PORTNAME}5 + +.include <bsd.port.options.mk> + +CONTRIBS= backward-codecs \ + benchmark \ + classification \ + codecs \ + demo \ + expressions \ + facet \ + grouping \ + highlighter \ + join \ + memory \ + misc \ + queries \ + queryparser \ + replicator \ + sandbox \ + spatial \ + suggest + +EXTRA_CONTRIBS_DIRS= common \ + icu \ + kuromoji \ + morfologik \ + phonetic \ + smartcn \ + stempel \ + uima + +.if ${PORT_OPTIONS:MCONTRIB} +.for f in ${CONTRIBS} +PLIST_FILES+=%%JAVAJARDIR%%/${PORTNAME}-${f}-${PORTVERSION}.jar +.endfor +.for g in ${EXTRA_CONTRIBS_DIRS} +PLIST_FILES+=%%JAVAJARDIR%%/${PORTNAME}-analyzers-${g}-${PORTVERSION}.jar +.endfor +.endif + +PORTDOCS= * +PORTEXAMPLES= * + +do-install: + ${INSTALL_DATA} ${WRKSRC}/core/${PORTNAME}-core-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR} +.if ${PORT_OPTIONS:MCONTRIB} +. for f in ${CONTRIBS} + ${INSTALL_DATA} ${WRKSRC}/${f}/${PORTNAME}-${f}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR} +. endfor +. for d in ${EXTRA_CONTRIBS_DIRS} + ${INSTALL_DATA} ${WRKSRC}/analysis/${d}/${PORTNAME}-analyzers-${d}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR} +. endfor +.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for i in CHANGES.txt NOTICE.txt README.txt + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} +.endfor + (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/demo/${PORTNAME}-demo-${PORTVERSION}.jar ${STAGEDIR}${EXAMPLESDIR} + +.include <bsd.port.mk> diff --git a/textproc/lucene5/distinfo b/textproc/lucene5/distinfo new file mode 100644 index 000000000000..74ca33f593f1 --- /dev/null +++ b/textproc/lucene5/distinfo @@ -0,0 +1,2 @@ +SHA256 (lucene-5.0.0.tgz) = de92dd2156578dd97498882ce357615f42813189026e99b57cd191b39ae1d047 +SIZE (lucene-5.0.0.tgz) = 67083265 diff --git a/textproc/lucene5/pkg-descr b/textproc/lucene5/pkg-descr new file mode 100644 index 000000000000..622cf88894b7 --- /dev/null +++ b/textproc/lucene5/pkg-descr @@ -0,0 +1,5 @@ +Lucene 5.x is a Java full-text search engine. Lucene is not a complete +application, but rather a code library and API that can easily be used +to add search capabilities to applications. + +WWW: http://lucene.apache.org/java/ |