aboutsummaryrefslogtreecommitdiff
path: root/textproc/elasticsearch2-plugin-migration/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/elasticsearch2-plugin-migration/Makefile')
-rw-r--r--textproc/elasticsearch2-plugin-migration/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/textproc/elasticsearch2-plugin-migration/Makefile b/textproc/elasticsearch2-plugin-migration/Makefile
new file mode 100644
index 000000000000..db45a8165e37
--- /dev/null
+++ b/textproc/elasticsearch2-plugin-migration/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= migration
+PORTVERSION= 2.0.0
+DISTVERSIONPREFIX= v
+CATEGORIES= textproc
+PKGNAMEPREFIX= elasticsearch-plugin-
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= ElasticSearch Migration Plugin
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= elasticsearch2>=2.3.0:textproc/elasticsearch2
+
+USE_GITHUB= yes
+GH_ACCOUNT= elastic
+GH_PROJECT= elasticsearch-migration
+
+NO_BUILD= yes
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins/migration
+ cd ${WRKSRC} && ${COPYTREE_SHARE} _site ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins/migration
+ ${INSTALL_DATA} ${WRKSRC}/*.properties ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins/migration
+
+.include <bsd.port.mk>