the catalyst tutorial is now available on CPAN, so redo the package

with the actual sample code, along with new dependencies.
This commit is contained in:
espie 2006-11-10 11:12:00 +00:00
parent 6dfaaff84d
commit 4af5d10620
5 changed files with 141 additions and 22 deletions

View File

@ -1,17 +1,13 @@
# $OpenBSD: Makefile,v 1.4 2006/11/07 12:03:57 espie Exp $
# $OpenBSD: Makefile,v 1.5 2006/11/10 11:12:00 espie Exp $
COMMENT= "catalyst packages for the tutorial"
MAINTAINER= Marc Espie <espie@openbsd.org>
CATEGORIES= devel perl5 www
DISTFILES=
DISTNAME= catalyst-tutorial-0.2
DISTNAME= Task-Catalyst-Tutorial-0.02
PKGNAME= catalyst-tutorial-0.02v0
NO_BUILD= "nothing to build"
NO_REGRESS= "fat chance"
do-install:
# nothing to do
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Task/}
# Public domain
PERMIT_DISTFILES_FTP=Yes
@ -19,10 +15,12 @@ PERMIT_DISTFILES_CDROM=Yes
PERMIT_PACKAGE_FTP=Yes
PERMIT_PACKAGE_CDROM=Yes
CONFIGURE_STYLE=perl
RUN_DEPENDS= ::www/p5-Catalyst-Runtime \
::www/p5-Catalyst-Devel \
::databases/p5-DBIx-Class \
::databases/p5-DBIx-Class-HTMLWidget \
::databases/p5-Catalyst-Model-DBIC-Schema \
::security/p5-Catalyst-Plugin-Authentication \
::security/p5-Catalyst-Plugin-Authentication-Store-DBIC \
::security/p5-Catalyst-Plugin-Authorization-ACL \
@ -33,6 +31,7 @@ RUN_DEPENDS= ::www/p5-Catalyst-Runtime \
::www/p5-Catalyst-Plugin-Session-State-Cookie \
::www/p5-Catalyst-Plugin-Session-Store-FastMmap \
::devel/p5-Catalyst-Plugin-StackTrace \
::devel/p5-Catalyst-Manual \
::www/p5-Catalyst-Plugin-Static-Simple \
::databases/p5-DBD-SQLite \
::textproc/p5-Catalyst-View-TT

View File

@ -0,0 +1,4 @@
MD5 (Task-Catalyst-Tutorial-0.02.tar.gz) = 307046ae5aecb40b5c1dd64fa3fbfc9a
RMD160 (Task-Catalyst-Tutorial-0.02.tar.gz) = 1e84c10210a549c9c0062b60852b1b1748a0c89e
SHA1 (Task-Catalyst-Tutorial-0.02.tar.gz) = 22cde891b5bd59682ccc818affff377e030ad95d
SIZE (Task-Catalyst-Tutorial-0.02.tar.gz) = 129332

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-Makefile_PL,v 1.1 2006/11/10 11:12:00 espie Exp $
--- Makefile.PL.orig Fri Nov 10 13:49:27 2006
+++ Makefile.PL Fri Nov 10 13:49:34 2006
@@ -7,6 +7,7 @@ name('Task-Catalyst-Tutorial');
abstract('Everything you need to follow the Catalyst Tutorial');
version_from('lib/Task/Catalyst/Tutorial.pm');
license('perl');
+=pod
requires(
'Catalyst::Runtime' => '5.7000',
'Catalyst::Devel' => '1.0',
@@ -27,6 +28,7 @@ requires(
'Catalyst::Model::DBIC::Schema' => 0,
);
build_requres('Test::More' => 0);
+=cut
no_index(directory => 'examples');
eval{ install_share('examples') };
auto_install();

View File

@ -1,14 +1,4 @@
The catalyst framework comes with a tutorial.
This package installs everything needed for the
tutorial, which is then accessible as
Catalyst::Manual::Tutorial::Intro
Catalyst::Manual::Tutorial::CatalystBasics
Catalyst::Manual::Tutorial::BasicCRUD
Catalyst::Manual::Tutorial::Authentication
Catalyst::Manual::Tutorial::Authorization
Catalyst::Manual::Tutorial::Debugging
Catalyst::Manual::Tutorial::Testing
Catalyst::Manual::Tutorial::AdvancedCRUD
Catalyst::Manual::Tutorial::Appendices
Tutorial to Catalyst, includes one sample application,
and some documentation
Catalyst::Manual::Tutorial

View File

@ -1 +1,108 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/05 20:59:55 espie Exp $
@comment $OpenBSD: PLIST,v 1.2 2006/11/10 11:12:00 espie Exp $
@conflict p5-Catalyst-Runtime-<5.7004
${P5SITE}/Catalyst/Manual/Tutorial.pod
${P5SITE}/Catalyst/Manual/Tutorial/AdvancedCRUD.pod
${P5SITE}/Catalyst/Manual/Tutorial/Appendices.pod
${P5SITE}/Catalyst/Manual/Tutorial/Authentication.pod
${P5SITE}/Catalyst/Manual/Tutorial/Authorization.pod
${P5SITE}/Catalyst/Manual/Tutorial/BasicCRUD.pod
${P5SITE}/Catalyst/Manual/Tutorial/CatalystBasics.pod
${P5SITE}/Catalyst/Manual/Tutorial/Debugging.pod
${P5SITE}/Catalyst/Manual/Tutorial/Intro.pod
${P5SITE}/Catalyst/Manual/Tutorial/Testing.pod
${P5SITE}/Task/
${P5SITE}/Task/Catalyst/
${P5SITE}/Task/Catalyst/Tutorial.pm
${P5SITE}/auto/Task/
${P5SITE}/auto/Task/Catalyst/
${P5SITE}/auto/Task/Catalyst/Tutorial/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/Changes
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/Makefile.PL
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/README
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/FormElementContainer.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyApp/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyApp.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyApp/Controller/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyApp/Controller/Books.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyApp/Controller/Login.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyApp/Controller/Logout.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyApp/Controller/Root.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyApp/Model/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyApp/Model/MyAppDB.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyApp/View/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyApp/View/TT.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyAppDB/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyAppDB.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyAppDB/Author.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyAppDB/Book.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyAppDB/BookAuthor.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyAppDB/Role.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyAppDB/User.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/lib/MyAppDB/UserRole.pm
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/myapp.db
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/myapp.yml
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/myapp01.sql
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/myapp02.sql
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/myapp03.sql
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/myappTEST.db
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/favicon.ico
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/lib/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/lib/config/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/lib/config/col
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/lib/config/main
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/lib/config/url
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/lib/site/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/lib/site/footer
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/lib/site/header
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/lib/site/html
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/lib/site/layout
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/lib/site/wrapper
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/src/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/src/books/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/src/books/create_done.tt2
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/src/books/form_create.tt2
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/src/books/hw_form.tt2
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/src/books/list.tt2
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/src/error.tt2
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/src/login.tt2
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/src/message.tt2
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/src/ttsite.css
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/src/welcome.tt2
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/static/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/static/images/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/static/images/btn_120x50_built.png
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/static/images/btn_120x50_built_shadow.png
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/static/images/btn_120x50_powered.png
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/static/images/btn_120x50_powered_shadow.png
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/static/images/btn_88x31_built.png
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/static/images/btn_88x31_built_shadow.png
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/static/images/btn_88x31_powered.png
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/static/images/btn_88x31_powered_shadow.png
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/root/static/images/catalyst_logo.png
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/script/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/script/myapp_cgi.pl
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/script/myapp_create.pl
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/script/myapp_fastcgi.pl
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/script/myapp_server.pl
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/script/myapp_test.pl
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/t/
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/t/01app.t
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/t/02pod.t
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/t/03podcoverage.t
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/t/controller_Login.t
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/t/live_app01.t
${P5SITE}/auto/Task/Catalyst/Tutorial/MyApp/t/model_MyAppDB.t
@man man/man3p/Catalyst::Manual::Tutorial.3p
@man man/man3p/Catalyst::Manual::Tutorial::AdvancedCRUD.3p
@man man/man3p/Catalyst::Manual::Tutorial::Appendices.3p
@man man/man3p/Catalyst::Manual::Tutorial::Authentication.3p
@man man/man3p/Catalyst::Manual::Tutorial::Authorization.3p
@man man/man3p/Catalyst::Manual::Tutorial::BasicCRUD.3p
@man man/man3p/Catalyst::Manual::Tutorial::CatalystBasics.3p
@man man/man3p/Catalyst::Manual::Tutorial::Debugging.3p
@man man/man3p/Catalyst::Manual::Tutorial::Intro.3p
@man man/man3p/Catalyst::Manual::Tutorial::Testing.3p
@man man/man3p/Task::Catalyst::Tutorial.3p