aboutsummaryrefslogtreecommitdiff
path: root/www/xcaddy/Makefile
blob: 7d65bc1d68f0e7df75800733b36ee2b872c962b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
PORTNAME=	xcaddy
DISTVERSIONPREFIX=	v
DISTVERSION=	0.4.2
PORTREVISION=	3
CATEGORIES=	www
DIST_SUBDIR=	xcaddy

MAINTAINER=	olgeni@FreeBSD.org
COMMENT=	Command line tool to make custom builds of the Caddy Web Server
WWW=		https://github.com/caddyserver/xcaddy

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

# xcaddy actually needs to run the go command to perform builds
RUN_DEPENDS=	go:lang/go

USES=		go:modules

USE_GITHUB=	yes
GH_ACCOUNT=	caddyserver
GH_TUPLE=	Masterminds:semver:v3.2.1:masterminds_semver_v3/vendor/github.com/Masterminds/semver/v3 \
		akavel:rsrc:v0.10.2:akavel_rsrc/vendor/github.com/akavel/rsrc \
		google:shlex:e7afc7fbc510:google_shlex/vendor/github.com/google/shlex \
		josephspurrier:goversioninfo:v1.4.0:josephspurrier_goversioninfo/vendor/github.com/josephspurrier/goversioninfo

GO_TARGET=	./cmd/xcaddy

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>