Lines 1-7
Link Here
|
1 |
# $FreeBSD: head/sysutils/logstash-forwarder/Makefile 367389 2014-09-05 20:50:47Z cs $ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= logstash-forwarder |
3 |
PORTNAME= logstash-forwarder |
4 |
PORTVERSION= 0.3.1.20140725 |
4 |
PORTVERSION= 0.3.1.20140829 |
5 |
CATEGORIES= sysutils |
5 |
CATEGORIES= sysutils |
6 |
|
6 |
|
7 |
MAINTAINER= cheffo@freebsd-bg.org |
7 |
MAINTAINER= cheffo@freebsd-bg.org |
Lines 15-30
Link Here
|
15 |
GH_ACCOUNT= elasticsearch |
15 |
GH_ACCOUNT= elasticsearch |
16 |
GH_PROJECT= logstash-forwarder |
16 |
GH_PROJECT= logstash-forwarder |
17 |
GH_TAGNAME= ${GH_COMMIT} |
17 |
GH_TAGNAME= ${GH_COMMIT} |
18 |
GH_COMMIT= 8bb4001 |
18 |
GH_COMMIT= fcf431c |
19 |
|
19 |
|
20 |
USE_RC_SUBR= logstash-forwarder |
20 |
USE_RC_SUBR= logstash-forwarder |
21 |
SUB_FILES= pkg-message |
21 |
SUB_FILES= pkg-message |
22 |
|
22 |
|
23 |
do-build: |
23 |
post-install: |
24 |
cd ${WRKSRC} && ${PREFIX}/bin/go build |
|
|
25 |
|
26 |
do-install: |
27 |
${INSTALL_PROGRAM} ${WRKSRC}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} |
28 |
${INSTALL_DATA} ${WRKSRC}/logstash-forwarder.conf.example ${STAGEDIR}${PREFIX}/etc/logstash-forwarder.conf.example |
24 |
${INSTALL_DATA} ${WRKSRC}/logstash-forwarder.conf.example ${STAGEDIR}${PREFIX}/etc/logstash-forwarder.conf.example |
29 |
|
25 |
|
30 |
.include <bsd.port.mk> |
26 |
.include <bsd.port.pre.mk> |
|
|
27 |
.include "${.CURDIR}/../../lang/go/files/bsd.go.mk" |
28 |
.include <bsd.port.post.mk> |