aboutsummaryrefslogtreecommitdiff
path: root/multimedia/plexmediaserver
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2013-10-02 17:54:38 +0000
committerMark Felder <feld@FreeBSD.org>2013-10-02 17:54:38 +0000
commitdd6c6ac5d90f049309b6176a6af80a3719453477 (patch)
tree98edc32cd92b09686ce43d002035b0393168640b /multimedia/plexmediaserver
parent32309d9ee43f1c5fd0faba1e44eb3c3018da13bd (diff)
downloadports-dd6c6ac5d90f049309b6176a6af80a3719453477.tar.gz
ports-dd6c6ac5d90f049309b6176a6af80a3719453477.zip
Notes
Diffstat (limited to 'multimedia/plexmediaserver')
-rw-r--r--multimedia/plexmediaserver/Makefile29
-rw-r--r--multimedia/plexmediaserver/pkg-plist1
2 files changed, 15 insertions, 15 deletions
diff --git a/multimedia/plexmediaserver/Makefile b/multimedia/plexmediaserver/Makefile
index 0fafe5b09e65..dcc0257c9ea2 100644
--- a/multimedia/plexmediaserver/Makefile
+++ b/multimedia/plexmediaserver/Makefile
@@ -3,6 +3,7 @@
PORTNAME= plexmediaserver
PORTVERSION= 0.9.8.7.186
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://plex.r.worldssl.net/plex-media-server/${PORTVERSION}-${PLEX_BUILD}/
DISTNAME= PlexMediaServer-${PORTVERSION}-${PLEX_BUILD}-freebsd-amd64
@@ -22,8 +23,8 @@ SUB_LIST= SUPPORT_PATH=${SUPPORT_PATH} SCRIPT_PATH="${SCRIPT_PATH}" USERS=${USER
USERS= plex
GROUPS= plex
-SUPPORT_PATH?= ${STAGEDIR}/${PREFIX}/plexdata
-SCRIPT_PATH?= ${STAGEDIR}/${DATADIR}
+SUPPORT_PATH?= ${PREFIX}/plexdata
+SCRIPT_PATH?= ${DATADIR}
ONLY_FOR_ARCHS= amd64
@@ -34,19 +35,19 @@ IGNORE= supplied binaries compiled for FreeBSD 9
.endif
do-install:
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} Resources ${SCRIPT_PATH})
- ${INSTALL_PROGRAM} ${WRKSRC}/Plex\ DLNA\ Server ${SCRIPT_PATH}
- ${INSTALL_PROGRAM} ${WRKSRC}/Plex\ Media\ Scanner ${SCRIPT_PATH}
- ${INSTALL_PROGRAM} ${WRKSRC}/Plex\ Media\ Server ${SCRIPT_PATH}
- ${INSTALL_SCRIPT} ${WRKSRC}/start.sh ${SCRIPT_PATH}
- ${INSTALL_LIB} ${WRKSRC}/lib* ${SCRIPT_PATH}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} Resources ${STAGEDIR}/${SCRIPT_PATH})
+ ${INSTALL_PROGRAM} ${WRKSRC}/Plex\ DLNA\ Server ${STAGEDIR}/${SCRIPT_PATH}
+ ${INSTALL_PROGRAM} ${WRKSRC}/Plex\ Media\ Scanner ${STAGEDIR}/${SCRIPT_PATH}
+ ${INSTALL_PROGRAM} ${WRKSRC}/Plex\ Media\ Server ${STAGEDIR}/${SCRIPT_PATH}
+ ${INSTALL_SCRIPT} ${WRKSRC}/start.sh ${STAGEDIR}/${SCRIPT_PATH}
+ ${INSTALL_LIB} ${WRKSRC}/lib* ${STAGEDIR}/${SCRIPT_PATH}
# Fix permissions to programs and db
- @${CHMOD} a+x ${SCRIPT_PATH}/Resources/rsync
- @${CHMOD} a+x ${SCRIPT_PATH}/Resources/Plex\ New\ Transcoder
- @${CHMOD} a+x ${SCRIPT_PATH}/Resources/Plex\ Transcoder
- @${CHMOD} a+x ${SCRIPT_PATH}/Resources/Python/bin/python
- @${CHMOD} u+w ${SCRIPT_PATH}/Resources/com.plexapp.plugins.library.db
+ @${CHMOD} a+x ${STAGEDIR}/${SCRIPT_PATH}/Resources/rsync
+ @${CHMOD} a+x ${STAGEDIR}/${SCRIPT_PATH}/Resources/Plex\ New\ Transcoder
+ @${CHMOD} a+x ${STAGEDIR}/${SCRIPT_PATH}/Resources/Plex\ Transcoder
+ @${CHMOD} a+x ${STAGEDIR}/${SCRIPT_PATH}/Resources/Python/bin/python
+ @${CHMOD} u+w ${STAGEDIR}/${SCRIPT_PATH}/Resources/com.plexapp.plugins.library.db
# Python fix
- @${LN} -s ${SCRIPT_PATH}/libpython2.7.so.1 ${SCRIPT_PATH}/libpython2.7.so
+ @${LN} -s ${SCRIPT_PATH}/libpython2.7.so.1 ${STAGEDIR}/${SCRIPT_PATH}/libpython2.7.so
.include <bsd.port.post.mk>
diff --git a/multimedia/plexmediaserver/pkg-plist b/multimedia/plexmediaserver/pkg-plist
index 4a499149936e..dae6506a78b2 100644
--- a/multimedia/plexmediaserver/pkg-plist
+++ b/multimedia/plexmediaserver/pkg-plist
@@ -1,4 +1,3 @@
-etc/rc.d/plexmediaserver
%%DATADIR%%/Plex DLNA Server
%%DATADIR%%/Plex Media Scanner
%%DATADIR%%/Plex Media Server