Index: head/multimedia/plexmediaserver/Makefile =================================================================== --- head/multimedia/plexmediaserver/Makefile (revision 493670) +++ head/multimedia/plexmediaserver/Makefile (revision 493671) @@ -1,71 +1,71 @@ # Created by: KalleDK # $FreeBSD$ PORTNAME= plexmediaserver PORTVERSION?= 1.14.1.5488 DISTVERSIONSUFFIX?=cc260c476 PORTREVISION?= 0 CATEGORIES= multimedia -MASTER_SITES= https://downloads.plex.tv/plex-media-server/${DISTVERSION}-${DISTVERSIONSUFFIX}/ -DISTNAME= PlexMediaServer-${DISTVERSION}-${DISTVERSIONSUFFIX}-freebsd-${ARCH} +MASTER_SITES?= https://downloads.plex.tv/plex-media-server/${DISTVERSION}-${DISTVERSIONSUFFIX}/ +DISTNAME?= PlexMediaServer-${DISTVERSION}-${DISTVERSIONSUFFIX}-freebsd-${ARCH} MAINTAINER?= feld@FreeBSD.org COMMENT= Plex Media Server component USES= cpe tar:bzip2 NO_BUILD= yes WRKSRC= ${WRKDIR}/PlexMediaServer-${PORTVERSION}-${DISTVERSIONSUFFIX} CPE_VENDOR= plex CPE_PRODUCT= plex_media_server CPE_VERSION= ${PORTVERSION:R} USE_RC_SUBR?= ${PORTNAME} SUB_FILES= pkg-message SUB_LIST?= PORTNAME=${PORTNAME} DATADIR=${DATADIR} USERS=${USERS} GROUPS=${GROUPS} USERS= plex GROUPS= ${USERS} BUNDLE_LIBS= yes ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= binary-only program, source code not available OPTIONS_DEFINE= RELAY OPTIONS_DEFAULT= RELAY OPTIONS_SUB= yes RELAY_DESC= Install Plex Relay daemon .include .if ${OPSYS} == FreeBSD RUN_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:misc/compat9x .endif post-patch: # binaries don't come pre-stripped ${FIND} ${WRKSRC}/Resources -name '*.so' -exec ${STRIP_CMD} {} \+ ${FIND} ${WRKSRC} ${WRKSRC}/Resources -name 'Plex*' -depth 1 -exec ${STRIP_CMD} {} \+ ${FIND} ${WRKSRC} -depth 1 -name 'lib*' -exec ${STRIP_CMD} {} \+ ${RM} ${WRKSRC}/start.sh ${WRKSRC}/Resources/start.sh # Older verisons of Plex we have to create a symlink # Newer versions of Plex ship a duplicate file; we'll just symlink ${RM} ${WRKSRC}/libpython2.7.so post-patch-RELAY-off: ${RM} ${WRKSRC}/Plex\ Relay do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}) # Python fix for older releases of Plex ${INSTALL} -lrs ${STAGEDIR}/${DATADIR}/libpython2.7.so.1 ${STAGEDIR}/${DATADIR}/libpython2.7.so # Workaround for space in binary name ${INSTALL} -lrs ${STAGEDIR}/${DATADIR}/Plex\ Media\ Server ${STAGEDIR}/${DATADIR}/Plex_Media_Server post-install: @${CHMOD} 555 ${STAGEDIR}/${DATADIR}/CrashUploader ${STAGEDIR}/${DATADIR}/Plex* @${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} .include Index: head/multimedia/plexmediaserver-plexpass/Makefile =================================================================== --- head/multimedia/plexmediaserver-plexpass/Makefile (revision 493670) +++ head/multimedia/plexmediaserver-plexpass/Makefile (revision 493671) @@ -1,21 +1,23 @@ # Created by: KalleDK # $FreeBSD$ -PORTVERSION= 1.14.1.5488 -DISTVERSIONSUFFIX=cc260c476 +PORTVERSION= 1.15.1.707 +DISTVERSIONSUFFIX=d893009fb PORTREVISION= 0 +MASTER_SITES= https://downloads.plex.tv/plex-media-server-new/${DISTVERSION}-${DISTVERSIONSUFFIX}/freebsd/ PKGNAMESUFFIX= -plexpass +DISTNAME= PlexMediaServer-${DISTVERSION}-${DISTVERSIONSUFFIX}-FreeBSD-${ARCH} MAINTAINER= feld@FreeBSD.org USE_RC_SUBR= ${PORTNAME}_plexpass MASTERDIR=${.CURDIR}/../plexmediaserver DISTINFO_FILE= ${.CURDIR}/distinfo FILESDIR= ${.CURDIR}/files DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} SUB_LIST= PORTNAME=${PORTNAME}_plexpass DATADIR=${DATADIR} USERS=${USERS} GROUPS=${GROUPS} .include "${MASTERDIR}/Makefile" Index: head/multimedia/plexmediaserver-plexpass/distinfo =================================================================== --- head/multimedia/plexmediaserver-plexpass/distinfo (revision 493670) +++ head/multimedia/plexmediaserver-plexpass/distinfo (revision 493671) @@ -1,3 +1,3 @@ -TIMESTAMP = 1545160760 -SHA256 (PlexMediaServer-1.14.1.5488-cc260c476-freebsd-amd64.tar.bz2) = 9a157e1566963bceac6e736d679522b7030cd53ddcbb3b0982a9e0a13cc176f1 -SIZE (PlexMediaServer-1.14.1.5488-cc260c476-freebsd-amd64.tar.bz2) = 90555303 +TIMESTAMP = 1550926709 +SHA256 (PlexMediaServer-1.15.1.707-d893009fb-FreeBSD-amd64.tar.bz2) = 5650c0119d65f5e963eaa4431cda15fc078ffd07e858a7f1ce8f97288d03b7ed +SIZE (PlexMediaServer-1.15.1.707-d893009fb-FreeBSD-amd64.tar.bz2) = 92177327