29 lines
639 B
Makefile
29 lines
639 B
Makefile
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= constant-lexical
|
|
PORTVERSION= 2.0003
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN/constant CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:SPROUT
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl pragma to declare lexical compile-time constants
|
|
|
|
BUILD_DEPENDS= p5-Sub-Delete>=0:devel/p5-Sub-Delete \
|
|
p5-Lexical-Var>=0:devel/p5-Lexical-Var
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} >= 502200
|
|
PLIST_SUB+= USEXS= NOXS="@comment "
|
|
.else
|
|
PLIST_SUB+= USEXS="@comment " NOXS=
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|