diff options
author | Mark Felder <feld@FreeBSD.org> | 2014-02-28 13:58:36 +0000 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2014-02-28 13:58:36 +0000 |
commit | 8c92b0bd0793c028bf795cd97d4bd28db33a8f14 (patch) | |
tree | 4ad45133df9aa313f8a71a2d70f9ebf665d00ed4 /multimedia/plexmediaserver-plexpass | |
parent | f3465ba031bcda43ca5ce00cf70519777c5ca387 (diff) | |
download | ports-8c92b0bd0793c028bf795cd97d4bd28db33a8f14.tar.gz ports-8c92b0bd0793c028bf795cd97d4bd28db33a8f14.zip |
Notes
Diffstat (limited to 'multimedia/plexmediaserver-plexpass')
-rw-r--r-- | multimedia/plexmediaserver-plexpass/Makefile | 2 | ||||
-rw-r--r-- | multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/multimedia/plexmediaserver-plexpass/Makefile b/multimedia/plexmediaserver-plexpass/Makefile index b1d9a8da7ff5..fb284ac37b44 100644 --- a/multimedia/plexmediaserver-plexpass/Makefile +++ b/multimedia/plexmediaserver-plexpass/Makefile @@ -3,7 +3,7 @@ PORTNAME= plexmediaserver PORTVERSION= 0.9.9.5.411 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= http://plex.r.worldssl.net/plex-media-server/${PORTVERSION}-${PLEX_BUILD}/ PKGNAMESUFFIX= -plexpass diff --git a/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in b/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in index 3438faf400bc..2c1147d64c1d 100644 --- a/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in +++ b/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in @@ -1,5 +1,5 @@ #!/bin/sh -# Created by: Created by: KalleDK <plexmaintainer@k-moeller.dk> +# Created by: KalleDK <plexmaintainer@k-moeller.dk> # # $FreeBSD$ # @@ -48,7 +48,6 @@ plex_precmd() export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=${plexmediaserver_plexpass_maxplugins} export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=${plexmediaserver_plexpass_support_path} export PLEX_MEDIA_SERVER_PIDFILE=${pidfile} - if ${plexmediaserver_tmp}; then export PLEX_MEDIA_SERVER_TMPDIR=${plexmediaserver_plexpass_tmp}; fi export PATH="${SCRIPTPATH}/Resources/Python/bin:${PATH}" export LC_ALL="C" export LANG="C" @@ -61,6 +60,11 @@ plex_precmd() if [ ! -d "${plexmediaserver_plexpass_support_path}/Plex Media Server" ]; then install -d -g ${plexmediaserver_plexpass_group} -o ${plexmediaserver_plexpass_user} "${plexmediaserver_plexpass_support_path}/Plex Media Server"; fi + + if [ ${plexmediaserver_plexpass_tmp} ]; then + export TMPDIR=${plexmediaserver_plexpass_tmp}; + install -d -g ${plexmediaserver_plexpass_group} -o ${plexmediaserver_plexpass_user} "${plexmediaserver_plexpass_tmp}"; + fi } plex_startcmd() |