From owner-svn-ports-all@freebsd.org Fri Jun 15 14:01:39 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CC921007E8E; Fri, 15 Jun 2018 14:01:39 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B75E26F18F; Fri, 15 Jun 2018 14:01:38 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9905318566; Fri, 15 Jun 2018 14:01:38 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5FE1c8T035941; Fri, 15 Jun 2018 14:01:38 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5FE1cXL035940; Fri, 15 Jun 2018 14:01:38 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201806151401.w5FE1cXL035940@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 15 Jun 2018 14:01:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472450 - head/multimedia/plexmediaserver X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/multimedia/plexmediaserver X-SVN-Commit-Revision: 472450 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 14:01:39 -0000 Author: amdmi3 Date: Fri Jun 15 14:01:38 2018 New Revision: 472450 URL: https://svnweb.freebsd.org/changeset/ports/472450 Log: - Whitespace fixes - Helpers - Remove always true OSVERSION condition Approved by: portmgr blanket Modified: head/multimedia/plexmediaserver/Makefile Modified: head/multimedia/plexmediaserver/Makefile ============================================================================== --- head/multimedia/plexmediaserver/Makefile Fri Jun 15 13:58:20 2018 (r472449) +++ head/multimedia/plexmediaserver/Makefile Fri Jun 15 14:01:38 2018 (r472450) @@ -14,7 +14,7 @@ COMMENT= Plex Media Server component USES= cpe tar:bzip2 NO_BUILD= yes -WRKSRC= ${WRKDIR}/PlexMediaServer-${PORTVERSION}-${DISTVERSIONSUFFIX} +WRKSRC= ${WRKDIR}/PlexMediaServer-${PORTVERSION}-${DISTVERSIONSUFFIX} CPE_VENDOR= plex CPE_PRODUCT= plex_media_server @@ -25,8 +25,8 @@ USE_RC_SUBR?= ${PORTNAME} SUB_FILES= pkg-message SUB_LIST?= PORTNAME=${PORTNAME} DATADIR=${DATADIR} USERS=${USERS} GROUPS=${GROUPS} -USERS= plex -GROUPS= ${USERS} +USERS= plex +GROUPS= ${USERS} BUNDLE_LIBS= yes ONLY_FOR_ARCHS= amd64 @@ -37,11 +37,9 @@ OPTIONS_DEFAULT= RELAY OPTIONS_SUB= yes RELAY_DESC= Install Plex Relay daemon -.include - .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000054 +.if ${OPSYS} == FreeBSD RUN_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:misc/compat9x .endif @@ -54,9 +52,9 @@ post-patch: # 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 -.if ! ${PORT_OPTIONS:MRELAY} + +post-patch-RELAY-off: ${RM} ${WRKSRC}/Plex\ Relay -.endif do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR})