Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2016 16:01:08 +0000 (UTC)
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426247 - head/www/mythplugin-mythweb
Message-ID:  <201611161601.uAGG18Yi015543@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@bsd.com.br>
  Reported by:	eborisch+FreeBSD@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
-@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611161601.uAGG18Yi015543>