summaryrefslogtreecommitdiff
path: root/textproc/kibana41/Makefile
blob: 3820250d8efbe1ae371c0342963c84099d297d89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Sergey Kozlov <kozlov.sergey.404@gmail.com>
# $FreeBSD$

PORTNAME=	kibana
PORTVERSION=	4.1.11
DISTVERSIONSUFFIX=	-linux-x86
CATEGORIES=	textproc www
MASTER_SITES=	http://download.elastic.co/kibana/kibana/
PKGNAMESUFFIX=	41

MAINTAINER=	kozlov.sergey.404@gmail.com
COMMENT=	Browser based analytics and search interface to ElasticSearch

LICENSE=	APACHE20

RUN_DEPENDS=	node4>=4.3.2:www/node4

NO_BUILD=	yes
NO_ARCH=	yes
WWWDIR=		${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX}
USE_RC_SUBR=	${PORTNAME}

do-install:
	@${MKDIR} ${STAGEDIR}${WWWDIR}
	@cd ${WRKSRC}/src && \
		${RM} config/kibana.yml bin/kibana.sh bin/kibana.bat && \
		${RM} -rf node_modules/bunyan/node_modules/dtrace-provider && \
		${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
	@${CP} ${WRKSRC}/config/kibana.yml ${STAGEDIR}${PREFIX}/etc/kibana.yml.sample

.include <bsd.port.mk>