diff options
author | lbr <lbr@FreeBSD.org> | 2006-07-12 01:35:16 +0800 |
---|---|---|
committer | lbr <lbr@FreeBSD.org> | 2006-07-12 01:35:16 +0800 |
commit | d75d749d8823c26f6c9ceaaa00f3e47a7f73b95d (patch) | |
tree | e6e377ac4a4c41fa8c0e4c1b55970e2feef3d903 /www/p5-Catalyst-Plugin-Static-Simple | |
parent | cebb3fbf7f31bc5d3b9ffdb32dba70003059aee2 (diff) | |
download | freebsd-ports-gnome-d75d749d8823c26f6c9ceaaa00f3e47a7f73b95d.tar.gz freebsd-ports-gnome-d75d749d8823c26f6c9ceaaa00f3e47a7f73b95d.tar.zst freebsd-ports-gnome-d75d749d8823c26f6c9ceaaa00f3e47a7f73b95d.zip |
New port, www/p5-Catalyst-Plugin-Static-Simple, Make serving static pages painless
Diffstat (limited to 'www/p5-Catalyst-Plugin-Static-Simple')
-rw-r--r-- | www/p5-Catalyst-Plugin-Static-Simple/Makefile | 30 | ||||
-rw-r--r-- | www/p5-Catalyst-Plugin-Static-Simple/distinfo | 3 | ||||
-rw-r--r-- | www/p5-Catalyst-Plugin-Static-Simple/pkg-descr | 11 | ||||
-rw-r--r-- | www/p5-Catalyst-Plugin-Static-Simple/pkg-plist | 4 |
4 files changed, 48 insertions, 0 deletions
diff --git a/www/p5-Catalyst-Plugin-Static-Simple/Makefile b/www/p5-Catalyst-Plugin-Static-Simple/Makefile new file mode 100644 index 000000000000..53ed84ea5834 --- /dev/null +++ b/www/p5-Catalyst-Plugin-Static-Simple/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: www/p5-Catalyst-Plugin-Static-Simple +# Date created: July 11, 2006 +# Whom: Lars Balker Rasmussen <lbr@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Catalyst-Plugin-Static-Simple +PORTVERSION= 0.14 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Catalyst +PKGNAMEPREFIX= p5- + +MAINTAINER= lbr@FreeBSD.org +COMMENT= Make serving static pages painless + +BUILD_DEPENDS= p5-Catalyst-Runtime>=5.70:${PORTSDIR}/www/p5-Catalyst-Runtime \ + p5-MIME-Types>=1.15:${PORTSDIR}/mail/p5-MIME-Types +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_MODBUILD= yes + +MAN3= Catalyst::Plugin::Static::Simple.3 + +.include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500800 +IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again +.endif +.include <bsd.port.post.mk> diff --git a/www/p5-Catalyst-Plugin-Static-Simple/distinfo b/www/p5-Catalyst-Plugin-Static-Simple/distinfo new file mode 100644 index 000000000000..d8e91fbc4ee9 --- /dev/null +++ b/www/p5-Catalyst-Plugin-Static-Simple/distinfo @@ -0,0 +1,3 @@ +MD5 (Catalyst-Plugin-Static-Simple-0.14.tar.gz) = 826b13f5abd696b9d9385c0531d64f66 +SHA256 (Catalyst-Plugin-Static-Simple-0.14.tar.gz) = 5b95d5dfb4001ce544586432c33148e748da50201136716594e65285166d262a +SIZE (Catalyst-Plugin-Static-Simple-0.14.tar.gz) = 14467 diff --git a/www/p5-Catalyst-Plugin-Static-Simple/pkg-descr b/www/p5-Catalyst-Plugin-Static-Simple/pkg-descr new file mode 100644 index 000000000000..fffa2023258f --- /dev/null +++ b/www/p5-Catalyst-Plugin-Static-Simple/pkg-descr @@ -0,0 +1,11 @@ +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. + +This plugin detects static files by looking at the file extension in +URL (such as .css or .png or .js). The plugin uses the lightweight +MIME::Types module to map file extensions to IANA-registered MIME +types, and will serve your static files with the correct MIME type +directly to the browser, without being processed through Catalyst. + +WWW: http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple/ diff --git a/www/p5-Catalyst-Plugin-Static-Simple/pkg-plist b/www/p5-Catalyst-Plugin-Static-Simple/pkg-plist new file mode 100644 index 000000000000..d3ce871aacbe --- /dev/null +++ b/www/p5-Catalyst-Plugin-Static-Simple/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_PERL%%/Catalyst/Plugin/Static/Simple.pm +@dirrmtry %%SITE_PERL%%/Catalyst/Plugin/Static +@dirrmtry %%SITE_PERL%%/Catalyst/Plugin +@dirrmtry %%SITE_PERL%%/Catalyst |