aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/apache-solr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/apache-solr/Makefile')
-rw-r--r--textproc/apache-solr/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/apache-solr/Makefile b/textproc/apache-solr/Makefile
index 6920b14f02fd..f18e78ef8998 100644
--- a/textproc/apache-solr/Makefile
+++ b/textproc/apache-solr/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= apache-solr
-PORTVERSION= 4.1.0
+PORTVERSION= 4.2.0
CATEGORIES= textproc java
MASTER_SITES= APACHE
MASTER_SITE_SUBDIR= lucene/solr/${PORTVERSION}
@@ -23,9 +23,11 @@ USE_JAVA= yes
PORTEXAMPLES= *
LATEST_LINK= apache-solr
+.include <bsd.port.options.mk>
+
do-install:
cd ${WRKSRC}/dist && ${COPYTREE_SHARE} \* ${JAVAJARDIR}
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/example && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
.endif