- (As noted below, dependency converted) -DEPENDS+= p5-File-MMagic-[0-9]*:../../misc/p5-File-MMagic -DEPENDS+= p5-MIME-Types-[0-9]*:../../mail/p5-MIME-Types +DEPENDS+= p5-File-LibMagic-[0-9]*:../../devel/p5-File-LibMagic (upstream) - Update 0.07 to 0.09 0.09 Thu, 15 Aug 2013 09:08:00 +0100 - Added support for clients which send an If-Modified-Since HTTP header in the request. We return a 304 if the file has not been changed. 0.08 Wed, 14 Aug 2013 17:00:00 +0100 - Replaced File::MMagic and MIME::Types with File::LibMagic which should be more reliable. Closes: http://rt.cpan.org/Public/Bug/Display.html?id=39598 - Improved docs and code example. Closes: http://rt.cpan.org/Public/Bug/Display.html?id=37701 - Added support for the Last-Modified and Date HTTP headers, this consequently adds a new dependency on HTTP::Date. - Added support for not sending the content when the request method is HEAD.
20 lines
684 B
Makefile
20 lines
684 B
Makefile
# $NetBSD: Makefile,v 1.11 2015/01/12 08:04:33 mef Exp $
|
|
|
|
DISTNAME= HTTP-Server-Simple-Static-0.09
|
|
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-LibMagic-[0-9]*:../../devel/p5-File-LibMagic
|
|
DEPENDS+= p5-HTTP-Server-Simple>=0.01:../../www/p5-HTTP-Server-Simple
|
|
DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|