mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
- Convert to new options framework
- Remove outdated PERL_LEVEL check
This commit is contained in:
parent
895e690d1d
commit
dc33e236aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346621
1 changed files with 3 additions and 10 deletions
|
@ -13,22 +13,15 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
|
||||||
MAINTAINER= perl@FreeBSD.org
|
MAINTAINER= perl@FreeBSD.org
|
||||||
COMMENT= Compile and link C code for Perl modules
|
COMMENT= Compile and link C code for Perl modules
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
PORTDOCS= Changes
|
PORTDOCS= Changes
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.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>
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue