blob: 125aa45bded6c4a34a9e1fa17c6fb3a34913466e (
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
|
COMMENT = bridge between multiple chat platforms
VERSION = 1.26.0
REVISION = 0
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
MODGO_FLAGS = -tags nomsteams # don't need to build that cr..., ahem, big thing
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>
|