31 lines
751 B
Makefile
31 lines
751 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Router-Simple
|
|
PORTVERSION= 0.15
|
|
CATEGORIES= www net perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:TOKUHIROM
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Simple HTTP Router
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= p5-Class-Accessor-Lite>=0.05:${PORTSDIR}/devel/p5-Class-Accessor-Lite
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USE_PERL5= modbuild
|
|
USES= perl5
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501400
|
|
BUILD_DEPENDS+= p5-CPAN-Meta>=0:${PORTSDIR}/devel/p5-CPAN-Meta
|
|
RUN_DEPENDS+= p5-CPAN-Meta>=0:${PORTSDIR}/devel/p5-CPAN-Meta
|
|
TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|