net-im/gotosocial: new port
With GoToSocial, you can keep in touch with your friends, post, read,
and share images and articles. All without being tracked or advertised
to!
GoToSocial provides a lightweight, customizable, and safety-focused
entryway into the Fediverse, and is comparable to (but distinct from)
existing projects such as Mastodon, Pleroma, Friendica, and PixelFed.
WWW: https://docs.gotosocial.org/en/latest/
2022-04-04 14:50:50 +02:00
|
|
|
PORTNAME= gotosocial
|
|
|
|
DISTVERSIONPREFIX= v
|
2022-07-05 07:15:41 +02:00
|
|
|
DISTVERSION= 0.3.7
|
2022-08-03 23:06:26 +02:00
|
|
|
PORTREVISION= 2
|
net-im/gotosocial: new port
With GoToSocial, you can keep in touch with your friends, post, read,
and share images and articles. All without being tracked or advertised
to!
GoToSocial provides a lightweight, customizable, and safety-focused
entryway into the Fediverse, and is comparable to (but distinct from)
existing projects such as Mastodon, Pleroma, Friendica, and PixelFed.
WWW: https://docs.gotosocial.org/en/latest/
2022-04-04 14:50:50 +02:00
|
|
|
CATEGORIES= net-im
|
2022-06-22 05:30:20 +02:00
|
|
|
MASTER_SITES?= https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${DISTVERSION}/:web
|
|
|
|
DISTFILES?= ${PORTNAME}_${DISTVERSION}_web-assets.tar.gz:web
|
net-im/gotosocial: new port
With GoToSocial, you can keep in touch with your friends, post, read,
and share images and articles. All without being tracked or advertised
to!
GoToSocial provides a lightweight, customizable, and safety-focused
entryway into the Fediverse, and is comparable to (but distinct from)
existing projects such as Mastodon, Pleroma, Friendica, and PixelFed.
WWW: https://docs.gotosocial.org/en/latest/
2022-04-04 14:50:50 +02:00
|
|
|
|
|
|
|
MAINTAINER= me+freebsd@igalic.co
|
|
|
|
COMMENT= Golang fediverse server
|
|
|
|
|
|
|
|
LICENSE= AGPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= amd64
|
|
|
|
|
|
|
|
# Note: we don't use go:modules, because this project vendors all deps
|
|
|
|
USES= go
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
2022-06-22 05:30:20 +02:00
|
|
|
|
net-im/gotosocial: new port
With GoToSocial, you can keep in touch with your friends, post, read,
and share images and articles. All without being tracked or advertised
to!
GoToSocial provides a lightweight, customizable, and safety-focused
entryway into the Fediverse, and is comparable to (but distinct from)
existing projects such as Mastodon, Pleroma, Friendica, and PixelFed.
WWW: https://docs.gotosocial.org/en/latest/
2022-04-04 14:50:50 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= superseriousbusiness
|
2022-06-22 05:30:20 +02:00
|
|
|
|
|
|
|
SUB_LIST= DBDIR="${DBDIR}" \
|
|
|
|
GROUP="${GROUPS}" \
|
|
|
|
USER="${USERS}" \
|
|
|
|
WWWDIR="${WWWDIR}"
|
net-im/gotosocial: new port
With GoToSocial, you can keep in touch with your friends, post, read,
and share images and articles. All without being tracked or advertised
to!
GoToSocial provides a lightweight, customizable, and safety-focused
entryway into the Fediverse, and is comparable to (but distinct from)
existing projects such as Mastodon, Pleroma, Friendica, and PixelFed.
WWW: https://docs.gotosocial.org/en/latest/
2022-04-04 14:50:50 +02:00
|
|
|
|
|
|
|
USERS= gotosocial
|
|
|
|
GROUPS= gotosocial
|
|
|
|
|
|
|
|
DBDIR= /var/db/${PORTNAME}
|
|
|
|
|
|
|
|
PLIST_SUB= WWWDIR="${WWWDIR}"
|
|
|
|
|
|
|
|
# patch sample config for people who set a custom prefix
|
|
|
|
.if "${PREFIX}" != "${LOCALBASE}"
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
|
|
|
|
${WRKSRC}/example/config.yaml
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-build:
|
2022-05-29 23:54:42 +02:00
|
|
|
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
net-im/gotosocial: new port
With GoToSocial, you can keep in touch with your friends, post, read,
and share images and articles. All without being tracked or advertised
to!
GoToSocial provides a lightweight, customizable, and safety-focused
entryway into the Fediverse, and is comparable to (but distinct from)
existing projects such as Mastodon, Pleroma, Friendica, and PixelFed.
WWW: https://docs.gotosocial.org/en/latest/
2022-04-04 14:50:50 +02:00
|
|
|
VERSION=${DISTVERSION} COMMIT=${GH_TAGNAME} scripts/build.sh )
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.for x in LICENSE README.md
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${x} \
|
|
|
|
${STAGEDIR}${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/example/config.yaml \
|
|
|
|
${STAGEDIR}${ETCDIR}/config.yaml.sample
|
2022-06-22 05:30:20 +02:00
|
|
|
(cd ${WRKSRC}/../web && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ )
|
net-im/gotosocial: new port
With GoToSocial, you can keep in touch with your friends, post, read,
and share images and articles. All without being tracked or advertised
to!
GoToSocial provides a lightweight, customizable, and safety-focused
entryway into the Fediverse, and is comparable to (but distinct from)
existing projects such as Mastodon, Pleroma, Friendica, and PixelFed.
WWW: https://docs.gotosocial.org/en/latest/
2022-04-04 14:50:50 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|