2021-10-02 19:28:13 +00:00
|
|
|
PORTNAME= autoscan
|
|
|
|
DISTVERSIONPREFIX= v
|
2023-09-16 12:43:34 +00:00
|
|
|
DISTVERSION= 1.4.0
|
2024-02-11 10:36:37 +00:00
|
|
|
PORTREVISION= 2
|
2022-03-05 04:56:35 +00:00
|
|
|
CATEGORIES= net-p2p
|
2021-10-02 19:28:13 +00:00
|
|
|
|
|
|
|
MAINTAINER= michiel@vanbaak.eu
|
|
|
|
COMMENT= Scan Plex library on webhook triggers
|
|
|
|
|
|
|
|
LICENSE= MIT
|
2022-03-05 04:56:35 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2021-10-02 19:28:13 +00:00
|
|
|
|
2022-06-29 05:48:27 +00:00
|
|
|
# See https://gitlab.com/cznic/libc/-/issues/15
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
|
|
ONLY_FOR_ARCHS_REASON= Some dependencies only build on amd64 and i386
|
|
|
|
|
|
|
|
|
2022-03-05 04:56:35 +00:00
|
|
|
USES= go:modules
|
2021-10-02 19:28:13 +00:00
|
|
|
USE_RC_SUBR= autoscan
|
|
|
|
|
2022-03-05 04:56:35 +00:00
|
|
|
GO_MODULE= github.com/cloudbox/autoscan
|
|
|
|
GO_TARGET= ./cmd/autoscan
|
|
|
|
GO_BUILDFLAGS+= -ldflags="-s -w -X main.Version=${DISTVERSION}"
|
|
|
|
|
2021-10-02 19:28:13 +00:00
|
|
|
CONFLICTS_INSTALL= autoconf-wrapper
|
|
|
|
|
|
|
|
SUB_LIST= GROUPS=${GROUPS} \
|
|
|
|
USERS=${USERS}
|
|
|
|
|
|
|
|
USERS= autoscan
|
|
|
|
GROUPS= autoscan
|
|
|
|
|
|
|
|
PLIST_FILES= bin/autoscan
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|