aboutsummaryrefslogtreecommitdiffstats
path: root/net/matterbridge/Makefile
blob: 7a7696b48aed2d08ca3b50faa6bcbe03c2a241a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
COMMENT =		bridge between multiple chat platforms

VERSION =		1.26.0
REVISION =		1

DISTNAME =		matterbridge-${VERSION}

GH_ACCOUNT =		42wim
GH_PROJECT =		matterbridge
GH_TAGNAME =		v${VERSION}

CATEGORIES =		net

HOMEPAGE =		https://github.com/42wim/matterbridge

MAINTAINER =		la ninpre <aaoth@aaoth.xyz>

!# Apache-2.0
PERMIT_PACKAGE =	Yes

WANTLIB +=		c pthread

MODULES =		lang/go
# don't need to build that cr..., ahem, big thing
MODGO_FLAGS =		-tags nomsteams

ALL_TARGET =		github.com/42wim/matterbridge

do-install:
	${MODGO_INSTALL_TARGET}
	${INSTALL_DATA_DIR} ${PREFIX}/share/matterbridge
.for _c in sample simple
	cp -Rp ${WRKSRC}/matterbridge.toml.${_c} \
		${PREFIX}/share/matterbridge/matterbridge-${_c}.toml
.endfor

.include <bsd.port.mk>