1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/www/caddy/Makefile
Steve Wills d5cad18730 www/caddy: Update to 0.11.0
PR:		228158
Submitted by:	Fabian Freyer <fabian.freyer@physik.tu-berlin.de> (maintainer)
2018-05-11 14:45:34 +00:00

39 lines
939 B
Makefile

# Created by: fabian.freyer@physik.tu-berlin.de
# $FreeBSD$
PORTNAME= caddy
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.0
CATEGORIES= www
MAINTAINER= fabian.freyer@physik.tu-berlin.de
COMMENT= Fast, cross-platform HTTP/2 web server with automatic HTTPS
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= go
USE_GITHUB= yes
GH_ACCOUNT= mholt
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
SUB_FILES= pkg-message
PLIST_FILES= bin/caddy etc/rc.d/caddy
OPTIONS_DEFINE= TELEMETRY
TELEMETRY_DESC= Enable telemetry support
TELEMETRY_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-disable-telemetry
do-build:
@cd ${GO_WRKSRC}/${PORTNAME} && ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} build
do-install:
${INSTALL_PROGRAM} ${GO_WRKSRC}/${PORTNAME}/${PORTNAME} \
${STAGEDIR}/${PREFIX}/bin/${PORTNAME}
${INSTALL_SCRIPT} ${GO_WRKSRC}/dist/init/freebsd/${PORTNAME} \
${STAGEDIR}/${PREFIX}/etc/rc.d/${PORTNAME}
.include <bsd.port.mk>