Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2012 18:17:03 +0000 (UTC)
From:      Lars Thegler <lth@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303567 - in head/devel: . p5-Test-File-ShareDir
Message-ID:  <201209021817.q82IH3e9047749@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lth
Date: Sun Sep  2 18:17:03 2012
New Revision: 303567
URL: http://svn.freebsd.org/changeset/ports/303567

Log:
  Add p5-Test-File-ShareDir 0.3.1, create a fake ShareDir for your modules
  for testing.

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Sep  2 18:00:32 2012	(r303566)
+++ head/devel/Makefile	Sun Sep  2 18:17:03 2012	(r303567)
@@ -2590,6 +2590,7 @@
     SUBDIR += p5-Test-Fatal
     SUBDIR += p5-Test-File
     SUBDIR += p5-Test-File-Contents
+    SUBDIR += p5-Test-File-ShareDir
     SUBDIR += p5-Test-Fixture-DBIC-Schema
     SUBDIR += p5-Test-Group
     SUBDIR += p5-Test-HTML-Tidy

Added: head/devel/p5-Test-File-ShareDir/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Test-File-ShareDir/Makefile	Sun Sep  2 18:17:03 2012	(r303567)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	Test-File-ShareDir
+PORTVERSION=	0.3.1
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	Test
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	lth@FreeBSD.org
+COMMENT=	Create a fake ShareDir for your modules for testing
+
+BUILD_DEPENDS=	p5-File-Copy-Recursive>0:${PORTSDIR}/devel/p5-File-Copy-Recursive \
+		p5-File-ShareDir>=1.00:${PORTSDIR}/devel/p5-File-ShareDir \
+		p5-Path-Class>0:${PORTSDIR}/devel/p5-Path-Class
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+TEST_DEPENDS=	p5-Test-Fatal>0:${PORTSDIR}/devel/p5-Test-Fatal
+
+PERL_MODBUILD=	yes
+
+MAN3=	Test::File::ShareDir.3 \
+	Test::File::ShareDir::TempDirObject.3
+
+regression-test: build
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} test
+
+.include <bsd.port.mk>

Added: head/devel/p5-Test-File-ShareDir/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Test-File-ShareDir/distinfo	Sun Sep  2 18:17:03 2012	(r303567)
@@ -0,0 +1,2 @@
+SHA256 (Test-File-ShareDir-0.3.1.tar.gz) = cba4c50ce82b3e146d4f8984fa19c16561083840950b5954388e61a133814602
+SIZE (Test-File-ShareDir-0.3.1.tar.gz) = 18468

Added: head/devel/p5-Test-File-ShareDir/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Test-File-ShareDir/pkg-descr	Sun Sep  2 18:17:03 2012	(r303567)
@@ -0,0 +1,3 @@
+Create a fake ShareDir for your modules for testing.
+
+WWW: http://search.cpan.org/dist/Test-File-ShareDir/

Added: head/devel/p5-Test-File-ShareDir/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Test-File-ShareDir/pkg-plist	Sun Sep  2 18:17:03 2012	(r303567)
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Test/File/ShareDir/TempDirObject.pm
+%%SITE_PERL%%/Test/File/ShareDir.pm
+@dirrmtry %%SITE_PERL%%/Test/File/ShareDir
+@dirrmtry %%SITE_PERL%%/Test/File
+@dirrmtry %%SITE_PERL%%/Test



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