multimedia/universal-media-server: update 4.0.0-b1 -> 4.0.0

- Fix DISTFILES usage
- Add java category
- Add RESETPREFIX for /var located files
- Fix pkg-plist

PR:		192241
Submitted by:	Dreamcat4 <dreamcat4@gmail.com>
Approved by:	swills (mentor)
This commit is contained in:
Bartek Rutkowski 2014-08-02 19:01:03 +00:00
parent ef968b64a0
commit dcec133efd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363836
3 changed files with 29 additions and 27 deletions

View File

@ -2,10 +2,11 @@
# $FreeBSD$
PORTNAME= universal-media-server
DISTVERSION= 4.0.0-b1
CATEGORIES= multimedia
PORTVERSION= 4.0.0
CATEGORIES= multimedia java
MASTER_SITES= SF/unimediaserver/Official%20Releases/Linux
DISTFILES= UMS-${DISTVERSION}.tgz
DISTNAME= UMS-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= dreamcat4@gmail.com
COMMENT= Universal Media Server
@ -54,8 +55,9 @@ UMS_LOG_DIR= /var/log/${PORTNAME}
UMS_PID_DIR= /var/run/${PORTNAME}
SUB_LIST= RCNAME=${USE_RC_SUBR} JAVA_HOME=${JAVA_HOME} JAVA=${JAVA} \
UMS_PROFILE_PATH=${UMS_PROFILE_PATH} UMS_LOG_DIR=${UMS_LOG_DIR} UMS_PID_DIR=${UMS_PID_DIR}
UMS_PROFILE_PATH=${UMS_PROFILE_PATH}
PLIST_SUB= ${SUB_LIST}
PLIST_SUB+= RESETPREFIX=${PREFIX}
SUB_FILES= pkg-message
USE_RC_SUBR= universal_media_server

View File

@ -1,2 +1,2 @@
SHA256 (UMS-4.0.0-b1.tgz) = 06fc344db1b8e439cbbe5a67c65f52d5aaee8fa571ebb4cb76ba293087b62031
SIZE (UMS-4.0.0-b1.tgz) = 31516062
SHA256 (UMS-4.0.0.tgz) = 1335bdac4b24967f510682356795afe88f698e40478cebe96b0be4b47d3ebf9c
SIZE (UMS-4.0.0.tgz) = 31567649

View File

@ -50,6 +50,7 @@
%%DATADIR%%/plugins/README.txt
%%DATADIR%%/renderers/AirPlayer.conf
%%DATADIR%%/renderers/Android.conf
%%DATADIR%%/renderers/AndroidChromecast.conf
%%DATADIR%%/renderers/BlackBerryPlayBook-KalemSoftMP.conf
%%DATADIR%%/renderers/Bravia4500.conf
%%DATADIR%%/renderers/Bravia5500.conf
@ -58,9 +59,8 @@
%%DATADIR%%/renderers/BraviaEX620.conf
%%DATADIR%%/renderers/BraviaHX.conf
%%DATADIR%%/renderers/BraviaW.conf
%%DATADIR%%/renderers/BraviaXBR.conf
%%DATADIR%%/renderers/CambridgeAudioAzur752BD.conf
%%DATADIR%%/renderers/Chromecast.conf
%%DATADIR%%/renderers/Chromecast_Avia.conf
%%DATADIR%%/renderers/DLinkDSM510.conf
%%DATADIR%%/renderers/DirecTVHR.conf
%%DATADIR%%/renderers/FreeboxHD.conf
@ -117,6 +117,16 @@
%%DATADIR%%/web/favicon.ico
%%DATADIR%%/web/flowplayer.min.js
%%DATADIR%%/web/functional.css
%%DATADIR%%/web/img/flowplayer.png
%%DATADIR%%/web/img/flowplayer@2x.png
%%DATADIR%%/web/img/play_white.png
%%DATADIR%%/web/img/play_white@x2.png
%%DATADIR%%/web/img/play_white_rtl.png
%%DATADIR%%/web/img/play_white_rtl@x2.png
%%DATADIR%%/web/img/white.png
%%DATADIR%%/web/img/white@x2.png
%%DATADIR%%/web/img/white_rtl.png
%%DATADIR%%/web/img/white_rtl@x2.png
%%DATADIR%%/web/inputbackground-search.png
%%DATADIR%%/web/jquery.min.js
%%DATADIR%%/web/jquery.ums.js
@ -127,29 +137,19 @@
%%DATADIR%%/web/web-narrow.css
%%DATADIR%%/web/web-wide.css
%%DATADIR%%/web/web.css
%%UMS_PROFILE_PATH%%/UMS.conf.sample
%%UMS_PROFILE_PATH%%/WEB.conf.sample
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/css
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/images
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry %%DATADIR%%/linux
@dirrmtry %%DATADIR%%/plugins
@dirrmtry %%DATADIR%%/renderers
@dirrmtry %%DATADIR%%/web/img
@dirrmtry %%DATADIR%%/web
@dirrmtry %%DATADIR%%
@comment - Added manually
@owner ums
@group ums
@exec mkdir -p %%UMS_PROFILE_PATH%%
%%UMS_PROFILE_PATH%%/UMS.conf.sample
%%UMS_PROFILE_PATH%%/WEB.conf.sample
@dirrmtry %%UMS_PROFILE_PATH%%
@exec mkdir -p %%UMS_PID_DIR%%
@dirrmtry %%UMS_PID_DIR%%
@exec mkdir -p %%UMS_LOG_DIR%%
@dirrmtry %%UMS_LOG_DIR%%
@owner
@group
@cwd /
@dirrm var/db/universal-media-server
@dirrm var/log/universal-media-server
@dirrm var/run/universal-media-server
@cwd %%RESETPREFIX%%