From dcec133efd409b56b73b972a8693c16a47feb185 Mon Sep 17 00:00:00 2001 From: Bartek Rutkowski Date: Sat, 2 Aug 2014 19:01:03 +0000 Subject: [PATCH] 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 Approved by: swills (mentor) --- multimedia/universal-media-server/Makefile | 10 +++-- multimedia/universal-media-server/distinfo | 4 +- multimedia/universal-media-server/pkg-plist | 42 ++++++++++----------- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/multimedia/universal-media-server/Makefile b/multimedia/universal-media-server/Makefile index 3301fe61198f..879a3b0d0085 100644 --- a/multimedia/universal-media-server/Makefile +++ b/multimedia/universal-media-server/Makefile @@ -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 diff --git a/multimedia/universal-media-server/distinfo b/multimedia/universal-media-server/distinfo index c11be427efd6..10c6a88a209f 100644 --- a/multimedia/universal-media-server/distinfo +++ b/multimedia/universal-media-server/distinfo @@ -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 diff --git a/multimedia/universal-media-server/pkg-plist b/multimedia/universal-media-server/pkg-plist index 55b3b9a94d6f..fcf29f91e3b9 100644 --- a/multimedia/universal-media-server/pkg-plist +++ b/multimedia/universal-media-server/pkg-plist @@ -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%%