aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-06-02 09:26:44 +0800
committerwill <will@FreeBSD.org>2000-06-02 09:26:44 +0800
commita5b166f3bd57a054fb70fb6f22e8d79016c921eb (patch)
treec0088d73cd23ac83026a0731beff89b1c7063048 /www
parent80b9364ca94b651d85f4def6895ee7e551a1dd9d (diff)
downloadfreebsd-ports-gnome-a5b166f3bd57a054fb70fb6f22e8d79016c921eb.tar.gz
freebsd-ports-gnome-a5b166f3bd57a054fb70fb6f22e8d79016c921eb.tar.zst
freebsd-ports-gnome-a5b166f3bd57a054fb70fb6f22e8d79016c921eb.zip
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>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-HTML-Mason/Makefile33
-rw-r--r--www/p5-HTML-Mason/distinfo1
-rw-r--r--www/p5-HTML-Mason/pkg-comment1
-rw-r--r--www/p5-HTML-Mason/pkg-descr23
-rw-r--r--www/p5-HTML-Mason/pkg-plist36
6 files changed, 95 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 3d8d9d5032c5..83c3c739bc8d 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -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
diff --git a/www/p5-HTML-Mason/Makefile b/www/p5-HTML-Mason/Makefile
new file mode 100644
index 000000000000..63767b0d91d7
--- /dev/null
+++ b/www/p5-HTML-Mason/Makefile
@@ -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>
diff --git a/www/p5-HTML-Mason/distinfo b/www/p5-HTML-Mason/distinfo
new file mode 100644
index 000000000000..f44c94e16aab
--- /dev/null
+++ b/www/p5-HTML-Mason/distinfo
@@ -0,0 +1 @@
+MD5 (HTML-Mason-0.87.tar.gz) = d5cffa74a749b2530daaca6a4ab7caf6
diff --git a/www/p5-HTML-Mason/pkg-comment b/www/p5-HTML-Mason/pkg-comment
new file mode 100644
index 000000000000..379375573e10
--- /dev/null
+++ b/www/p5-HTML-Mason/pkg-comment
@@ -0,0 +1 @@
+High-performance, dynamic web site authoring system
diff --git a/www/p5-HTML-Mason/pkg-descr b/www/p5-HTML-Mason/pkg-descr
new file mode 100644
index 000000000000..fa0976459669
--- /dev/null
+++ b/www/p5-HTML-Mason/pkg-descr
@@ -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
diff --git a/www/p5-HTML-Mason/pkg-plist b/www/p5-HTML-Mason/pkg-plist
new file mode 100644
index 000000000000..01a6245170bf
--- /dev/null
+++ b/www/p5-HTML-Mason/pkg-plist
@@ -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