aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordecke <decke@FreeBSD.org>2016-11-17 00:01:07 +0800
committerdecke <decke@FreeBSD.org>2016-11-17 00:01:07 +0800
commita9cd60dcd0b7338f16f41d6318433f86eca1d58a (patch)
tree5c42dd31fbca2d0d46bf047850e264466931e585 /www
parent16c552177d98e9eb875ceecadce28392e449ddcc (diff)
downloadfreebsd-ports-gnome-a9cd60dcd0b7338f16f41d6318433f86eca1d58a.tar.gz
freebsd-ports-gnome-a9cd60dcd0b7338f16f41d6318433f86eca1d58a.tar.zst
freebsd-ports-gnome-a9cd60dcd0b7338f16f41d6318433f86eca1d58a.zip
- Add shebangfix on perl files
- Simplify folder permissions in pkg-plist PR: 203362 Submitted by: Danilo G. Baio <dbaio@bsd.com.br> Reported by: eborisch+FreeBSD@gmail.com
Diffstat (limited to 'www')
-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