svn commit: r426247 - head/www/mythplugin-mythweb

Bernhard Froehlich decke at FreeBSD.org
Wed Nov 16 16:01:09 UTC 2016


Author: decke
Date: Wed Nov 16 16:01:07 2016
New Revision: 426247
URL: https://svnweb.freebsd.org/changeset/ports/426247

Log:
  - Add shebangfix on perl files
  - Simplify folder permissions in pkg-plist
  
  PR:		203362
  Submitted by:	Danilo G. Baio <dbaio at bsd.com.br>
  Reported by:	eborisch+FreeBSD at gmail.com

Modified:
  head/www/mythplugin-mythweb/Makefile
  head/www/mythplugin-mythweb/pkg-plist

Modified: head/www/mythplugin-mythweb/Makefile
==============================================================================
--- head/www/mythplugin-mythweb/Makefile	Wed Nov 16 15:55:04 2016	(r426246)
+++ head/www/mythplugin-mythweb/Makefile	Wed Nov 16 16:01:07 2016	(r426247)
@@ -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>

Modified: head/www/mythplugin-mythweb/pkg-plist
==============================================================================
--- head/www/mythplugin-mythweb/pkg-plist	Wed Nov 16 15:55:04 2016	(r426246)
+++ head/www/mythplugin-mythweb/pkg-plist	Wed Nov 16 16:01:07 2016	(r426247)
@@ -763,9 +763,9 @@
 @dir %%WWWDIR%%/js/dialog
 @dir %%WWWDIR%%/js
 @dir %%WWWDIR%%/includes
- at dir %%WWWDIR%%/data/tv_icons
- at dir %%WWWDIR%%/data/cache
- at dir %%WWWDIR%%/data
+ at dir(,,775) %%WWWDIR%%/data/tv_icons
+ at dir(,,775) %%WWWDIR%%/data/cache
+ at dir(,,775) %%WWWDIR%%/data
 @dir %%WWWDIR%%/configuration
 @dir %%WWWDIR%%/classes/UPnP
 @dir %%WWWDIR%%/classes/Database/Query


More information about the svn-ports-head mailing list