freebsd-ports/www/p5-Dancer/Makefile
Wen Heping 66cf125b7b - Update to 1.3512
PR:		236650
Submitted by:	wenheping2000@hotmail.com(myself)
Approved by:	maintainer(timeout, > 3 months)
2019-06-28 10:01:46 +00:00

52 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= Dancer
PORTVERSION= 1.3512
CATEGORIES= www perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:BIGPRESH
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension for minimal-effort oriented web application framework
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= \
p5-HTTP-Body>0:www/p5-HTTP-Body \
p5-HTTP-Date>0:www/p5-HTTP-Date \
p5-HTTP-Message>0:www/p5-HTTP-Message \
p5-HTTP-Server-Simple-PSGI>0:www/p5-HTTP-Server-Simple-PSGI \
p5-Hash-Merge-Simple>0:devel/p5-Hash-Merge-Simple \
p5-libwww>0:www/p5-libwww \
p5-MIME-Types>0:mail/p5-MIME-Types \
p5-Module-Runtime>0:devel/p5-Module-Runtime \
p5-Try-Tiny>0:lang/p5-Try-Tiny \
p5-URI>0:net/p5-URI
TEST_DEPENDS= \
p5-Data-Dump>=0:devel/p5-Data-Dump \
p5-Devel-Hide>=0:devel/p5-Devel-Hide \
p5-HTTP-CookieJar>=0.008:www/p5-HTTP-CookieJar \
p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings \
p5-Test-TCP>0:devel/p5-Test-TCP \
p5-Test-Output>=0:devel/p5-Test-Output
OPTIONS_DEFINE= YAML
OPTIONS_DEFAULT= YAML
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MYAML}
RUN_DEPENDS+= p5-YAML>0:textproc/p5-YAML
.endif
USES= perl5
USE_PERL5= configure
NO_ARCH= YES
post-patch:
@${RM} ${WRKSRC}/lib/Dancer/.Test.pm.swo
.include <bsd.port.mk>