Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2013 15:16:44 +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: r330134 - head/www/p5-HTML-Mason
Message-ID:  <201310121516.r9CFGiHT079279@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Oct 12 15:16:44 2013
New Revision: 330134
URL: http://svnweb.freebsd.org/changeset/ports/330134

Log:
  - Update to 1.52
  - Convert to new OPTIONS helper
  - Support STAGEDIR
  - Sort PLIST
  - Use CPAN as primary WWW
  - Reformat pkg-descr
  - Pass maintainership to perl@
  
  Changes:	http://search.cpan.org/dist/HTML-Mason/Changes

Modified:
  head/www/p5-HTML-Mason/Makefile
  head/www/p5-HTML-Mason/distinfo   (contents, props changed)
  head/www/p5-HTML-Mason/pkg-descr   (contents, props changed)
  head/www/p5-HTML-Mason/pkg-plist   (contents, props changed)

Modified: head/www/p5-HTML-Mason/Makefile
==============================================================================
--- head/www/p5-HTML-Mason/Makefile	Sat Oct 12 15:14:37 2013	(r330133)
+++ head/www/p5-HTML-Mason/Makefile	Sat Oct 12 15:16:44 2013	(r330134)
@@ -1,12 +1,12 @@
 # $FreeBSD$
 
 PORTNAME=	HTML-Mason
-PORTVERSION=	1.50
+PORTVERSION=	1.52
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	perl@FreeBSD.org
 COMMENT=	High-performance, dynamic web site authoring system
 
 LICENSE=	ART10 GPLv1
@@ -23,54 +23,19 @@ TEST_DEPENDS=	p5-CHI>=0.210:${PORTSDIR}/
 		p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
 		p5-Test-Memory-Cycle>=0:${PORTSDIR}/devel/p5-Test-Memory-Cycle
 
+OPTIONS_DEFINE=	MODPERL
+
 USES=		perl5
 USE_PERL5=	configure
 
-MAN3=		HTML::Mason.3 \
-		HTML::Mason::Admin.3 \
-		HTML::Mason::ApacheHandler.3 \
-		HTML::Mason::CGIHandler.3 \
-		HTML::Mason::Cache::BaseCache.3 \
-		HTML::Mason::Compiler.3 \
-		HTML::Mason::Compiler::ToObject.3 \
-		HTML::Mason::Component.3 \
-		HTML::Mason::Component::FileBased.3 \
-		HTML::Mason::Component::Subcomponent.3 \
-		HTML::Mason::ComponentSource.3 \
-		HTML::Mason::Devel.3 \
-		HTML::Mason::Escapes.3 \
-		HTML::Mason::Exceptions.3 \
-		HTML::Mason::FakeApache.3 \
-		HTML::Mason::Interp.3 \
-		HTML::Mason::Lexer.3 \
-		HTML::Mason::MethodMaker.3 \
-		HTML::Mason::Params.3 \
-		HTML::Mason::Parser.3 \
-		HTML::Mason::Plugin.3 \
-		HTML::Mason::Plugin::Context.3 \
-		HTML::Mason::Request.3 \
-		HTML::Mason::Resolver.3 \
-		HTML::Mason::Resolver::File.3 \
-		HTML::Mason::Resolver::Null.3 \
-		HTML::Mason::Subclassing.3 \
-		HTML::Mason::Tests.3 \
-		HTML::Mason::Tools.3 \
-		HTML::Mason::Utils.3
-
-OPTIONS_DEFINE=	MODPERL
+MODPERL_BUILD_DEPENDS=	p5-libapreq2>=0:${PORTSDIR}/www/p5-libapreq2
+MODPERL_RUN_DEPENDS=	p5-libapreq2>=0:${PORTSDIR}/www/p5-libapreq2
+MODPERL_USE=		APACHE_RUN=yes
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e '/bin\/convert/d' ${WRKSRC}/Makefile.PL
 
 post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/blib/script/mason.pl ${PREFIX}/bin/
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMODPERL}
-RUN_DEPENDS+=	p5-libapreq2>=0:${PORTSDIR}/www/p5-libapreq2
-USE_APACHE_RUN=	22+
-.endif
+	${INSTALL_SCRIPT} ${WRKSRC}/blib/script/mason.pl ${STAGEDIR}${PREFIX}/bin/
 
 .include <bsd.port.mk>

Modified: head/www/p5-HTML-Mason/distinfo
==============================================================================
--- head/www/p5-HTML-Mason/distinfo	Sat Oct 12 15:14:37 2013	(r330133)
+++ head/www/p5-HTML-Mason/distinfo	Sat Oct 12 15:16:44 2013	(r330134)
@@ -1,2 +1,2 @@
-SHA256 (HTML-Mason-1.50.tar.gz) = 0becd8d11090647704239e230c533d5d31a2c2b99dca916000e66a4a7d7135b1
-SIZE (HTML-Mason-1.50.tar.gz) = 280619
+SHA256 (HTML-Mason-1.52.tar.gz) = 0934f8405f03aec4a69152113035c7ef455994b08e889935f171ec598eb36e7c
+SIZE (HTML-Mason-1.52.tar.gz) = 311110

Modified: head/www/p5-HTML-Mason/pkg-descr
==============================================================================
--- head/www/p5-HTML-Mason/pkg-descr	Sat Oct 12 15:14:37 2013	(r330133)
+++ head/www/p5-HTML-Mason/pkg-descr	Sat Oct 12 15:16:44 2013	(r330134)
@@ -1,23 +1,21 @@
-Mason is a tool for building, serving and managing large web
-sites. Its features make it an ideal backend for high load sites
-serving dynamic content, such as online newspapers or database driven
-e-commerce sites.
+Mason is a tool for building, serving and managing large web sites. Its features
+make it an ideal backend for high load sites serving dynamic content, such as
+online newspapers or database driven e-commerce sites.
 
-Mason's various pieces revolve around the notion of "components''. A
-component is a mix of HTML, Perl, and special Mason commands, one
-component per file. So-called "top-level" components represent entire
-web-pages, while smaller components typically return HTML snippets for
-embedding in top-level components. This object-like architecture
-greatly simplifies site maintenance: change a shared component, and
-you instantly changed all dependant pages that refer to it across a
-site (or across many virtual sites).
+Mason's various pieces revolve around the notion of "components". A component is
+a mix of HTML, Perl, and special Mason commands, one component per file.
+So-called "top-level" components represent entire web-pages, while smaller
+components typically return HTML snippets for embedding in top-level components.
+This object-like architecture greatly simplifies site maintenance: change a
+shared component, and you instantly changed all dependant pages that refer to it
+across a site (or across many virtual sites).
 
-Mason's component syntax lets designers separate a web page into
-programmatic and design elements. This means the esoteric Perl bits
-can be hidden near the bottom of a component, preloading simple
-variables for use above in the HTML. In our own experience, this frees
-content managers (i.e., non-programmers) to work on the layout without
-getting mired in programming details. Techies, however, still enjoy
-the full power of Perl.
+Mason's component syntax lets designers separate a web page into programmatic
+and design elements. This means the esoteric Perl bits can be hidden near the
+bottom of a component, preloading simple variables for use above in the HTML. In
+our own experience, this frees content managers (i.e., non-programmers) to work
+on the layout without getting mired in programming details. Techies, however,
+still enjoy the full power of Perl.
 
+WWW: http://search.cpan.org/dist/HTML-Mason/
 WWW: http://www.masonhq.com/

Modified: head/www/p5-HTML-Mason/pkg-plist
==============================================================================
--- head/www/p5-HTML-Mason/pkg-plist	Sat Oct 12 15:14:37 2013	(r330133)
+++ head/www/p5-HTML-Mason/pkg-plist	Sat Oct 12 15:16:44 2013	(r330134)
@@ -1,8 +1,8 @@
 bin/mason.pl
 %%SITE_PERL%%/HTML/Mason.pm
 %%SITE_PERL%%/HTML/Mason/Admin.pod
-%%SITE_PERL%%/HTML/Mason/ApacheHandler.pm
 %%SITE_PERL%%/HTML/Mason/Apache/Request.pm
+%%SITE_PERL%%/HTML/Mason/ApacheHandler.pm
 %%SITE_PERL%%/HTML/Mason/CGIHandler.pm
 %%SITE_PERL%%/HTML/Mason/Cache/BaseCache.pm
 %%SITE_PERL%%/HTML/Mason/Compiler.pm
@@ -32,13 +32,43 @@ bin/mason.pl
 %%SITE_PERL%%/HTML/Mason/Tools.pm
 %%SITE_PERL%%/HTML/Mason/Utils.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Mason/.packlist
+%%PERL5_MAN3%%/HTML::Mason.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Admin.3.gz
+%%PERL5_MAN3%%/HTML::Mason::ApacheHandler.3.gz
+%%PERL5_MAN3%%/HTML::Mason::CGIHandler.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Cache::BaseCache.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Compiler.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Compiler::ToObject.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Component.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Component::FileBased.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Component::Subcomponent.3.gz
+%%PERL5_MAN3%%/HTML::Mason::ComponentSource.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Devel.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Escapes.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Exceptions.3.gz
+%%PERL5_MAN3%%/HTML::Mason::FakeApache.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Interp.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Lexer.3.gz
+%%PERL5_MAN3%%/HTML::Mason::MethodMaker.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Params.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Parser.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Plugin.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Plugin::Context.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Request.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Resolver.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Resolver::File.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Resolver::Null.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Subclassing.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Tests.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Tools.3.gz
+%%PERL5_MAN3%%/HTML::Mason::Utils.3.gz
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Mason
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML
-@dirrm %%SITE_PERL%%/HTML/Mason/Apache
-@dirrm %%SITE_PERL%%/HTML/Mason/Cache
-@dirrm %%SITE_PERL%%/HTML/Mason/Compiler
-@dirrm %%SITE_PERL%%/HTML/Mason/Component
-@dirrm %%SITE_PERL%%/HTML/Mason/Plugin
 @dirrm %%SITE_PERL%%/HTML/Mason/Resolver
+@dirrm %%SITE_PERL%%/HTML/Mason/Plugin
+@dirrm %%SITE_PERL%%/HTML/Mason/Component
+@dirrm %%SITE_PERL%%/HTML/Mason/Compiler
+@dirrm %%SITE_PERL%%/HTML/Mason/Cache
+@dirrm %%SITE_PERL%%/HTML/Mason/Apache
 @dirrm %%SITE_PERL%%/HTML/Mason
 @dirrmtry %%SITE_PERL%%/HTML



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