aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-HTTP-Server-Simple-Static/Makefile
blob: 077ac96060d30b206303d6de4ad911959e07e97a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    www/p5-HTTP-Server-Simple-Static
# Date created:             30 March 2005
# Whom:                 Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   HTTP-Server-Simple-Static
PORTVERSION=    0.02
CATEGORIES= www perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= HTTP
PKGNAMEPREFIX=  p5-

MAINTAINER= lth@FreeBSD.org
COMMENT=    Serve static files with HTTP::Server::Simple

RUN_DEPENDS=    ${SITE_PERL}/HTTP/Server/Simple.pm:${PORTSDIR}/www/p5-HTTP-Server-Simple \
        ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
        ${SITE_PERL}/MIME/Types.pm:${PORTSDIR}/mail/p5-MIME-Types \
        ${SITE_PERL}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic
BUILD_DEPENDS=  ${RUN_DEPENDS}

PERL_MODBUILD=  yes

MAN3=   HTTP::Server::Simple::Static.3

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires Perl 5.6 or newer. Install lang/perl5 or lang/perl5.8, and try again
.endif
.include <bsd.port.post.mk>