Line 0
Link Here
|
|
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= lidarr |
4 |
PORTVERSION= 0.5.0.583 |
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 |
LIB_DEPENDS= libcurl.so:ftp/curl |
19 |
|
20 |
USE_RC_SUBR= lidarr |
21 |
|
22 |
NO_ARCH= YES |
23 |
NO_BUILD= YES |
24 |
WRKSRC= ${WRKDIR}/Lidarr |
25 |
|
26 |
USERS= lidarr |
27 |
GROUPS= lidarr |
28 |
|
29 |
OPTIONS_DEFINE= X11 |
30 |
|
31 |
# Permits image resizing |
32 |
X11_LIB_DEPENDS+=libgdiplus.so:x11-toolkits/libgdiplus |
33 |
|
34 |
.include <bsd.port.options.mk> |
35 |
|
36 |
do-install: |
37 |
${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR} |
38 |
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR} |
39 |
|
40 |
post-install: |
41 |
@${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ |
42 |
${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} |
43 |
|
44 |
.include <bsd.port.mk> |