1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/net-p2p/lidarr/Makefile
Kurt Jaeger 27d3116977 New port: net-p2p/lidarr
Lidarr is a music collection manager for Usenet and BitTorrent users.

It can monitor multiple RSS feeds for new tracks from your favorite
artists and will grab, sort and rename them.
It can also be configured to automatically upgrade the quality of
files already downloaded when a better quality format becomes
available.

It looks and smells like Sonarr but made for music.

WWW: https://lidarr.audio

PR:		234233
Submitted by:	Michiel van Baak <michiel@vanbaak.eu>, Matt Russi <mrussi@gmail.com>
2019-08-28 05:35:59 +00:00

45 lines
1010 B
Makefile

# $FreeBSD$
PORTNAME= lidarr
PORTVERSION= 0.6.2.883
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/
DISTNAME= Lidarr.develop.${PORTVERSION}.linux
MAINTAINER= michiel@vanbaak.eu
COMMENT= Lidarr is a music collection manager for Usenet and BitTorrent users
LICENSE= GPLv3
RUN_DEPENDS= mono>0:lang/mono \
mediainfo>0:multimedia/mediainfo \
sqlite3>0:databases/sqlite3 \
chromaprint>0:audio/chromaprint
LIB_DEPENDS= libcurl.so:ftp/curl
USE_RC_SUBR= lidarr
NO_ARCH= YES
NO_BUILD= YES
WRKSRC= ${WRKDIR}/Lidarr
USERS= lidarr
GROUPS= lidarr
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>