1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

- 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
This commit is contained in:
Bernhard Froehlich 2016-11-16 16:01:07 +00:00
parent 985e41c86f
commit cde79b21f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426247
2 changed files with 9 additions and 6 deletions

View File

@ -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>

View File

@ -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