Lines 10-31
Link Here
|
10 |
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E} |
10 |
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E} |
11 |
|
11 |
|
12 |
MAINTAINER= tobez@FreeBSD.org |
12 |
MAINTAINER= tobez@FreeBSD.org |
13 |
COMMENT= A recursive descent parsing framework for Perl |
13 |
COMMENT= Recursive descent parsing framework for Perl |
14 |
|
14 |
|
15 |
BUILD_DEPENDS= p5-ExtUtils-MakeMaker>=6.62:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker |
15 |
LICENSE= ART10 GPLv1 |
|
|
16 |
LICENSE_COMB= dual |
16 |
|
17 |
|
17 |
TEST_DEPENDS= p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn |
18 |
TEST_DEPENDS= p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn |
18 |
|
19 |
|
|
|
20 |
OPTIONS_DEFINE= DOCS |
21 |
|
19 |
USES= perl5 |
22 |
USES= perl5 |
20 |
USE_PERL5= configure |
23 |
USE_PERL5= configure |
21 |
|
24 |
|
22 |
MAN3= Parse::RecDescent.3 |
25 |
.include <bsd.port.options.mk> |
23 |
|
26 |
|
24 |
NO_STAGE= yes |
|
|
25 |
post-install: |
27 |
post-install: |
26 |
.if !defined(NOPORTDOCS) |
28 |
.if ${PORT_OPTIONS:MDOCS} |
27 |
@${MKDIR} ${DOCSDIR}/tutorial |
29 |
@${MKDIR} ${STAGEDIR}${DOCSDIR}/tutorial |
28 |
${INSTALL_DATA} ${WRKSRC}/tutorial/* ${DOCSDIR}/tutorial |
30 |
${INSTALL_DATA} ${WRKSRC}/tutorial/* ${STAGEDIR}${DOCSDIR}/tutorial |
29 |
.endif |
31 |
.endif |
30 |
|
32 |
|
31 |
.include <bsd.port.mk> |
33 |
.include <bsd.port.pre.mk> |
|
|
34 |
|
35 |
.if ${PERL_LEVEL} < 501600 |
36 |
BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.62:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker |
37 |
.endif |
38 |
|
39 |
.include <bsd.port.post.mk> |