diff --git a/multimedia/plexmediaserver-plexpass/Makefile b/multimedia/plexmediaserver-plexpass/Makefile
index 4d74410fb8e6..9933f4be1377 100644
--- a/multimedia/plexmediaserver-plexpass/Makefile
+++ b/multimedia/plexmediaserver-plexpass/Makefile
@@ -1,20 +1,20 @@
-DISTVERSION=	1.32.8.7639
-DISTVERSIONSUFFIX=fb6452ebf
+DISTVERSION=	1.40.0.7998
+DISTVERSIONSUFFIX=c29d4c0c8
 MASTER_SITES=	https://downloads.plex.tv/plex-media-server-new/${DISTVERSION}-${DISTVERSIONSUFFIX}/freebsd/
 PKGNAMESUFFIX=	-plexpass
 DISTNAME=	PlexMediaServer-${DISTVERSION}-${DISTVERSIONSUFFIX}-FreeBSD-${ARCH}
 
 MAINTAINER=	b.shertenlieb@yahoo.com
 
 USE_RC_SUBR=	${PORTNAME}_plexpass
 
 DATADIR=	${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
 FILESDIR=	${.CURDIR}/files
 
 MASTERDIR=	${.CURDIR}/../plexmediaserver
 
 SUB_LIST=	PORTNAME=${PORTNAME}_plexpass DATADIR=${DATADIR} USERS=${USERS} GROUPS=${GROUPS}
 
 DISTINFO_FILE=	${.CURDIR}/distinfo
 
 .include "${MASTERDIR}/Makefile"
diff --git a/multimedia/plexmediaserver-plexpass/distinfo b/multimedia/plexmediaserver-plexpass/distinfo
index 58032de6a4bc..b1ec649d18f8 100644
--- a/multimedia/plexmediaserver-plexpass/distinfo
+++ b/multimedia/plexmediaserver-plexpass/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1698881654
-SHA256 (PlexMediaServer-1.32.8.7639-fb6452ebf-FreeBSD-amd64.tar.bz2) = 51d41d261e1d0f278eb456ea2f45439b390cd7bb109fa352038d49bcfff649e3
-SIZE (PlexMediaServer-1.32.8.7639-fb6452ebf-FreeBSD-amd64.tar.bz2) = 88858524
+TIMESTAMP = 1708679846
+SHA256 (PlexMediaServer-1.40.0.7998-c29d4c0c8-FreeBSD-amd64.tar.bz2) = 274da1dea6e6136d048246daf3f201f2a30669087e931f33eae0f55c7479c90e
+SIZE (PlexMediaServer-1.40.0.7998-c29d4c0c8-FreeBSD-amd64.tar.bz2) = 88926193
diff --git a/multimedia/plexmediaserver/Makefile b/multimedia/plexmediaserver/Makefile
index 970c05a6120f..52c868a10a1f 100644
--- a/multimedia/plexmediaserver/Makefile
+++ b/multimedia/plexmediaserver/Makefile
@@ -1,58 +1,58 @@
 PORTNAME=	plexmediaserver
-DISTVERSION?=	1.32.8.7639
-DISTVERSIONSUFFIX?=fb6452ebf
+DISTVERSION?=	1.40.0.7998
+DISTVERSIONSUFFIX?=c29d4c0c8
 CATEGORIES=	multimedia
 MASTER_SITES?=	https://downloads.plex.tv/plex-media-server-new/${DISTVERSION}-${DISTVERSIONSUFFIX}/freebsd/
 DISTNAME?=	PlexMediaServer-${DISTVERSION}-${DISTVERSIONSUFFIX}-FreeBSD-${ARCH}
 
 MAINTAINER=	b.shertenlieb@yahoo.com
 COMMENT=	Plex Media Server component
 WWW=		https://plex.tv
 
 ONLY_FOR_ARCHS=	amd64
 ONLY_FOR_ARCHS_REASON=	binary-only program, source code not available
 
 USES=		cpe tar:bzip2
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/PlexMediaServer-${DISTVERSION}-${DISTVERSIONSUFFIX}
 
 CPE_VENDOR=	plex
 CPE_PRODUCT=	media_server
 CPE_VERSION=	${DISTVERSION: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
 
 OPTIONS_DEFINE=	RELAY
 OPTIONS_DEFAULT=	RELAY
 OPTIONS_SUB=	yes
 RELAY_DESC=	Install Plex Relay daemon
 
 .include <bsd.port.pre.mk>
 
 post-patch:
 	# binaries don't come pre-stripped
 	${FIND} ${WRKSRC}/Resources -type f -name '*.so' -exec ${STRIP_CMD} {} \+
 	${FIND} ${WRKSRC} ${WRKSRC}/Resources -type f -name 'Plex*' -depth 1 -exec ${STRIP_CMD} {} \+
 	${FIND} ${WRKSRC} -depth 1 -type f -name 'lib*' -exec ${STRIP_CMD} {} \+
 
 post-patch-RELAY-off:
 	${RM} ${WRKSRC}/Plex\ Relay
 
 do-install:
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR})
 	# 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 <bsd.port.post.mk>
diff --git a/multimedia/plexmediaserver/distinfo b/multimedia/plexmediaserver/distinfo
index e23ff33e1f8e..157e13f9e605 100644
--- a/multimedia/plexmediaserver/distinfo
+++ b/multimedia/plexmediaserver/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1702019042
-SHA256 (PlexMediaServer-1.32.8.7639-fb6452ebf-FreeBSD-amd64.tar.bz2) = 51d41d261e1d0f278eb456ea2f45439b390cd7bb109fa352038d49bcfff649e3
-SIZE (PlexMediaServer-1.32.8.7639-fb6452ebf-FreeBSD-amd64.tar.bz2) = 88858524
+TIMESTAMP = 1708679749
+SHA256 (PlexMediaServer-1.40.0.7998-c29d4c0c8-FreeBSD-amd64.tar.bz2) = 274da1dea6e6136d048246daf3f201f2a30669087e931f33eae0f55c7479c90e
+SIZE (PlexMediaServer-1.40.0.7998-c29d4c0c8-FreeBSD-amd64.tar.bz2) = 88926193