diff options
author | Bernhard Froehlich <decke@FreeBSD.org> | 2016-11-16 16:01:07 +0000 |
---|---|---|
committer | Bernhard Froehlich <decke@FreeBSD.org> | 2016-11-16 16:01:07 +0000 |
commit | cde79b21f36eee4bc372c10a0f9c5faab7e9a861 (patch) | |
tree | 5c42dd31fbca2d0d46bf047850e264466931e585 /www | |
parent | www/rejik is not jobs safe. (diff) |
- 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
Notes
Notes:
svn path=/head/; revision=426247
Diffstat (limited to 'www')
-rw-r--r-- | www/mythplugin-mythweb/Makefile | 9 | ||||
-rw-r--r-- | www/mythplugin-mythweb/pkg-plist | 6 |
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 |