1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/net-p2p/radarr/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

46 lines
973 B
Makefile

PORTNAME= radarr
PORTVERSION= 3.0.2.4552
DISTVERSIONPREFIX=v
PORTREVISION= 0
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/Radarr/Radarr/releases/download/v${PORTVERSION}/
DISTNAME= Radarr.master.${PORTVERSION}.linux
MAINTAINER= feld@FreeBSD.org
COMMENT= Movie Library Manager for Usenet and BitTorrent users
LICENSE= GPLv3
LIB_DEPENDS= libcurl.so:ftp/curl
RUN_DEPENDS= mediainfo>0:multimedia/mediainfo \
sqlite3>0:databases/sqlite3
USES= mono
USE_RC_SUBR= radarr
NO_ARCH= YES
NO_BUILD= YES
WRKSRC= ${WRKDIR}/Radarr
USERS= radarr
GROUPS= radarr
OPTIONS_DEFINE= X11
# Permits image resizing
X11_LIB_DEPENDS+=libgdiplus.so:x11-toolkits/libgdiplus
.include <bsd.port.options.mk>
do-install:
${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}
post-install:
@${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \
${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
.include <bsd.port.mk>