Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2018 23:15:07 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482390 - head/multimedia/tautulli
Message-ID:  <201810182315.w9INF7XM089677@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Oct 18 23:15:06 2018
New Revision: 482390
URL: https://svnweb.freebsd.org/changeset/ports/482390

Log:
  multimedia/tautulli: fix PORTDOCS and install
  
  Reported by:	tobik
  Pointyhat to:	swills

Modified:
  head/multimedia/tautulli/Makefile   (contents, props changed)

Modified: head/multimedia/tautulli/Makefile
==============================================================================
--- head/multimedia/tautulli/Makefile	Thu Oct 18 22:57:16 2018	(r482389)
+++ head/multimedia/tautulli/Makefile	Thu Oct 18 23:15:06 2018	(r482390)
@@ -22,12 +22,13 @@ USE_RC_SUBR=	${PORTNAME}
 
 SHEBANG_FILES=	Tautulli.py
 SUB_LIST=	PYTHON_CMD=${PYTHON_CMD}
+python_OLD_CMD=	/bin/sh
 GH_ACCOUNT=	Tautulli
 GH_PROJECT=	Tautulli
 
 NO_BUILD=	yes
 NO_ARCH=	yes
-DOCS=		API.md CHANGELOG.md README.md
+PORTDOCS=	API.md CHANGELOG.md README.md
 
 USERS=		tautulli
 GROUPS=		tautulli
@@ -40,12 +41,12 @@ post-patch:
 do-install:
 	${MKDIR} ${STAGEDIR}${WWWDIR}/data ${STAGEDIR}${WWWDIR}/lib \
 		${STAGEDIR}${WWWDIR}/plexpy
-	(cd ${WRKSRC} ; ${COPYTREE_SHARE} data lib plexpy ${STAGEDIR}${WWWDIR})
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "data lib plexpy" ${STAGEDIR}${WWWDIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/Tautulli.py ${STAGEDIR}${WWWDIR}
 
-do-install-DOCS-on:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 post-install:
 	${FIND} -s ${STAGEDIR}${WWWDIR} -type d -empty -delete



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810182315.w9INF7XM089677>