Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= elasticsearch |
4 |
PORTNAME= elasticsearch |
5 |
PORTVERSION= 1.3.2 |
5 |
PORTVERSION= 1.3.2 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= textproc java devel |
7 |
CATEGORIES= textproc java devel |
7 |
MASTER_SITES= http://download.elasticsearch.org/${PORTNAME}/${PORTNAME}/ \ |
8 |
MASTER_SITES= http://download.elasticsearch.org/${PORTNAME}/${PORTNAME}/ \ |
8 |
http://mirrors.rit.edu/zi/ |
9 |
http://mirrors.rit.edu/zi/ |
Lines 18-24
Link Here
|
18 |
ONLY_FOR_ARCHS= i386 amd64 |
19 |
ONLY_FOR_ARCHS= i386 amd64 |
19 |
USE_RC_SUBR= ${PORTNAME} |
20 |
USE_RC_SUBR= ${PORTNAME} |
20 |
|
21 |
|
21 |
|
|
|
22 |
OPTIONS_DEFINE= DOCS |
22 |
OPTIONS_DEFINE= DOCS |
23 |
|
23 |
|
24 |
.include <bsd.port.options.mk> |
24 |
.include <bsd.port.options.mk> |
Lines 65-71
Link Here
|
65 |
SUB_LIST= SEARCHUSER=${SEARCHUSER} \ |
65 |
SUB_LIST= SEARCHUSER=${SEARCHUSER} \ |
66 |
SEARCHGROUP=${SEARCHGROUP} \ |
66 |
SEARCHGROUP=${SEARCHGROUP} \ |
67 |
PORTVERSION=${PORTVERSION} |
67 |
PORTVERSION=${PORTVERSION} |
68 |
SUB_FILES= elasticsearch-plugin |
68 |
SUB_FILES= elasticsearch-plugin pkg-message |
69 |
PLIST_SUB= SIGAR_ARCH=${SIGAR_ARCH} \ |
69 |
PLIST_SUB= SIGAR_ARCH=${SIGAR_ARCH} \ |
70 |
SEARCHUSER=${SEARCHUSER} \ |
70 |
SEARCHUSER=${SEARCHUSER} \ |
71 |
SEARCHGROUP=${SEARCHGROUP} \ |
71 |
SEARCHGROUP=${SEARCHGROUP} \ |
Lines 78-86
Link Here
|
78 |
${SED} -i .bak -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/config/elasticsearch.yml |
78 |
${SED} -i .bak -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/config/elasticsearch.yml |
79 |
|
79 |
|
80 |
do-install: |
80 |
do-install: |
81 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/elasticsearch |
81 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/elasticsearch ${STAGEDIR}${DATADIR} |
82 |
.for f in ${CONFIG_FILES} |
82 |
.for f in ${CONFIG_FILES} |
83 |
${INSTALL} -m 440 ${WRKSRC}/config/${f} ${STAGEDIR}${PREFIX}/etc/elasticsearch/${f}.sample |
83 |
${INSTALL} -m 440 ${WRKSRC}/config/${f} ${STAGEDIR}${DATADIR}/${f}.sample |
84 |
.endfor |
84 |
.endfor |
85 |
${INSTALL_SCRIPT} ${WRKDIR}/elasticsearch-plugin ${STAGEDIR}${PREFIX}/bin/elasticsearch-plugin |
85 |
${INSTALL_SCRIPT} ${WRKDIR}/elasticsearch-plugin ${STAGEDIR}${PREFIX}/bin/elasticsearch-plugin |
86 |
${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch |
86 |
${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch |