blob: 82829131f25a6d0fb3f58754d36f5adb0047ade6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= mythweb
DISTVERSIONPREFIX= v
DISTVERSION= 32.0-40
DISTVERSIONSUFFIX= -gb05906a6
CATEGORIES= www
PKGNAMEPREFIX= mythplugin-
MAINTAINER= ahicks@p-o.co.uk
COMMENT= Frontend for scheduling and managing recordings on your MythTV Box
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php shebangfix perl5
USE_PERL5= run
USE_PHP= json pcre posix mysqli session spl 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:2.2+
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>
|