freebsd-ports/net-p2p/lidarr/Makefile
Dries Michiels 5cf0b0c2d8 net-p2p/lidarr: Switch to mono 6.8
Use the most recent mono available with less bugs.
While here reformat Makefile with portfmt.

PR:			259250
Approved by:		michiel@vanbaak.eu (maintainer), 0mp (mentor)
Differential Revision:	https://reviews.freebsd.org/D33000
2021-11-16 21:00:10 +01:00

41 lines
961 B
Makefile

PORTNAME= lidarr
PORTVERSION= 0.7.2.1878
PORTREVISION= 1
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/
DISTNAME= Lidarr.master.${PORTVERSION}.linux
MAINTAINER= michiel@vanbaak.eu
COMMENT= Music collection manager for Usenet and BitTorrent users
LICENSE= GPLv3
LIB_DEPENDS= libcurl.so:ftp/curl
RUN_DEPENDS= chromaprint>0:audio/chromaprint \
mediainfo>0:multimedia/mediainfo \
mono6.8>0:lang/mono6.8
USES= sqlite
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
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>