net/matterbridge/Makefile (view raw)
1COMMENT = bridge between multiple chat platforms
2
3VERSION = 1.26.0
4REVISION = 1
5
6DISTNAME = matterbridge-${VERSION}
7
8GH_ACCOUNT = 42wim
9GH_PROJECT = matterbridge
10GH_TAGNAME = v${VERSION}
11
12CATEGORIES = net
13
14HOMEPAGE = https://github.com/42wim/matterbridge
15
16MAINTAINER = la ninpre <aaoth@aaoth.xyz>
17
18!# Apache-2.0
19PERMIT_PACKAGE = Yes
20
21WANTLIB += c pthread
22
23MODULES = lang/go
24# don't need to build that cr..., ahem, big thing
25MODGO_FLAGS = -tags nomsteams
26
27ALL_TARGET = github.com/42wim/matterbridge
28
29do-install:
30 ${MODGO_INSTALL_TARGET}
31 ${INSTALL_DATA_DIR} ${PREFIX}/share/matterbridge
32.for _c in sample simple
33 cp -Rp ${WRKSRC}/matterbridge.toml.${_c} \
34 ${PREFIX}/share/matterbridge/matterbridge-${_c}.toml
35.endfor
36
37.include <bsd.port.mk>