multimedia/mythtv Patched to use exiv2 v 2.8 from ports Redundant references to slave port mythtv-frontend removed New Web App interface (http://example.com:6544). Replaces WebFrontend, provides all mythtv-setup access. It is recommended to use the web app instead of mythweb. audio/mythplugin-mythmusic "Play Now" any songs from "Browse Music Library" New Spectrogram and Spectrum full screen visualizations with options Music navigation controls work during full screen visual www/mythplugin-mythweb Version bump ffmpeg v5.1 is still included and required to build mythtv https://www.mythtv.org/wiki/Release_Notes_-_34 PR: 277335
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
PORTNAME= mythweb
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 34.0
|
|
DISTVERSIONSUFFIX= -g92f0f9bc
|
|
CATEGORIES= www
|
|
PKGNAMEPREFIX= mythplugin-
|
|
|
|
MAINTAINER= ahicks@p-o.co.uk
|
|
COMMENT= Frontend for scheduling and managing recordings on your MythTV Box
|
|
WWW= https://www.mythtv.org/wiki/MythWeb
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= php shebangfix perl5
|
|
USE_PERL5= run
|
|
USE_PHP= posix mysqli session sockets
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= MythTV
|
|
SHEBANG_FILES= mythweb.pl modules/_shared/lang/build_translation.pl \
|
|
modules/coverart/handler.pl modules/stream/*.pl
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
|
|
SUB_FILES= pkg-message
|
|
REINPLACE_ARGS= -i ""
|
|
|
|
OPTIONS_DEFINE= APACHE LIGHTTPD NGINX
|
|
OPTIONS_DEFAULT= APACHE
|
|
|
|
APACHE_USES= apache
|
|
LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd
|
|
NGINX_DESC= Nginx server support
|
|
NGINX_RUN_DEPENDS= nginx:www/nginx
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/var/www/html|${WWWDIR}|' \
|
|
${WRKSRC}/mythweb.conf.apache
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/php-cgi|${LOCALBASE}/bin/php-cgi|' \
|
|
${WRKSRC}/mythweb.conf.lighttpd
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \
|
|
"! -name *.orig -and ! -name LICENSE")
|
|
|
|
.include <bsd.port.mk>
|