pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

jitsi-meet: install files with the source-archive target



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Fri Sep 4 06:24:27 2020 +0200
Changeset:	e17c7617a6aa49fff4f9281787183f6f4ca629e8

Modified Files:
	jitsi-meet/Makefile
	jitsi-meet/PLIST

Log Message:
jitsi-meet: install files with the source-archive target

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e17c7617a6aa49fff4f9281787183f6f4ca629e8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 jitsi-meet/Makefile | 11 +++--------
 jitsi-meet/PLIST    |  1 -
 2 files changed, 3 insertions(+), 9 deletions(-)

diffs:
diff --git a/jitsi-meet/Makefile b/jitsi-meet/Makefile
index dea5ec3996..a4c9a3b4a4 100644
--- a/jitsi-meet/Makefile
+++ b/jitsi-meet/Makefile
@@ -14,7 +14,7 @@ LICENSE=	apache-2.0
 
 WRKSRC=		${WRKDIR}/jitsi-meet-${DISTNAME}
 USE_LANGUAGES=	c c++
-USE_TOOLS=	gmake pax
+USE_TOOLS=	gmake tar
 
 PYTHON_VERSIONS_ACCEPTED=	27
 
@@ -24,7 +24,6 @@ BUILD_TARGET=	compile
 INSTALL_TARGET=	deploy
 
 INSTALLATION_DIRS+=	share/jitsi-meet
-INSTALLATION_DIRS+=	share/jitsi-meet/css
 
 do-configure:
 	cd ${WRKSRC} && \
@@ -32,12 +31,8 @@ do-configure:
 
 post-install:
 	cd ${WRKSRC} && \
-		${PAX} -rw *.js *.html resources/*.txt \
-			connection_optimization favicon.ico fonts images libs \
-			static sounds LICENSE lang \
-			${DESTDIR}${PREFIX}/share/jitsi-meet && \
-		${PAX} -rw css/all.css \
-			${DESTDIR}${PREFIX}/share/jitsi-meet/css
+		${MAKE} source-package
+	${RUN} ${TAR} -C ${DESTDIR}${PREFIX}/share -xjf ${WRKSRC}/jitsi-meet.tar.bz2
 
 .include "../../lang/nodejs/buildlink3.mk"
 .include "../../lang/nodejs/nodeversion.mk"
diff --git a/jitsi-meet/PLIST b/jitsi-meet/PLIST
index ccdbf616be..a52f3d3958 100644
--- a/jitsi-meet/PLIST
+++ b/jitsi-meet/PLIST
@@ -178,7 +178,6 @@ share/jitsi-meet/libs/video-blur-effect.min.map
 share/jitsi-meet/logging_config.js
 share/jitsi-meet/metro.config.js
 share/jitsi-meet/plugin.head.html
-share/jitsi-meet/resources/robots.txt
 share/jitsi-meet/robots.txt
 share/jitsi-meet/sounds/incomingMessage.wav
 share/jitsi-meet/sounds/joined.wav


Home | Main Index | Thread Index | Old Index