Changeset View
Changeset View
Standalone View
Standalone View
net-p2p/lidarr/Makefile
PORTNAME= lidarr | PORTNAME= lidarr | ||||
PORTVERSION= 0.7.2.1878 | PORTVERSION= 0.7.2.1878 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= net-p2p | CATEGORIES= net-p2p | ||||
MASTER_SITES= https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/ | MASTER_SITES= https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/ | ||||
DISTNAME= Lidarr.master.${PORTVERSION}.linux | DISTNAME= Lidarr.master.${PORTVERSION}.linux | ||||
MAINTAINER= michiel@vanbaak.eu | MAINTAINER= michiel@vanbaak.eu | ||||
COMMENT= Music collection manager for Usenet and BitTorrent users | COMMENT= Music collection manager for Usenet and BitTorrent users | ||||
LICENSE= GPLv3 | LICENSE= GPLv3 | ||||
LIB_DEPENDS= libcurl.so:ftp/curl | LIB_DEPENDS= libcurl.so:ftp/curl | ||||
RUN_DEPENDS= mediainfo>0:multimedia/mediainfo \ | RUN_DEPENDS= chromaprint>0:audio/chromaprint \ | ||||
chromaprint>0:audio/chromaprint | mediainfo>0:multimedia/mediainfo \ | ||||
mono6.8>0:lang/mono6.8 | |||||
USES= mono sqlite | USES= sqlite | ||||
USE_RC_SUBR= lidarr | USE_RC_SUBR= lidarr | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
WRKSRC= ${WRKDIR}/Lidarr | WRKSRC= ${WRKDIR}/Lidarr | ||||
USERS= lidarr | USERS= lidarr | ||||
GROUPS= lidarr | GROUPS= lidarr | ||||
OPTIONS_DEFINE= X11 | OPTIONS_DEFINE= X11 | ||||
# Permits image resizing | # Permits image resizing | ||||
X11_LIB_DEPENDS+=libgdiplus.so:x11-toolkits/libgdiplus | X11_LIB_DEPENDS+= libgdiplus.so:x11-toolkits/libgdiplus | ||||
do-install: | do-install: | ||||
${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR} | ${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR} | ||||
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR} | cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR} | ||||
post-install: | post-install: | ||||
@${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ | @${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ | ||||
${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} | ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |