diff options
Diffstat (limited to 'net-im/gotosocial/Makefile')
-rw-r--r-- | net-im/gotosocial/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/net-im/gotosocial/Makefile b/net-im/gotosocial/Makefile index 554deabaaa92..525b2c7b9305 100644 --- a/net-im/gotosocial/Makefile +++ b/net-im/gotosocial/Makefile @@ -1,8 +1,9 @@ PORTNAME= gotosocial DISTVERSIONPREFIX= v -DISTVERSION= 0.3.4 -PORTREVISION= 1 +DISTVERSION= 0.3.6 CATEGORIES= net-im +MASTER_SITES?= https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${DISTVERSION}/:web +DISTFILES?= ${PORTNAME}_${DISTVERSION}_web-assets.tar.gz:web MAINTAINER= me+freebsd@igalic.co COMMENT= Golang fediverse server @@ -15,20 +16,20 @@ ONLY_FOR_ARCHS= amd64 # Note: we don't use go:modules, because this project vendors all deps USES= go USE_RC_SUBR= ${PORTNAME} + USE_GITHUB= yes GH_ACCOUNT= superseriousbusiness -# When rebuilding yourself, please set this: -#GH_TAGNAME= f848aaa81f04666dae29e0bb85ccf31d30574de7 + +SUB_LIST= DBDIR="${DBDIR}" \ + GROUP="${GROUPS}" \ + USER="${USERS}" \ + WWWDIR="${WWWDIR}" USERS= gotosocial GROUPS= gotosocial DBDIR= /var/db/${PORTNAME} -SUB_LIST= DBDIR="${DBDIR}" \ - GROUP="${GROUPS}" \ - USER="${USERS}" \ - WWWDIR="${WWWDIR}" PLIST_SUB= WWWDIR="${WWWDIR}" # patch sample config for people who set a custom prefix @@ -53,7 +54,6 @@ do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/example/config.yaml \ ${STAGEDIR}${ETCDIR}/config.yaml.sample - (cd ${WRKSRC}/web && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ \ - "! ( -path */gotosocial-styling* )") + (cd ${WRKSRC}/../web && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ ) .include <bsd.port.mk> |