summaryrefslogtreecommitdiff
path: root/www/tinyauth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/tinyauth/Makefile')
-rw-r--r--www/tinyauth/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/www/tinyauth/Makefile b/www/tinyauth/Makefile
index c6afa7e14f17..367bd630c4db 100644
--- a/www/tinyauth/Makefile
+++ b/www/tinyauth/Makefile
@@ -1,7 +1,6 @@
PORTNAME= tinyauth
DISTVERSIONPREFIX= v
-DISTVERSION= 3.6.2
-PORTREVISION= 1
+DISTVERSION= 4.0.0
CATEGORIES= www
MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/
DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.frontend${EXTRACT_SUFX}
@@ -13,7 +12,9 @@ WWW= https://tinyauth.app
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:1.23,modules
+BROKEN_i386= cannot use int64(off) (value of type int64) as int32 value in assignment
+
+USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= steveiliop56
@@ -32,7 +33,8 @@ SUB_LIST= USER=${USERS:[1]}
USERS= ${TINYAUTH_USER}
GROUPS= ${TINYAUTH_GROUP}
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/${PORTNAME} \
+ "@dir(${TINYAUTH_USER},${TINYAUTH_GROUP},0750) /var/db/${PORTNAME}"
# Run 'git checkout ${DISTVERSIONPREFIX}${DISTVERSION} && git rev-parse HEAD'
# in the Tinyauth repository to get the value of GITID.
@@ -47,4 +49,7 @@ pre-build:
@${MKDIR} ${WRKSRC}/internal/assets/dist
@cd ${WRKDIR}/tinyauth-frontend && ${COPYTREE_SHARE} . ${WRKSRC}/internal/assets/dist
+post-install:
+ @${MKDIR} ${STAGEDIR}/var/db/${PORTNAME}
+
.include <bsd.port.mk>