1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Add LICENSE

- Fix BUILD_DEPENDS
- Remove leading indefinite article from COMMENT
- Convert to new options framework
- Support STAGEDIR
- Remove Author line

PR:		ports/183329
Submitted by:	sunpoet (myself)
Approved by:	maintainer (timeout, 14 days)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-11-09 23:13:29 +00:00
parent 450acdf55a
commit 0fbd4bbf1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333358
3 changed files with 17 additions and 9 deletions

View File

@ -10,22 +10,30 @@ PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= tobez@FreeBSD.org
COMMENT= A recursive descent parsing framework for Perl
COMMENT= Recursive descent parsing framework for Perl
BUILD_DEPENDS= p5-ExtUtils-MakeMaker>=6.62:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
TEST_DEPENDS= p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn
OPTIONS_DEFINE= DOCS
USES= perl5
USE_PERL5= configure
MAN3= Parse::RecDescent.3
.include <bsd.port.options.mk>
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/tutorial
${INSTALL_DATA} ${WRKSRC}/tutorial/* ${DOCSDIR}/tutorial
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/tutorial
${INSTALL_DATA} ${WRKSRC}/tutorial/* ${STAGEDIR}${DOCSDIR}/tutorial
.endif
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501600
BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.62:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
.endif
.include <bsd.port.post.mk>

View File

@ -12,5 +12,4 @@ parsers from simple yacc-like grammar specifications. It provides:
* Incremental extension of the parsing grammar (even during a parse)
* The ability to retrieve the generated parsing code.
Author: Damian Conway <damian@conway.org>
WWW: http://search.cpan.org/dist/Parse-RecDescent/

View File

@ -1,5 +1,6 @@
%%SITE_PERL%%/Parse/RecDescent.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Parse/RecDescent/.packlist
%%PERL5_MAN3%%/Parse::RecDescent.3.gz
%%PORTDOCS%%%%DOCSDIR%%/tutorial/TPJ-PRD-proc.gif
%%PORTDOCS%%%%DOCSDIR%%/tutorial/TPJ-yacc-proc.gif
%%PORTDOCS%%%%DOCSDIR%%/tutorial/TPJ_maze.gif