diff options
-rw-r--r-- | databases/p5-Rose-DBx-Garden-Catalyst/Makefile | 28 | ||||
-rw-r--r-- | databases/p5-Rose-DBx-Garden-Catalyst/distinfo | 9 | ||||
-rw-r--r-- | databases/p5-Rose-DBx-Garden-Catalyst/patches/patch-aa | 13 |
3 files changed, 40 insertions, 10 deletions
diff --git a/databases/p5-Rose-DBx-Garden-Catalyst/Makefile b/databases/p5-Rose-DBx-Garden-Catalyst/Makefile index dbca6ecdda4..4705120789a 100644 --- a/databases/p5-Rose-DBx-Garden-Catalyst/Makefile +++ b/databases/p5-Rose-DBx-Garden-Catalyst/Makefile @@ -1,18 +1,25 @@ -# $NetBSD: Makefile,v 1.2 2008/10/19 19:17:46 he Exp $ +# $NetBSD: Makefile,v 1.3 2008/12/17 01:45:44 he Exp $ -DISTNAME= Rose-DBx-Garden-Catalyst-0.08 +DISTNAME= Rose-DBx-Garden-Catalyst-0.12 PKGNAME= p5-${DISTNAME} -PKGREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Rose/} MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://search.cpan.org/perldoc?Rose::DBx::Garden::Catalyst +HOMEPAGE= http://search.cpan.org/dist/Rose-DBx-Garden-Catalyst/ COMMENT= Create Catalyst components that use RDBO and RHTMLO +DEPENDS+= p5-Catalyst-Runtime>=5.7:../../www/p5-Catalyst-Runtime +DEPENDS+= p5-Catalyst-Plugin-ConfigLoader>=0:../../www/p5-Catalyst-Plugin-ConfigLoader +DEPENDS+= p5-Catalyst-Plugin-Static-Simple>=0:../../www/p5-Catalyst-Plugin-Static-Simple +DEPENDS+= p5-CatalystX-CRUD-YUI>=0.009:../../www/p5-CatalystX-CRUD-YUI + +DEPENDS+= p5-Rose-HTMLx-Form-Related>=0.12:../../www/p5-Rose-HTMLx-Form-Related +DEPENDS+= p5-Rose-DBx-Object-MoreHelpers>=0.06:../../databases/p5-Rose-DBx-Object-MoreHelpers +DEPENDS+= p5-Rose-DBx-AutoReconnect>=0:../../databases/p5-Rose-DBx-AutoReconnect +DEPENDS+= p5-Rose-DB-Object>=0.77:../../databases/p5-Rose-DB-Object DEPENDS+= p5-Rose-DBx-Garden>=0.11:../../databases/p5-Rose-DBx-Garden DEPENDS+= p5-YAML-Syck>=0:../../textproc/p5-YAML-Syck -DEPENDS+= p5-Catalyst-Runtime>=0:../../www/p5-Catalyst-Runtime DEPENDS+= p5-JSON>=>2.00:../../converters/p5-JSON DEPENDS+= p5-JSON-XS>=>2.00:../../converters/p5-JSON-XS DEPENDS+= p5-Data-Dump>=0:../../devel/p5-Data-Dump @@ -22,10 +29,19 @@ DEPENDS+= p5-Path-Class>=0:../../devel/p5-Path-Class DEPENDS+= p5-Template-Toolkit>=0:../../www/p5-Template-Toolkit DEPENDS+= p5-Catalyst-View-TT>=0:../../www/p5-Catalyst-View-TT DEPENDS+= p5-CatalystX-CRUD>=0:../../databases/p5-CatalystX-CRUD -DEPENDS+= p5-CatalystX-CRUD-Model-RDBO>=0.10:../../databases/p5-CatalystX-CRUD-Model-RDBO +DEPENDS+= p5-CatalystX-CRUD-Model-RDBO>=0.16:../../databases/p5-CatalystX-CRUD-Model-RDBO DEPENDS+= p5-CatalystX-CRUD-Controller-RHTMLO>=0.10:../../www/p5-CatalystX-CRUD-Controller-RHTMLO DEPENDS+= p5-Scalar-List-Utils>=0:../../devel/p5-Scalar-List-Utils +# For tests: +BUILD_DEPENDS+= sqlite3>=0:../../databases/sqlite3 + +SUBST_CLASSES+= sqlite3 +SUBST_MESSAGE.sqlite3= Fixing sqlite3-using test +SUBST_STAGE.sqlite3= post-configure +SUBST_FILES.sqlite3= t/lib/MyDB.pm +SUBST_SED.sqlite3= -e "s!system(\"sqlite3!system(\"${PREFIX}/bin/sqlite3!" + USE_LANGUAGES= # empty PERL5_PACKLIST= auto/Rose/DBx/Garden/Catalyst/.packlist diff --git a/databases/p5-Rose-DBx-Garden-Catalyst/distinfo b/databases/p5-Rose-DBx-Garden-Catalyst/distinfo index c498a001af3..b186b0aa2e6 100644 --- a/databases/p5-Rose-DBx-Garden-Catalyst/distinfo +++ b/databases/p5-Rose-DBx-Garden-Catalyst/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/07/15 09:14:31 abs Exp $ +$NetBSD: distinfo,v 1.2 2008/12/17 01:45:44 he Exp $ -SHA1 (Rose-DBx-Garden-Catalyst-0.08.tar.gz) = 4a3ce1865b3cb341e4db2b14e7e170f104b95e40 -RMD160 (Rose-DBx-Garden-Catalyst-0.08.tar.gz) = 2f8359138772de3c0284e5f44cbd0c4782552543 -Size (Rose-DBx-Garden-Catalyst-0.08.tar.gz) = 29849 bytes +SHA1 (Rose-DBx-Garden-Catalyst-0.12.tar.gz) = 4ff1bfd5402a8e60ff11e68f2fdc6d2ff50ccbe7 +RMD160 (Rose-DBx-Garden-Catalyst-0.12.tar.gz) = 792034129df64b843f6714737919cf753e240c7b +Size (Rose-DBx-Garden-Catalyst-0.12.tar.gz) = 18133 bytes +SHA1 (patch-aa) = 9e7581161ce7cc3dcfcbda89fb60a61f33609fc9 diff --git a/databases/p5-Rose-DBx-Garden-Catalyst/patches/patch-aa b/databases/p5-Rose-DBx-Garden-Catalyst/patches/patch-aa new file mode 100644 index 00000000000..66061df294d --- /dev/null +++ b/databases/p5-Rose-DBx-Garden-Catalyst/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2008/12/17 01:45:44 he Exp $ + +--- t/lib/MyDB.pm.orig 2008-12-17 02:30:18.000000000 +0100 ++++ t/lib/MyDB.pm +@@ -27,7 +27,7 @@ $db = Path::Class::File->new( $base_pat + + # create the db if it does not yet exist + if ( !-s $db ) { +- system("sqlite3 $db < $sql") and die "can't create $db with $sql: $!"; ++ system("sqlite3 $db < $sql") or die "can't create $db with $sql: $!"; + } + + if ( !$db or !-s $db ) { |