Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2014 04:02:15 GMT
From:      svn-freebsd-gecko@chruetertee.ch
To:        freebsd-gecko@freebsd.org
Subject:   [SVN-Commit] r1765 - trunk/www/linux-pepperflash
Message-ID:  <201411190402.sAJ42Fv9038577@trillian.chruetertee.ch>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Nov 19 04:02:13 2014
New Revision: 1765

Log:
- move distfile outside of centos subdirectory
- use WRKSRC for path to the useful content
- don't extract the whole Chrome

Modified:
   trunk/www/linux-pepperflash/Makefile
   trunk/www/linux-pepperflash/distinfo.i386

Modified: trunk/www/linux-pepperflash/Makefile
==============================================================================
--- trunk/www/linux-pepperflash/Makefile	Wed Nov 19 03:04:24 2014	(r1764)
+++ trunk/www/linux-pepperflash/Makefile	Wed Nov 19 04:02:13 2014	(r1765)
@@ -6,6 +6,7 @@
 MASTER_SITES=	http://dl.google.com/linux/chrome/rpm/stable/${LINUX_RPM_ARCH}/
 PKGNAMEPREFIX=	linux-
 DISTNAME=	google-chrome-stable-${DISTVERSION}
+DIST_SUBDIR=	rpm/${LINUX_RPM_ARCH}
 
 MAINTAINER=	gecko@FreeBSD.org
 COMMENT=	Pepper Flash from Google Chrome
@@ -19,13 +20,15 @@
 RPMVERSION=	1
 LINUX_RPM_ARCH=	i386
 ONLY_FOR_ARCHS=	amd64 i386
+EXTRACT_AFTER_ARGS=--include ${WRKSRC_SUBDIR}
+WRKSRC_SUBDIR=	opt/google/chrome/PepperFlash
 PREFIX?=	${LOCALBASE} # ignore USE_LINUX_PREFIX
 DATADIR=	${PREFIX}/lib/PepperFlash
 PORTDATA=	libpepflashplayer.so manifest.json
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${TAR} cf - -C${WRKSRC}/opt/google/chrome PepperFlash \
+	${TAR} cf - -C${WRKSRC:H} ${WRKSRC:T} \
 		| ${TAR} xof - -C${STAGEDIR}${DATADIR:H}
 
 .include <bsd.port.mk>

Modified: trunk/www/linux-pepperflash/distinfo.i386
==============================================================================
--- trunk/www/linux-pepperflash/distinfo.i386	Wed Nov 19 03:04:24 2014	(r1764)
+++ trunk/www/linux-pepperflash/distinfo.i386	Wed Nov 19 04:02:13 2014	(r1765)
@@ -1,2 +1,2 @@
-SHA256 (rpm/i386/centos/6.6/google-chrome-stable-39.0.2171.65-1.i386.rpm) = 2fba30a41326f6152cdb79939883842ac741f7cc25da0a57aaf9757acdd055ee
-SIZE (rpm/i386/centos/6.6/google-chrome-stable-39.0.2171.65-1.i386.rpm) = 59390698
+SHA256 (rpm/i386/google-chrome-stable-39.0.2171.65-1.i386.rpm) = 2fba30a41326f6152cdb79939883842ac741f7cc25da0a57aaf9757acdd055ee
+SIZE (rpm/i386/google-chrome-stable-39.0.2171.65-1.i386.rpm) = 59390698



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