Line 0
Link Here
|
|
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= lidarr |
4 |
PORTVERSION= 0.6.2.883 |
5 |
PORTREVISION= 0 |
6 |
CATEGORIES= net-p2p |
7 |
MASTER_SITES= https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/ |
8 |
DISTNAME= Lidarr.develop.${PORTVERSION}.linux |
9 |
|
10 |
MAINTAINER= michiel@vanbaak.eu |
11 |
COMMENT= Lidarr is a music collection manager for Usenet and BitTorrent users. |
12 |
|
13 |
LICENSE= GPLv3 |
14 |
|
15 |
RUN_DEPENDS= mono>0:lang/mono \ |
16 |
mediainfo>0:multimedia/mediainfo \ |
17 |
sqlite3>0:databases/sqlite3 \ |
18 |
chromaprint>0:audio/chromaprint |
19 |
LIB_DEPENDS= libcurl.so:ftp/curl |
20 |
|
21 |
USE_RC_SUBR= lidarr |
22 |
|
23 |
NO_ARCH= YES |
24 |
NO_BUILD= YES |
25 |
WRKSRC= ${WRKDIR}/Lidarr |
26 |
|
27 |
USERS= lidarr |
28 |
GROUPS= lidarr |
29 |
|
30 |
OPTIONS_DEFINE= X11 |
31 |
|
32 |
# Permits image resizing |
33 |
X11_LIB_DEPENDS+=libgdiplus.so:x11-toolkits/libgdiplus |
34 |
|
35 |
.include <bsd.port.options.mk> |
36 |
|
37 |
do-install: |
38 |
${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR} |
39 |
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR} |
40 |
|
41 |
post-install: |
42 |
@${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ |
43 |
${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} |
44 |
|
45 |
.include <bsd.port.mk> |