Update www/firefox-esr to version 102.5.0,1
[dports.git] / www / mythplugin-mythweb / Makefile
1 PORTNAME=       mythweb
2 DISTVERSIONPREFIX=      v
3 DISTVERSION=    32.0-40
4 DISTVERSIONSUFFIX=      -gb05906a6
5
6 CATEGORIES=     www
7 PKGNAMEPREFIX=  mythplugin-
8
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
12
13 LICENSE=        GPLv2
14 LICENSE_FILE=   ${WRKSRC}/LICENSE
15
16 USES=           php shebangfix perl5
17 USE_PERL5=      run
18 USE_PHP=        json pcre posix mysqli session spl sockets
19 USE_GITHUB=     yes
20 GH_ACCOUNT=     MythTV
21 SHEBANG_FILES=  mythweb.pl modules/_shared/lang/build_translation.pl \
22                 modules/coverart/handler.pl modules/stream/*.pl
23
24 NO_BUILD=       yes
25 NO_ARCH=        yes
26 PLIST_SUB=      WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
27 SUB_FILES=      pkg-message
28 REINPLACE_ARGS= -i ""
29
30 OPTIONS_DEFINE= APACHE LIGHTTPD NGINX
31 OPTIONS_DEFAULT=        APACHE
32
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
37
38 post-patch:
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
43
44 do-install:
45         (cd ${WRKSRC} && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \
46                 "! -name *.orig -and ! -name LICENSE")
47
48 .include <bsd.port.mk>