aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2023-03-14 21:15:14 +0000
committerDon Lewis <truckman@FreeBSD.org>2023-03-14 21:19:46 +0000
commit1cd93b0423e1a07753ad87f7357cf60cac27b9d3 (patch)
tree2561565152d2689ecd433e590757bb0cd18003e9
parente0a892ced94cf2502b2f8401b24c358bd3f7f6a1 (diff)
downloadports-1cd93b0423e1a07753ad87f7357cf60cac27b9d3.tar.gz
ports-1cd93b0423e1a07753ad87f7357cf60cac27b9d3.zip
textproc/lucene: Openoffice requires CONTRIB
Note that editors/openoffice-* requires the CONTRIB option, which is enabled by default. Pet portlint. PR: 270158 Reported by: Ken Gunderson <kgunders@teamcool.net>
-rw-r--r--textproc/lucene/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/textproc/lucene/Makefile b/textproc/lucene/Makefile
index a3475c765428..4e5c24752f35 100644
--- a/textproc/lucene/Makefile
+++ b/textproc/lucene/Makefile
@@ -11,22 +11,22 @@ WWW= https://lucene.apache.org/core/
LICENSE= APACHE20
-CONFLICTS= lucene4-[0-9].*
-
-PORTSCOUT= limit:^3\.
-
USES= cpe tar:tgz
USE_JAVA= yes
NO_BUILD= yes
NO_ARCH= yes
+CONFLICTS= lucene4-[0-9].*
+
+PORTSCOUT= limit:^3\.
+
CPE_VENDOR= apache
OPTIONS_DEFINE= CONTRIB DOCS EXAMPLES
-CONTRIB_DESC= Install contributed jars
+CONTRIB_DESC= Install contributed jars (required by openoffice)
OPTIONS_DEFAULT= CONTRIB
-PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}-core-${PORTVERSION}.jar
+PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}-core-${PORTVERSION}.jar
CONTRIBS= benchmark \
demo \
@@ -54,7 +54,7 @@ EXTRA_CONTRIBS_DIRS= kuromoji \
stempel
.for f in ${EXTRA_CONTRIBS_BASE} ${CONTRIBS} ${EXTRA_CONTRIBS_DIRS}
-CONTRIB_PLIST_FILES+= %%JAVAJARDIR%%/${PORTNAME}-${f}-${PORTVERSION}.jar
+CONTRIB_PLIST_FILES+= ${JAVAJARDIR}/${PORTNAME}-${f}-${PORTVERSION}.jar
.endfor
PORTDOCS= *