Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2013 23:13:30 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333358 - head/devel/p5-Parse-RecDescent
Message-ID:  <201311092313.rA9NDURP084517@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311092313.rA9NDURP084517>