Changeset View
Changeset View
Standalone View
Standalone View
games/automuteus/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= automuteus | PORTNAME= automuteus | ||||
DISTVERSION= 6.10.1 | DISTVERSION= 6.10.1 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= games | CATEGORIES= games | ||||
MAINTAINER= nc@FreeBSD.org | MAINTAINER= nc@FreeBSD.org | ||||
COMMENT= Discord Bot to automute Among Us players at round transitions | COMMENT= Discord Bot to automute Among Us players at round transitions | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
USES= go:modules | USES= go:modules | ||||
USE_RC_SUBR= ${PORTNAME} | |||||
SUB_FILES= pkg-message | |||||
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} | |||||
GO_TARGET= .:${PORTNAME} | |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= denverquane | GH_ACCOUNT= denverquane | ||||
GH_TUPLE= \ | GH_TUPLE= \ | ||||
BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \ | BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \ | ||||
automuteus:discordgo:v0.22.1:automuteus_discordgo/vendor/github.com/bwmarrin/discordgo \ | automuteus:discordgo:v0.22.1:automuteus_discordgo/vendor/github.com/bwmarrin/discordgo \ | ||||
automuteus:galactus:v1.2.2:automuteus_galactus/vendor/github.com/automuteus/galactus \ | automuteus:galactus:v1.2.2:automuteus_galactus/vendor/github.com/automuteus/galactus \ | ||||
automuteus:utils:v0.0.6:automuteus_utils/vendor/github.com/automuteus/utils \ | automuteus:utils:v0.0.6:automuteus_utils/vendor/github.com/automuteus/utils \ | ||||
Show All 31 Lines | GH_TUPLE= \ | ||||
prometheus:client_golang:v1.9.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ | prometheus:client_golang:v1.9.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ | ||||
prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ | prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ | ||||
prometheus:common:v0.15.0:prometheus_common/vendor/github.com/prometheus/common \ | prometheus:common:v0.15.0:prometheus_common/vendor/github.com/prometheus/common \ | ||||
prometheus:procfs:v0.2.0:prometheus_procfs/vendor/github.com/prometheus/procfs \ | prometheus:procfs:v0.2.0:prometheus_procfs/vendor/github.com/prometheus/procfs \ | ||||
protocolbuffers:protobuf-go:v1.25.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ | protocolbuffers:protobuf-go:v1.25.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ | ||||
stretchr:objx:v0.2.0:stretchr_objx/vendor/github.com/stretchr/objx \ | stretchr:objx:v0.2.0:stretchr_objx/vendor/github.com/stretchr/objx \ | ||||
stretchr:testify:v1.6.1:stretchr_testify/vendor/github.com/stretchr/testify | stretchr:testify:v1.6.1:stretchr_testify/vendor/github.com/stretchr/testify | ||||
PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}/config.txt | USE_RC_SUBR= ${PORTNAME} | ||||
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} | |||||
GO_TARGET= .:${PORTNAME} | |||||
SUB_FILES= pkg-message | |||||
PLIST_FILES= bin/${PORTNAME} \ | |||||
"@sample etc/${PORTNAME}/config.txt.sample" \ | |||||
/var/log/${PORTNAME}/logs.txt | |||||
post-install: | post-install: | ||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/automuteus | @${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} | ||||
@${CP} ${FILESDIR}/config.txt ${STAGEDIR}${PREFIX}/etc/automuteus | @${CP} ${FILESDIR}/config.txt ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/config.txt.sample | ||||
@${MKDIR} ${STAGEDIR}/var/log/${PORTNAME} | |||||
@${TOUCH} ${STAGEDIR}/var/log/${PORTNAME}/logs.txt | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |