blob: 2dba391a6bd9498456b10c6386f50d662a1e0121 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= radarr
PORTVERSION= 3.2.2.5080
PORTREVISION= 1
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/Radarr/Radarr/releases/download/v${PORTVERSION}/
DISTNAME= Radarr.master.${PORTVERSION}.freebsd-core-x64
MAINTAINER= ports@FreeBSD.org
COMMENT= Movie Library Manager for Usenet and BitTorrent users
LICENSE= GPLv3
# See https://github.com/Radarr/Radarr/issues/6668 for x86 support
ONLY_FOR_ARCHS= amd64
RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss \
icu>0:devel/icu \
libiconv>0:converters/libiconv \
libinotify>0:devel/libinotify \
libunwind>0:devel/libunwind \
mediainfo>0:multimedia/mediainfo \
openssl>0:security/openssl \
sqlite3>0:databases/sqlite3
USE_RC_SUBR= ${PORTNAME}
NO_BUILD= YES
SUB_FILES= ${PORTNAME} pkg-message
SUB_LIST= DATADIR=${DATADIR} \
GROUPS=${GROUPS} \
PORTNAME=${PORTNAME} \
USERS=${USERS}
USERS= ${PORTNAME}
GROUPS= ${PORTNAME}
WRKSRC= ${WRKDIR}/Radarr
.include <bsd.port.options.mk>
do-install:
${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR} "! -name Radarr"
${INSTALL_PROGRAM} ${WRKSRC}/Radarr ${STAGEDIR}/${DATADIR}
.include <bsd.port.mk>
|