- Convert to new options framework

- Remove outdated PERL_LEVEL check
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-03-01 13:57:00 +00:00
parent 895e690d1d
commit dc33e236aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346621

View file

@ -13,22 +13,15 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= perl@FreeBSD.org
COMMENT= Compile and link C code for Perl modules
OPTIONS_DEFINE= DOCS
USES= perl5
USE_PERL5= configure
.if !defined(NOPORTDOCS)
PORTDOCS= Changes
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400
BUILD_DEPENDS+= p5-Perl-OSType>=0:${PORTSDIR}/devel/p5-Perl-OSType
RUN_DEPENDS+= p5-Perl-OSType>=0:${PORTSDIR}/devel/p5-Perl-OSType
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>