aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/kibana5/Makefile
blob: 6e57772b8b8a3712b7af4d002c7843e3af4887a2 (plain) (blame)
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
32
33
34
35
# Created by: Tom Judge <tj@FreeBSD.org>
# $FreeBSD$

PORTNAME=   kibana
PORTVERSION=    5.3.0
DISTVERSIONSUFFIX=  -linux-x86
PORTREVISION=   1
CATEGORIES= textproc www
MASTER_SITES=   https://artifacts.elastic.co/downloads/kibana/ \
        http://artifacts.elastic.co/downloads/kibana/
PKGNAMESUFFIX?= 5

MAINTAINER= tj@FreeBSD.org
COMMENT=    Browser based analytics and search interface to ElasticSearch

LICENSE=    APACHE20

RUN_DEPENDS=    node>=0.8.0:www/node

CONFLICTS=  kibana[3-4]*

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

do-install:
    ${CP} ${WRKSRC}/config/kibana.yml ${STAGEDIR}${PREFIX}/etc/kibana.yml.sample
    ${MKDIR} ${STAGEDIR}${WWWDIR}
    cd ${WRKSRC} && \
        ${RM} -r bin config node && \
        ${RM} -r optimize/* && \
        ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}

.include <bsd.port.mk>