aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2005-05-11 18:37:03 +0800
committerlth <lth@FreeBSD.org>2005-05-11 18:37:03 +0800
commitdfbcfe7cb74a92635a9989daf3d24f9d6a17e64d (patch)
tree28bdc9bfd402c6ef8125822fb5bb171b527b0b03 /www
parent72b7021c10ed60008e1b5ecc4088ad1f779d37c5 (diff)
downloadfreebsd-ports-gnome-dfbcfe7cb74a92635a9989daf3d24f9d6a17e64d.tar.gz
freebsd-ports-gnome-dfbcfe7cb74a92635a9989daf3d24f9d6a17e64d.tar.zst
freebsd-ports-gnome-dfbcfe7cb74a92635a9989daf3d24f9d6a17e64d.zip
Add p5-Catalyst-Plugin-Static 0.07, serve static files with Catalyst.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Catalyst-Plugin-Static/Makefile31
-rw-r--r--www/p5-Catalyst-Plugin-Static/distinfo2
-rw-r--r--www/p5-Catalyst-Plugin-Static/pkg-descr5
-rw-r--r--www/p5-Catalyst-Plugin-Static/pkg-plist7
5 files changed, 46 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index ace51a83b13c..740f82b68f72 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -457,6 +457,7 @@
SUBDIR += p5-Catalyst-Plugin-FormValidator
SUBDIR += p5-Catalyst-Plugin-Prototype
SUBDIR += p5-Catalyst-Plugin-Session-FastMmap
+ SUBDIR += p5-Catalyst-Plugin-Static
SUBDIR += p5-Catalyst-Plugin-SubRequest
SUBDIR += p5-Catalyst-Plugin-Textile
SUBDIR += p5-Catalyst-View-TT
diff --git a/www/p5-Catalyst-Plugin-Static/Makefile b/www/p5-Catalyst-Plugin-Static/Makefile
new file mode 100644
index 000000000000..dfae06b0433b
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-Static/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: www/p5-Catalyst-Plugin-Static
+# Date created: 08 May 2005
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Catalyst-Plugin-Static
+PORTVERSION= 0.07
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../by-authors/id/M/MR/MRAMBERG
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Serve static files with Catalyst
+
+BUILD_DEPENDS= ${SITE_PERL}/Catalyst.pm:${PORTSDIR}/www/p5-Catalyst \
+ ${SITE_PERL}/File/MimeInfo.pm:${PORTSDIR}/devel/p5-File-MimeInfo \
+ ${SITE_PERL}/File/Slurp.pm:${PORTSDIR}/devel/p5-File-Slurp
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Catalyst::Plugin::Static.3
+
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires Perl 5.8. Install lang/perl5.8, and try again
+.endif
+.include <bsd.port.post.mk>
diff --git a/www/p5-Catalyst-Plugin-Static/distinfo b/www/p5-Catalyst-Plugin-Static/distinfo
new file mode 100644
index 000000000000..e67368373600
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-Static/distinfo
@@ -0,0 +1,2 @@
+MD5 (Catalyst-Plugin-Static-0.07.tar.gz) = ffa65780e89530c2063979fd716477c4
+SIZE (Catalyst-Plugin-Static-0.07.tar.gz) = 2786
diff --git a/www/p5-Catalyst-Plugin-Static/pkg-descr b/www/p5-Catalyst-Plugin-Static/pkg-descr
new file mode 100644
index 000000000000..cb0ea782f585
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-Static/pkg-descr
@@ -0,0 +1,5 @@
+Serve static files with Catalyst. This module is not as optimized
+for static files as a normal web server, and is most useful for
+stand alone operation and development.
+
+WWW: http://search.cpan.org/dist/Catalyst-Plugin-Static
diff --git a/www/p5-Catalyst-Plugin-Static/pkg-plist b/www/p5-Catalyst-Plugin-Static/pkg-plist
new file mode 100644
index 000000000000..657017f9969d
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-Static/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Catalyst/Plugin/Static.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin/Static/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin/Static
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Catalyst/Plugin 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Catalyst 2>/dev/null || true