summaryrefslogtreecommitdiff
path: root/www/p5-HTTP-Server-Simple-Static
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-05-02 04:41:37 +0000
committerjlam <jlam@pkgsrc.org>2006-05-02 04:41:37 +0000
commit3e550db78810026e3a35969708e4b4e8967794df (patch)
tree33a2c959173221f95249bce01a93e6a0fde8bb89 /www/p5-HTTP-Server-Simple-Static
parentf8a9ac97abe0c097454364e5515d0e1cdfd72976 (diff)
downloadpkgsrc-3e550db78810026e3a35969708e4b4e8967794df.tar.gz
Import HTTP::Server::Simple::Static-0.02 as www/p5-HTTP-Server-Simple-Static.
HTTP::Server::Simple::Static is a mixin class that adds a method to serve static files with the correct Content-type MIME type headers.
Diffstat (limited to 'www/p5-HTTP-Server-Simple-Static')
-rw-r--r--www/p5-HTTP-Server-Simple-Static/DESCR2
-rw-r--r--www/p5-HTTP-Server-Simple-Static/Makefile21
-rw-r--r--www/p5-HTTP-Server-Simple-Static/PLIST1
-rw-r--r--www/p5-HTTP-Server-Simple-Static/distinfo5
4 files changed, 29 insertions, 0 deletions
diff --git a/www/p5-HTTP-Server-Simple-Static/DESCR b/www/p5-HTTP-Server-Simple-Static/DESCR
new file mode 100644
index 00000000000..03d85510607
--- /dev/null
+++ b/www/p5-HTTP-Server-Simple-Static/DESCR
@@ -0,0 +1,2 @@
+HTTP::Server::Simple::Static is a mixin class that adds a method to
+serve static files with the correct Content-type MIME type headers.
diff --git a/www/p5-HTTP-Server-Simple-Static/Makefile b/www/p5-HTTP-Server-Simple-Static/Makefile
new file mode 100644
index 00000000000..e7ac6515950
--- /dev/null
+++ b/www/p5-HTTP-Server-Simple-Static/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/05/02 04:41:37 jlam Exp $
+
+DISTNAME= HTTP-Server-Simple-Static-0.02
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTP/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/HTTP-Server-Simple-Static/
+COMMENT= Serve static files with HTTP::Server::Simple
+
+PERL5_MODULE_TYPE= Module::Build
+PERL5_PACKLIST= auto/HTTP/Server/Simple/Static/.packlist
+
+DEPENDS+= p5-File-MMagic-[0-9]*:../../misc/p5-File-MMagic
+DEPENDS+= p5-HTTP-Server-Simple>=0.01:../../www/p5-HTTP-Server-Simple
+DEPENDS+= p5-MIME-Types-[0-9]*:../../mail/p5-MIME-Types
+DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-HTTP-Server-Simple-Static/PLIST b/www/p5-HTTP-Server-Simple-Static/PLIST
new file mode 100644
index 00000000000..8bc9ecb41a0
--- /dev/null
+++ b/www/p5-HTTP-Server-Simple-Static/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/02 04:41:37 jlam Exp $
diff --git a/www/p5-HTTP-Server-Simple-Static/distinfo b/www/p5-HTTP-Server-Simple-Static/distinfo
new file mode 100644
index 00000000000..d830ec7d5b4
--- /dev/null
+++ b/www/p5-HTTP-Server-Simple-Static/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/05/02 04:41:37 jlam Exp $
+
+SHA1 (HTTP-Server-Simple-Static-0.02.tar.gz) = 84733cf355eb952e31b1b8e4e2e4f0d092a286b7
+RMD160 (HTTP-Server-Simple-Static-0.02.tar.gz) = 915252e85d3c787d8bda389bc5ba1834c8d2e8f6
+Size (HTTP-Server-Simple-Static-0.02.tar.gz) = 2216 bytes