ports/183329: [PATCH] devel/p5-Parse-RecDescent: fix BUILD_DEPENDS

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Oct 26 10:40:03 UTC 2013


>Number:         183329
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Parse-RecDescent: fix BUILD_DEPENDS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 26 10:40:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 10.0-BETA1 amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256445: Tue Oct 15 04:48:04 CST
>Description:
- Add LICENSE
- Fix BUILD_DEPENDS
- Remove leading indefinite article from COMMENT
- Convert to new options framework
- Support STAGEDIR
- Remove Author line

Port maintainer (tobez at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- p5-Parse-RecDescent-1.967.009_1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 331672)
+++ Makefile	(working copy)
@@ -10,22 +10,30 @@
 DISTNAME=	${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
 
 MAINTAINER=	tobez at 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>
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 331672)
+++ pkg-descr	(working copy)
@@ -12,5 +12,4 @@
   * Incremental extension of the parsing grammar (even during a parse)
   * The ability to retrieve the generated parsing code.
 
-Author: Damian Conway <damian at conway.org>
 WWW: http://search.cpan.org/dist/Parse-RecDescent/
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 331672)
+++ pkg-plist	(working copy)
@@ -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
--- p5-Parse-RecDescent-1.967.009_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list