2016-01-22 22:01:35 +00:00
|
|
|
# Created by: Mark Felder <feld@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= plexpy
|
2016-08-16 15:39:20 +00:00
|
|
|
PORTVERSION= 1.4.10
|
2016-06-13 15:13:51 +00:00
|
|
|
PORTREVISION= 0
|
2016-01-22 22:01:35 +00:00
|
|
|
CATEGORIES= multimedia python
|
|
|
|
DISTVERSIONPREFIX=v
|
|
|
|
|
|
|
|
MAINTAINER= feld@FreeBSD.org
|
|
|
|
COMMENT= Monitoring, analytics, and notifications for Plex Media Server
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2016-04-01 14:16:16 +00:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl \
|
|
|
|
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
2016-01-22 22:01:35 +00:00
|
|
|
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
SUB_LIST= PYTHON_CMD=${PYTHON_CMD}
|
|
|
|
|
|
|
|
USES= python:2 shebangfix
|
|
|
|
SHEBANG_FILES= PlexPy.py
|
2016-05-17 15:25:15 +00:00
|
|
|
python_OLD_CMD= /bin/sh
|
2016-01-22 22:01:35 +00:00
|
|
|
|
|
|
|
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
|
2016-01-27 15:04:13 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGELOG.md ${STAGEDIR}${PREFIX}/plexpy
|
2016-01-22 22:01:35 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|