aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/elasticsearch-plugin-sql/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/elasticsearch-plugin-sql/Makefile b/textproc/elasticsearch-plugin-sql/Makefile
index c6e29a4d4e54..6bfdd1a3977d 100644
--- a/textproc/elasticsearch-plugin-sql/Makefile
+++ b/textproc/elasticsearch-plugin-sql/Makefile
@@ -12,7 +12,9 @@ COMMENT= ElasticSearch SQL plugin
LICENSE= APACHE20
-RUN_DEPENDS= elasticsearch>=1.5.0:${PORTSDIR}/textproc/elasticsearch
+RUN_DEPENDS= elasticsearch>=1.7.0:${PORTSDIR}/textproc/elasticsearch
+
+CONFLICTS= elasticsearch2-plugin-sql-2.*
USES= zip
NO_BUILD= yes
@@ -25,7 +27,6 @@ post-patch:
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins/sql
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins/sql/_site
${INSTALL_DATA} ${WRKSRC}/*.jar ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins/sql
cd ${WRKSRC} && ${COPYTREE_SHARE} _site ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins/sql