mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
43c73f6a4e
The plugin is compatible with both ElasticSearch 1 and 2, so I removed the RUN_DEPENDS here rather than creating a second copy for ES2. Also, remove the extra stuff from plist: only _site is needed.
26 lines
581 B
Makefile
26 lines
581 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= head
|
|
PORTVERSION= 2015.12.16
|
|
CATEGORIES= textproc
|
|
PKGNAMEPREFIX= elasticsearch-plugin-
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= ElasticSearch Head Plugin
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mobz
|
|
GH_PROJECT= elasticsearch-head
|
|
GH_TAGNAME= 8fe463f
|
|
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins/head
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} _site ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins/head
|
|
${INSTALL_DATA} ${WRKSRC}/*.properties ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins/head
|
|
|
|
.include <bsd.port.mk>
|