serving static pages with catalyst

This commit is contained in:
espie 2006-11-04 23:23:46 +00:00
parent f887788be7
commit 3b0c644775
4 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/04 23:23:46 espie Exp $
COMMENT= "serving static pages with catalyst"
DISTNAME= Catalyst-Plugin-Static-Simple-0.14
PKGNAME= p5-${DISTNAME}
CATEGORIES= www perl5
MAINTAINER= Simon Dassow <janus@errornet.de>
# Artistic + GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Catalyst/}
RUN_DEPENDS= ::www/p5-Catalyst-Runtime \
::mail/p5-MIME-Types
REGRESS_DEPENDS=${RUN_DEPENDS} \
::devel/p5-Test-Pod \
::devel/p5-Test-Pod-Coverage \
::www/p5-Catalyst-Plugin-SubRequest
MAKE_ENV= TEST_POD=Yes
CONFIGURE_STYLE=perl modbuild
PKG_ARCH= *
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (Catalyst-Plugin-Static-Simple-0.14.tar.gz) = 826b13f5abd696b9d9385c0531d64f66
RMD160 (Catalyst-Plugin-Static-Simple-0.14.tar.gz) = 0d48d9adfef985193df331bf750de868b03549d8
SHA1 (Catalyst-Plugin-Static-Simple-0.14.tar.gz) = 8f142511873a2b6ac6827c3cdb5b9f83a34a25e7
SIZE (Catalyst-Plugin-Static-Simple-0.14.tar.gz) = 14467

View File

@ -0,0 +1,9 @@
The Static::Simple plugin is designed to make serving static content
in your application during development quick and easy, without
requiring a single line of code from you.
It will detect static files used in your application by looking for file
extensions in the URI. By default, you can simply load this plugin and
it will immediately begin serving your static files with the correct
MIME type. The light-weight MIME::Types module is used to map file
extensions to IANA-registered MIME types.

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/04 23:23:46 espie Exp $
${P5SITE}/Catalyst/
${P5SITE}/Catalyst/Plugin/
${P5SITE}/Catalyst/Plugin/Static/
${P5SITE}/Catalyst/Plugin/Static/Simple.pm
@man man/man3p/Catalyst::Plugin::Static::Simple.3p