summaryrefslogtreecommitdiff
path: root/www/xcaddy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/xcaddy/Makefile')
-rw-r--r--www/xcaddy/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/www/xcaddy/Makefile b/www/xcaddy/Makefile
index b8e7d1abeb54..d47e313cec4d 100644
--- a/www/xcaddy/Makefile
+++ b/www/xcaddy/Makefile
@@ -1,7 +1,6 @@
PORTNAME= xcaddy
DISTVERSIONPREFIX= v
-DISTVERSION= 0.4.2
-PORTREVISION= 5
+DISTVERSION= 0.4.4
CATEGORIES= www
DIST_SUBDIR= xcaddy
@@ -12,20 +11,13 @@ 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
+USES= go:modules,run
+GO_MODULE= github.com/caddyserver/xcaddy
GO_TARGET= ./cmd/xcaddy
+SUB_FILES= pkg-message
+
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>