View | Details | Raw Unified | Return to bug 239883
Collapse All | Expand All

(-)net-im/matterircd/Makefile (-8 / +2 lines)
Lines 13-35 Link Here
13
13
14
ONLY_FOR_ARCHS=	amd64 armv6 armv7 i386
14
ONLY_FOR_ARCHS=	amd64 armv6 armv7 i386
15
15
16
USES=		go
16
USES=		go:modules
17
17
18
USE_RC_SUBR=	matterircd
18
USE_RC_SUBR=	matterircd
19
19
20
USE_GITHUB=	yes
20
USE_GITHUB=	yes
21
GH_ACCOUNT=	42wim
21
GH_ACCOUNT=	42wim
22
GH_SUBDIR=	src/github.com/${GH_ACCOUNT}/${PORTNAME}
23
22
24
USERS=		matterircd
23
USERS=		matterircd
25
GROUPS=		matterircd
24
GROUPS=		matterircd
26
25
27
do-build:
26
post-install:
28
	@cd ${WRKSRC}/${GH_SUBDIR} && \
29
		${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build
30
31
do-install:
32
	${INSTALL_PROGRAM} ${WRKSRC}/matterircd ${STAGEDIR}${PREFIX}/bin
33
	${INSTALL_DATA} ${WRKSRC}/matterircd.toml.example \
27
	${INSTALL_DATA} ${WRKSRC}/matterircd.toml.example \
34
		${STAGEDIR}${PREFIX}/etc/matterircd.toml.sample
28
		${STAGEDIR}${PREFIX}/etc/matterircd.toml.sample
35
29

Return to bug 239883