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