Port details on branch 2022Q3 |
- p5-Catalyst-View-TT-ControllerLocal Catalyst TT View with template names relative to the Controller
- 0.02_2 www =0 0.02_2Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2006-02-11 17:54:11
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Catalyst-View-TT-ControllerLocal
- Description:
- Catalyst::View::TT::ControllerLocal is like a normal Catalyst TT View,
but with template file names relative to the current Controller. So
with a set of templates like:
./root/edit.html
./root/add.html
./root/Frobniz/add.html
and an action "add" in the Controller "MyApp::Controller::Frobniz", you
set "$c->stash->{template}" to "add.html" in order for it to pick up
the "./root/frobbiz/add.html" template.
Setting the "$c->stash->{template}" from Controller "MyApp::Con-
troller::Bogon" would instead pick the default template in
"./root/add.html" (since there is no Bogon subdirectory under root).
In addition, since there is no file "edit.html" except in the Frobniz
directory, C::V::TT::ControllerLocal will default to looking for
"edit.html" in ./root/ and ./root/base (or whatever you set MyApp->con-
fig->{INCLUDE_PATH} to).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Catalyst-View-TT-ControllerLocal>0:www/p5-Catalyst-View-TT-ControllerLocal
- To install the port:
- cd /usr/ports/www/p5-Catalyst-View-TT-ControllerLocal/ && make install clean
- To add the package, run one of these commands:
- pkg install www/p5-Catalyst-View-TT-ControllerLocal
- pkg install p5-Catalyst-View-TT-ControllerLocal
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Catalyst-View-TT-ControllerLocal
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (Catalyst-View-TT-ControllerLocal-0.02.tar.gz) = 723260f304122c8cd570b197a30f44d8413bbe94b7cb0e540092ec725c5bc603
SIZE (Catalyst-View-TT-ControllerLocal-0.02.tar.gz) = 3511
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Catalyst-Runtime>=5.7000 : www/p5-Catalyst-Runtime
- p5-Catalyst-Devel>=1.00 : www/p5-Catalyst-Devel
- p5-Catalyst-View-TT>=0 : www/p5-Catalyst-View-TT
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-Catalyst-Runtime>=5.7000 : www/p5-Catalyst-Runtime
- p5-Catalyst-Devel>=1.00 : www/p5-Catalyst-Devel
- p5-Catalyst-View-TT>=0 : www/p5-Catalyst-View-TT
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- www/p5-Catalyst-Enzyme
- for Run
-
- www/p5-Catalyst-Enzyme
Configuration Options:
- No options to configure
- Options name:
- www_p5-Catalyst-View-TT-ControllerLocal
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|