aboutsummaryrefslogtreecommitdiffstats
path: root/www/gitea/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/gitea/Makefile')
-rw-r--r--www/gitea/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/www/gitea/Makefile b/www/gitea/Makefile
index 6ddf99abd6c4..6fb9a077f9fe 100644
--- a/www/gitea/Makefile
+++ b/www/gitea/Makefile
@@ -14,13 +14,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= git:devel/git
-USES= go
+USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= go-gitea
USE_RC_SUBR= gitea
-GO_PKGNAME= code.gitea.io/${PORTNAME}
-GO_TARGET= -tags "${GO_TAGS}"
+GO_BUILDFLAGS= -tags "${GO_TAGS}"
SUB_FILES+= app.ini.sample
SUB_LIST+= GITUSER=${USERS}