4 DISTVERSIONSUFFIX= -gb05906a6
7 PKGNAMEPREFIX= mythplugin-
9 MAINTAINER= ahicks@p-o.co.uk
10 COMMENT= Frontend for scheduling and managing recordings on your MythTV Box
11 WWW= https://www.mythtv.org/wiki/MythWeb
14 LICENSE_FILE= ${WRKSRC}/LICENSE
16 USES= php shebangfix perl5
18 USE_PHP= json pcre posix mysqli session spl sockets
21 SHEBANG_FILES= mythweb.pl modules/_shared/lang/build_translation.pl \
22 modules/coverart/handler.pl modules/stream/*.pl
26 PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
27 SUB_FILES= pkg-message
30 OPTIONS_DEFINE= APACHE LIGHTTPD NGINX
31 OPTIONS_DEFAULT= APACHE
33 APACHE_USES= apache:2.2+
34 LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd
35 NGINX_DESC= Nginx server support
36 NGINX_RUN_DEPENDS= nginx:www/nginx
39 @${REINPLACE_CMD} -e 's|/var/www/html|${WWWDIR}|' \
40 ${WRKSRC}/mythweb.conf.apache
41 @${REINPLACE_CMD} -e 's|/usr/bin/php-cgi|${LOCALBASE}/bin/php-cgi|' \
42 ${WRKSRC}/mythweb.conf.lighttpd
45 (cd ${WRKSRC} && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \
46 "! -name *.orig -and ! -name LICENSE")
48 .include <bsd.port.mk>