aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/mythplugin-mythweb/Makefile9
-rw-r--r--www/mythplugin-mythweb/pkg-plist6
2 files changed, 9 insertions, 6 deletions
diff --git a/www/mythplugin-mythweb/Makefile b/www/mythplugin-mythweb/Makefile
index 3b92668746b4..0b5fc67c2429 100644
--- a/www/mythplugin-mythweb/Makefile
+++ b/www/mythplugin-mythweb/Makefile
@@ -4,6 +4,7 @@
PORTNAME= mythweb
PORTVERSION= 0.27.5
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= www
PKGNAMEPREFIX= mythplugin-
@@ -16,7 +17,12 @@ USE_GITHUB= yes
GH_ACCOUNT= MythTV
NO_BUILD= yes
+USES= php shebangfix
USE_PHP= spl session mysql pcre posix json
+
+SHEBANG_FILES= mythweb.pl modules/_shared/lang/build_translation.pl \
+ modules/coverart/handler.pl modules/stream/*.pl
+
SUB_FILES= pkg-message
REINPLACE_ARGS= -i ""
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
@@ -39,9 +45,6 @@ post-patch:
${WRKSRC}/mythweb.conf.lighttpd
do-install:
- ${MKDIR} ${STAGEDIR}${WWWDIR}
- ${MKDIR} ${STAGEDIR}${WWWDIR}/data
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} "! -name *.orig")
- ${CHMOD} -R 775 ${STAGEDIR}${WWWDIR}/data
.include <bsd.port.mk>
diff --git a/www/mythplugin-mythweb/pkg-plist b/www/mythplugin-mythweb/pkg-plist
index c1b959c0e87a..dd79d2945951 100644
--- a/www/mythplugin-mythweb/pkg-plist
+++ b/www/mythplugin-mythweb/pkg-plist
@@ -763,9 +763,9 @@
@dir %%WWWDIR%%/js/dialog
@dir %%WWWDIR%%/js
@dir %%WWWDIR%%/includes
-@dir %%WWWDIR%%/data/tv_icons
-@dir %%WWWDIR%%/data/cache
-@dir %%WWWDIR%%/data
+@dir(,,775) %%WWWDIR%%/data/tv_icons
+@dir(,,775) %%WWWDIR%%/data/cache
+@dir(,,775) %%WWWDIR%%/data
@dir %%WWWDIR%%/configuration
@dir %%WWWDIR%%/classes/UPnP
@dir %%WWWDIR%%/classes/Database/Query