1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/textproc/elasticsearch/pkg-plist

33 lines
1.7 KiB
Plaintext

@unexec if cmp -s %D/etc/elasticsearch/elasticsearch.yml.sample %D/etc/elasticsearch/elasticsearch.yml; then rm -f %D/etc/elasticsearch/elasticsearch.yml; fi
etc/elasticsearch/elasticsearch.yml.sample
@exec if [ ! -f %D/etc/elasticsearch/elasticsearch.yml ] ; then cp -p %D/%F %B/elasticsearch.yml; fi
@unexec if cmp -s %D/etc/elasticsearch/logging.yml.sample %D/etc/elasticsearch/logging.yml; then rm -f %D/etc/elasticsearch/logging.yml; fi
etc/elasticsearch/logging.yml.sample
@exec if [ ! -f %D/etc/elasticsearch/logging.yml ] ; then cp -p %D/%F %B/logging.yml; fi
@exec install -d -o %%SEARCHUSER%% -g %%SEARCHGROUP%% %%ELASTIC_DBDIR%%
@dirrmtry %%ELASTIC_LOGDIR%%
@unexec if [ -d %%ELASTIC_LOGDIR%% ]; then echo "You should remove %%ELASTIC_LOGDIR%% if you don't need it any more."; fi
@exec install -d -o %%SEARCHUSER%% -g %%SEARCHGROUP%% %%ELASTIC_LOGDIR%%
@dirrmtry %%ELASTIC_DBDIR%%
@unexec if [ -d %%ELASTIC_DBDIR%% ]; then echo "You should remove %%ELASTIC_DBDIR%% if you don't need it any more."; fi
bin/elasticsearch-plugin
lib/elasticsearch/elasticsearch-%%PORTVERSION%%.jar
lib/elasticsearch/jna-3.3.0.jar
lib/elasticsearch/jts-1.12.jar
lib/elasticsearch/log4j-1.2.17.jar
lib/elasticsearch/lucene-analyzers-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-core-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-highlighter-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-memory-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-queries-%%LUCENEVER%%.jar
lib/elasticsearch/snappy-java-1.0.4.1.jar
lib/elasticsearch/spatial4j-0.3.jar
lib/elasticsearch/sigar/sigar-1.6.4.jar
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
%%PORTDOCS%%%%DOCSDIR%%/NOTICE.txt
%%PORTDOCS%%%%DOCSDIR%%/README.textile
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry etc/elasticsearch
@dirrm lib/elasticsearch/sigar
@dirrm lib/elasticsearch