Bug 183329 - [PATCH] devel/p5-Parse-RecDescent: fix BUILD_DEPENDS
Summary: [PATCH] devel/p5-Parse-RecDescent: fix BUILD_DEPENDS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Anton Berezin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-26 11:40 UTC by Po-Chuan Hsieh
Modified: 2013-11-09 23:20 UTC (History)
1 user (show)

See Also:


Attachments
p5-Parse-RecDescent-1.967.009_1.patch (1.97 KB, patch)
2013-10-26 11:40 UTC, Po-Chuan Hsieh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-10-26 11:40:02 UTC
- Add LICENSE
- Fix BUILD_DEPENDS
- Remove leading indefinite article from COMMENT
- Convert to new options framework
- Support STAGEDIR
- Remove Author line

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

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-26 11:40:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tobez

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-09 23:13:37 UTC
Author: sunpoet
Date: Sat Nov  9 23:13:29 2013
New Revision: 333358
URL: http://svnweb.freebsd.org/changeset/ports/333358

Log:
  - 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)

Modified:
  head/devel/p5-Parse-RecDescent/Makefile
  head/devel/p5-Parse-RecDescent/pkg-descr   (contents, props changed)
  head/devel/p5-Parse-RecDescent/pkg-plist   (contents, props changed)

Modified: head/devel/p5-Parse-RecDescent/Makefile
==============================================================================
--- head/devel/p5-Parse-RecDescent/Makefile	Sat Nov  9 23:13:24 2013	(r333357)
+++ head/devel/p5-Parse-RecDescent/Makefile	Sat Nov  9 23:13:29 2013	(r333358)
@@ -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.pre.mk>
+
+.if ${PERL_LEVEL} < 501600
+BUILD_DEPENDS+=	p5-ExtUtils-MakeMaker>=6.62:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/devel/p5-Parse-RecDescent/pkg-descr
==============================================================================
--- head/devel/p5-Parse-RecDescent/pkg-descr	Sat Nov  9 23:13:24 2013	(r333357)
+++ head/devel/p5-Parse-RecDescent/pkg-descr	Sat Nov  9 23:13:29 2013	(r333358)
@@ -12,5 +12,4 @@ parsers from simple yacc-like grammar sp
   * 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/

Modified: head/devel/p5-Parse-RecDescent/pkg-plist
==============================================================================
--- head/devel/p5-Parse-RecDescent/pkg-plist	Sat Nov  9 23:13:24 2013	(r333357)
+++ head/devel/p5-Parse-RecDescent/pkg-plist	Sat Nov  9 23:13:29 2013	(r333358)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-09 23:14:36 UTC
State Changed
From-To: open->closed

Committed. Thanks!