mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
A python based web application for monitoring, analytics and
notifications for Plex Media Server (www.plex.tv). WWW: https://github.com/drzoidberg33/plexpy
This commit is contained in:
parent
6a0d8893c2
commit
25e2ac575b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406946
@ -300,6 +300,7 @@
|
||||
SUBDIR += plexhometheater
|
||||
SUBDIR += plexmediaserver
|
||||
SUBDIR += plexmediaserver-plexpass
|
||||
SUBDIR += plexpy
|
||||
SUBDIR += podcastdl
|
||||
SUBDIR += poe
|
||||
SUBDIR += ppm2fli
|
||||
|
39
multimedia/plexpy/Makefile
Normal file
39
multimedia/plexpy/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# Created by: Mark Felder <feld@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= plexpy
|
||||
PORTVERSION= 1.2.16
|
||||
CATEGORIES= multimedia python
|
||||
DISTVERSIONPREFIX=v
|
||||
|
||||
MAINTAINER= feld@FreeBSD.org
|
||||
COMMENT= Monitoring, analytics, and notifications for Plex Media Server
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
|
||||
${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl \
|
||||
${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
|
||||
|
||||
USE_RC_SUBR= ${PORTNAME}
|
||||
SUB_LIST= PYTHON_CMD=${PYTHON_CMD}
|
||||
|
||||
USES= python:2 shebangfix
|
||||
SHEBANG_FILES= PlexPy.py
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= drzoidberg33
|
||||
NO_BUILD= yes
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/plexpy
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/plexpy/data
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/plexpy/lib
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/plexpy/plexpy
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${PREFIX}/plexpy
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${STAGEDIR}${PREFIX}/plexpy
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} plexpy ${STAGEDIR}${PREFIX}/plexpy
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/PlexPy.py ${STAGEDIR}${PREFIX}/plexpy
|
||||
|
||||
.include <bsd.port.mk>
|
2
multimedia/plexpy/distinfo
Normal file
2
multimedia/plexpy/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (drzoidberg33-plexpy-v1.2.16_GH0.tar.gz) = 8a866c5c9dd0d4550422f0b0ebd4dfcedff369be09d1c24400e146780189f6c0
|
||||
SIZE (drzoidberg33-plexpy-v1.2.16_GH0.tar.gz) = 4882638
|
29
multimedia/plexpy/files/plexpy.in
Normal file
29
multimedia/plexpy/files/plexpy.in
Normal file
@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
# Created by: Mark Felder <feld@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: plexpy
|
||||
# REQUIRE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable PlexPy:
|
||||
#
|
||||
# plexpy_enable="YES"
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=plexpy
|
||||
rcvar=plexpy_enable
|
||||
load_rc_config $name
|
||||
|
||||
: ${plexpy_enable:=NO}
|
||||
: ${plexpy_user=nobody}
|
||||
|
||||
pidfile=%%PREFIX%%/plexpy/plexpy.pid
|
||||
command_interpreter=%%PYTHON_CMD%%
|
||||
command=%%PREFIX%%/plexpy/PlexPy.py
|
||||
command_args="-d --nolaunch --pid ${pidfile}"
|
||||
|
||||
run_rc_command "$1"
|
4
multimedia/plexpy/pkg-descr
Normal file
4
multimedia/plexpy/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
A python based web application for monitoring, analytics and
|
||||
notifications for Plex Media Server (www.plex.tv).
|
||||
|
||||
WWW: https://github.com/drzoidberg33/plexpy
|
1403
multimedia/plexpy/pkg-plist
Normal file
1403
multimedia/plexpy/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user