Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2019 08:59:45 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499006 - in head/devel: . p5-File-ShareDir-Tarball
Message-ID:  <201904150859.x3F8xjp9099210@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Mon Apr 15 08:59:45 2019
New Revision: 499006
URL: https://svnweb.freebsd.org/changeset/ports/499006

Log:
  New port: devel/p5-File-ShareDir-Tarball
  
  If the shared files of a distribution are contained in a tarball (see
  Dist::Zilla::Plugin::ShareDir::Tarball for why you would want to do that)
  automatically extract the archive in a temporary directory and return the
  path to that directory.
  
  If called for a regular distribution without a bundle file
  (shared-files.tar.gz), it'll return the original shared dir. In other words,
  from the consumer point of view, it'll behave just like File::ShareDir.
  
  WWW: https://metacpan.org/pod/File::ShareDir::Tarball
  
  PR:		237109
  Submitted by:	Geoffroy Desvernay <dgeo@centrale-marseille.fr>
  Reviewed by:	tcberner (mentor)
  Approved by:	miwi (mentor)
  Differential Revision:	https://reviews.freebsd.org/D19858

Added:
  head/devel/p5-File-ShareDir-Tarball/
  head/devel/p5-File-ShareDir-Tarball/Makefile   (contents, props changed)
  head/devel/p5-File-ShareDir-Tarball/distinfo   (contents, props changed)
  head/devel/p5-File-ShareDir-Tarball/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Apr 15 08:50:34 2019	(r499005)
+++ head/devel/Makefile	Mon Apr 15 08:59:45 2019	(r499006)
@@ -2602,6 +2602,7 @@
     SUBDIR += p5-File-ShareDir-PAR
     SUBDIR += p5-File-ShareDir-PathClass
     SUBDIR += p5-File-ShareDir-ProjectDistDir
+    SUBDIR += p5-File-ShareDir-Tarball
     SUBDIR += p5-File-Slurp
     SUBDIR += p5-File-Slurp-Tiny
     SUBDIR += p5-File-Slurp-Tree

Added: head/devel/p5-File-ShareDir-Tarball/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-File-ShareDir-Tarball/Makefile	Mon Apr 15 08:59:45 2019	(r499006)
@@ -0,0 +1,31 @@
+# Created by: Geoffroy Desvernay <dgeo@centrale-marseille.fr>
+# $FreeBSD$
+
+PORTNAME=	File-ShareDir-Tarball
+PORTVERSION=	0.2.2
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	dgeo@centrale-marseille.fr
+COMMENT=	Deal transparently with shared files distributed as tarballs
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE_ART10=	${WRKSRC}/LICENSE
+LICENSE_FILE_GPLv1+ =	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS} \
+		p5-Module-Build>=0:devel/p5-Module-Build
+RUN_DEPENDS=	p5-File-ShareDir>=0:devel/p5-File-ShareDir \
+		p5-File-chdir>=0:devel/p5-File-chdir
+TEST_DEPENDS=	p5-Test-File-ShareDir>=0.3.0:devel/p5-Test-File-ShareDir
+
+USES=		perl5
+USE_PERL5=	modbuild
+
+NO_ARCH=	yes
+PLIST_FILES=	${SITE_PERL_REL}/File/ShareDir/Tarball.pm \
+		${SITE_MAN3_REL}/File::ShareDir::Tarball.3.gz
+
+.include <bsd.port.mk>

Added: head/devel/p5-File-ShareDir-Tarball/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-File-ShareDir-Tarball/distinfo	Mon Apr 15 08:59:45 2019	(r499006)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1553526123
+SHA256 (File-ShareDir-Tarball-0.2.2.tar.gz) = 49e785f266e3e2ef001236fb2371eab598ad949fad12ca641172f7825fd02395
+SIZE (File-ShareDir-Tarball-0.2.2.tar.gz) = 14475

Added: head/devel/p5-File-ShareDir-Tarball/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-File-ShareDir-Tarball/pkg-descr	Mon Apr 15 08:59:45 2019	(r499006)
@@ -0,0 +1,10 @@
+If the shared files of a distribution are contained in a tarball (see
+Dist::Zilla::Plugin::ShareDir::Tarball for why you would want to do that)
+automatically extract the archive in a temporary directory and return the path
+to that directory.
+
+If called for a regular distribution without a bundle file
+(shared-files.tar.gz), it'll return the original shared dir. In other words,
+from the consumer point of view, it'll behave just like File::ShareDir.
+
+WWW: https://metacpan.org/pod/File::ShareDir::Tarball



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