forked from Lainports/freebsd-ports
This allows for port testing with lang/go-devel via GO_PORT, setting up the Go build environment in a single place, and is step one in simplifying Go ports that often define too complicated do-build targets themselves. USES=go gains new arguments 'run' to add lang/go to RUN_DEPENDS and 'no_targets' for ports with composite builds that call 'go' themselves and do not need the do-build/do-install targets of USES=go. PR: 238849 Submitted by: dg@syrec.org (also D20745) Reviewed by: mat, tobik Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D20746
27 lines
537 B
Makefile
27 lines
537 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= log-courier
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.0.5
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= vikashb@where-ever.za.net
|
|
COMMENT= Lightweight log shipper with Logstash integration
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BROKEN= fails to build
|
|
|
|
USES= go gmake
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= driskell
|
|
GO_PKGNAME= github.com/driskell/log-courier
|
|
|
|
USE_RC_SUBR= log-courier
|
|
SUB_FILES= pkg-message
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/docs/examples/example-json.conf \
|
|
${STAGEDIR}${PREFIX}/etc/log-courier.conf.example
|
|
|
|
.include <bsd.port.mk>
|