Add p5-HTML-Mason, a perl module that acts as an excellent tool for
building, serving, and managing large web sites. PR: 18936 Submitted by: Denis Shaposhnikov <dsh@vlink.ru>
This commit is contained in:
parent
9f24f8fdc5
commit
0f47d1eb2b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29078
@ -110,6 +110,7 @@
|
||||
SUBDIR += p5-FastCGI
|
||||
SUBDIR += p5-HTML
|
||||
SUBDIR += p5-HTML-Embperl
|
||||
SUBDIR += p5-HTML-Mason
|
||||
SUBDIR += p5-HTML-Parser
|
||||
SUBDIR += p5-HTML-QuickCheck
|
||||
SUBDIR += p5-HTML-Stream
|
||||
|
33
www/p5-HTML-Mason/Makefile
Normal file
33
www/p5-HTML-Mason/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# New ports collection makefile for: HTML-Mason
|
||||
# Date created: 31 May 2000
|
||||
# Whom: Denis Shaposhnikov <dsh@vlink.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= HTML-Mason
|
||||
PORTVERSION= 0.87
|
||||
CATEGORIES= www perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= HTML
|
||||
PKGNAMEPREFIX= p5-
|
||||
DISTNAME= ${PKGNAME:S/p5-//}
|
||||
|
||||
MAINTAINER= dsh@vlink.ru
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM
|
||||
|
||||
SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/
|
||||
USE_PERL5= YES
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
|
||||
MAN3= Bundle::HTML::Mason.3 HTML::Mason.3 HTML::Mason::Admin.3 \
|
||||
HTML::Mason::ApacheHandler.3 HTML::Mason::Commands.3 \
|
||||
HTML::Mason::Component.3 HTML::Mason::Components.3 \
|
||||
HTML::Mason::Devel.3 HTML::Mason::Interp.3 \
|
||||
HTML::Mason::Parser.3 HTML::Mason::Request.3
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/p5-HTML-Mason/distinfo
Normal file
1
www/p5-HTML-Mason/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (HTML-Mason-0.87.tar.gz) = d5cffa74a749b2530daaca6a4ab7caf6
|
1
www/p5-HTML-Mason/pkg-comment
Normal file
1
www/p5-HTML-Mason/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
High-performance, dynamic web site authoring system
|
23
www/p5-HTML-Mason/pkg-descr
Normal file
23
www/p5-HTML-Mason/pkg-descr
Normal file
@ -0,0 +1,23 @@
|
||||
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 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://www.masonhq.com
|
36
www/p5-HTML-Mason/pkg-plist
Normal file
36
www/p5-HTML-Mason/pkg-plist
Normal file
@ -0,0 +1,36 @@
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Apache/Mason.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Bundle/HTML/Mason.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Admin.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/ApacheHandler.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/ApacheHandler.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Commands.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Commands.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Component.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Component.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Component/FileBased.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Component/Subcomponent.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Components.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Config.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Devel.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/FakeApache.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Interp.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Interp.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Parser.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Parser.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Preview.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Request.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Request.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Resolver.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Resolver/File.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Tools.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Utils.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/HTML/makeconfig.pl
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML/Mason/.packlist
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML/Mason
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Component
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason/Resolver
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/HTML/Mason
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Apache
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Bundle/HTML
|
Loading…
Reference in New Issue
Block a user