- Add LICENSE - Add NO_ARCH - Sort PLIST Changes: http://search.cpan.org/dist/Context-Preserve/Changes
30 lines
643 B
Makefile
30 lines
643 B
Makefile
# Created by: Sergey Skvortsov <skv@protey.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Context-Preserve
|
|
PORTVERSION= 0.02
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:ETHER
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Run code after a subroutine call, preserving the context the subroutine
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
|
|
|
TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception
|
|
|
|
NO_ARCH= yes
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 502200
|
|
TEST_DEPENDS+= p5-Test-Simple>=1.001014:devel/p5-Test-Simple
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|