freebsd-ports/www/p5-Router-Simple/Makefile
Sunpoet Po-Chuan Hsieh f1265ea9c7 - Add p5-Router-Simple 0.09
Router::Simple is a simple router class. Its main purpose is to serve as a
dispatcher for web applications. Router::Simple can match against PSGI $env
directly, which means it's easy to use with PSGI supporting web frameworks.

WWW: http://search.cpan.org/dist/Router-Simple/

Feature safe:	yes
2011-12-02 06:31:04 +00:00

37 lines
939 B
Makefile

# New ports collection makefile for: p5-Router-Simple
# Date created: 2011-11-30
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Router-Simple
PORTVERSION= 0.09
CATEGORIES= www net perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:TOKUHIROM
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Simple HTTP Router
BUILD_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor
RUN_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor
PERL_CONFIGURE= yes
MAN3= Router::Simple.3 \
Router::Simple::Cookbook.3 \
Router::Simple::Declare.3 \
Router::Simple::Route.3 \
Router::Simple::SubMapper.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>