diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2001-10-30 14:51:00 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2001-10-30 14:51:00 +0000 |
commit | fdb4b2aac5f8165bd8bb56abb25d9010b2a383cd (patch) | |
tree | fce51d8383ae81ca4f43d181396fc654cc1a4790 /www/p5-Apache-PageKit | |
parent | Both -- include and include/X11 might be needed... (diff) |
Add p5-Apache-PageKit 1.06, a Model/View/Content/Controller web
framework using mod_perl, XML and HTML::Template.
PR: 31564
Submitted by: Seamus Venasse <svenasse@polaris.ca>
Notes
Notes:
svn path=/head/; revision=49389
Diffstat (limited to 'www/p5-Apache-PageKit')
-rw-r--r-- | www/p5-Apache-PageKit/Makefile | 69 | ||||
-rw-r--r-- | www/p5-Apache-PageKit/distinfo | 1 | ||||
-rw-r--r-- | www/p5-Apache-PageKit/pkg-comment | 1 | ||||
-rw-r--r-- | www/p5-Apache-PageKit/pkg-descr | 29 | ||||
-rw-r--r-- | www/p5-Apache-PageKit/pkg-message | 11 | ||||
-rw-r--r-- | www/p5-Apache-PageKit/pkg-plist | 73 |
6 files changed, 184 insertions, 0 deletions
diff --git a/www/p5-Apache-PageKit/Makefile b/www/p5-Apache-PageKit/Makefile new file mode 100644 index 000000000000..4cfb85bc2643 --- /dev/null +++ b/www/p5-Apache-PageKit/Makefile @@ -0,0 +1,69 @@ +# New ports collection makefile for: Apache::PageKit +# Date created: 27 Oct 2001 +# Whom: Seamus Venasse <svenasse@polaris.ca> +# +# $FreeBSD$ +# + +PORTNAME= Apache-PageKit +PORTVERSION= 1.06 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Apache +PKGNAMEPREFIX= p5- + +MAINTAINER= svenasse@polaris.ca + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \ + ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \ + ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \ + ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ + ${SITE_PERL}/Data/FormValidator.pm:${PORTSDIR}/textproc/p5-Data-FormValidator \ + ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ + ${SITE_PERL}/HTML/FillInForm.pm:${PORTSDIR}/www/p5-HTML-FillInForm \ + ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \ + ${SITE_PERL}/HTML/Clean.pm:${PORTSDIR}/www/p5-HTML-Clean \ + ${SITE_PERL}/Mail/Mailer.pm:${PORTSDIR}/mail/p5-Mail-Tools \ + ${SITE_PERL}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \ + ${SITE_PERL}/MD5.pm:${PORTSDIR}/security/p5-MD5 \ + ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \ + ${SITE_PERL}/XML/XPath.pm:${PORTSDIR}/textproc/p5-XML-XPath \ + ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \ + ${SITE_PERL}/MIME/Types.pm:${PORTSDIR}/mail/p5-MIME-Types \ + ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \ + ${SITE_PERL}/${PERL_ARCH}/XML/LibXSLT.pm:${PORTSDIR}/textproc/p5-XML-LibXSLT +RUN_DEPENDS= ${BUILD_DEPENDS} + +SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} +EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME} +PERL_CONFIGURE= yes + +MAN3= Apache::ErrorReport.3 \ + Apache::PageKit.3 \ + Apache::PageKit::Model.3 \ + Apache::PageKit::Session.3 \ + XML::XPathTemplate.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} \ + ${EXAMPLESDIR}/Config ${EXAMPLESDIR}/Content \ + ${EXAMPLESDIR}/Model ${EXAMPLESDIR}/Model/MyPageKit \ + ${EXAMPLESDIR}/View ${EXAMPLESDIR}/View/Default \ + ${EXAMPLESDIR}/View/pdf ${EXAMPLESDIR}/View/print \ + ${EXAMPLESDIR}/View/wml ${EXAMPLESDIR}/View/xml + @${INSTALL_DATA} ${WRKSRC}/docsrc/* ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/eg/README ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/eg/Config/* ${EXAMPLESDIR}/Config + @${INSTALL_DATA} ${WRKSRC}/eg/Content/* ${EXAMPLESDIR}/Content + @${INSTALL_DATA} ${WRKSRC}/eg/Model/MyPageKit/* ${EXAMPLESDIR}/Model/MyPageKit + @${INSTALL_DATA} ${WRKSRC}/eg/View/Default/* ${EXAMPLESDIR}/View/Default + @${INSTALL_DATA} ${WRKSRC}/eg/View/pdf/* ${EXAMPLESDIR}/View/pdf + @${INSTALL_DATA} ${WRKSRC}/eg/View/print/* ${EXAMPLESDIR}/View/print + @${INSTALL_DATA} ${WRKSRC}/eg/View/wml/* ${EXAMPLESDIR}/View/wml + @${INSTALL_DATA} ${WRKSRC}/eg/View/xml/* ${EXAMPLESDIR}/View/xml +.endif + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/p5-Apache-PageKit/distinfo b/www/p5-Apache-PageKit/distinfo new file mode 100644 index 000000000000..ede1c88ee0fd --- /dev/null +++ b/www/p5-Apache-PageKit/distinfo @@ -0,0 +1 @@ +MD5 (Apache-PageKit-1.06.tar.gz) = 18536d64b5b5d7228c66cf3c8dde4910 diff --git a/www/p5-Apache-PageKit/pkg-comment b/www/p5-Apache-PageKit/pkg-comment new file mode 100644 index 000000000000..9be625cafdd1 --- /dev/null +++ b/www/p5-Apache-PageKit/pkg-comment @@ -0,0 +1 @@ +MVCC web framework using mod_perl, XML and HTML::Template diff --git a/www/p5-Apache-PageKit/pkg-descr b/www/p5-Apache-PageKit/pkg-descr new file mode 100644 index 000000000000..f2e85aa4e646 --- /dev/null +++ b/www/p5-Apache-PageKit/pkg-descr @@ -0,0 +1,29 @@ +PageKit is a web applications framework that is based on mod_perl. +This framework is distinguished from others such as Embperl and Mason +by providing a clear separation of programming, content and +presentation. + +It does this by implementing a Model/View/Content/Controller (MVCC) +design paradigm: + - Model is user supplied Perl Classes + - View is set of PageKit Templates and/or XSLT files + - Content is set of XML Files + - Controller is PageKit + +This allows your programmers, designers and content editors to work +independently with clean well-defined interfaces. + +PageKit provides the following features: + - Component-based architecture + - Language Localization and charset translation + - Session Management + - Input Validation + - Sticky HTML Forms + - Authentication + - Co-branding and XML,WML, and PDF output + - Automatic Dispatching of URIs + - Easy Error Handling + +WWW: http://pagekit.org/ + +Seamus Venasse <svenasse@polaris.ca> diff --git a/www/p5-Apache-PageKit/pkg-message b/www/p5-Apache-PageKit/pkg-message new file mode 100644 index 000000000000..f1094c2b9151 --- /dev/null +++ b/www/p5-Apache-PageKit/pkg-message @@ -0,0 +1,11 @@ +The Apache PageKit uses a newer expat library (textproc/expat2) for parsing +XML and XSLT documents. This causes a conflict with the builtin expat +library. You may need to recompile the Apache port without support for the +builtin expat library. To verify if you need to recompile Apache, run the +following command. + + strings `which httpd` | grep XML + +If anything outputs to the console, you need to recompile Apache. You can +disable the builtin expat library by passing "--disable-rule=EXPAT" to +configure. diff --git a/www/p5-Apache-PageKit/pkg-plist b/www/p5-Apache-PageKit/pkg-plist new file mode 100644 index 000000000000..47c92e99caf2 --- /dev/null +++ b/www/p5-Apache-PageKit/pkg-plist @@ -0,0 +1,73 @@ +lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit/Content.pm +lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit/View.pm +lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit/Model.pm +lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit/Param.pm +lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit/Session.pm +lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit/Config.pm +lib/perl5/site_perl/%%PERL_VER%%/Apache/setup_eg.pl +lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit.pm +lib/perl5/site_perl/%%PERL_VER%%/Apache/ErrorReport.pm +lib/perl5/site_perl/%%PERL_VER%%/XML/XPathTemplate.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/PageKit/.packlist +%%PORTDOCS%%share/doc/Apache-PageKit/README +%%PORTDOCS%%share/doc/Apache-PageKit/features.xml +%%PORTDOCS%%share/doc/Apache-PageKit/manual.xml +%%PORTDOCS%%share/doc/Apache-PageKit/reference.xml +%%PORTDOCS%%share/examples/Apache-PageKit/Config/Config.xml +%%PORTDOCS%%share/examples/Apache-PageKit/Config/PageKit_Config-0.97.dtd +%%PORTDOCS%%share/examples/Apache-PageKit/Content/charset.xml +%%PORTDOCS%%share/examples/Apache-PageKit/Content/content_loop.xml +%%PORTDOCS%%share/examples/Apache-PageKit/Content/customize.xml +%%PORTDOCS%%share/examples/Apache-PageKit/Content/form_validation.xml +%%PORTDOCS%%share/examples/Apache-PageKit/Content/index.xml +%%PORTDOCS%%share/examples/Apache-PageKit/Content/language.xml +%%PORTDOCS%%share/examples/Apache-PageKit/Content/license.xml +%%PORTDOCS%%share/examples/Apache-PageKit/Content/login1.xml +%%PORTDOCS%%share/examples/Apache-PageKit/Content/media_xslt.xml +%%PORTDOCS%%share/examples/Apache-PageKit/Content/newacct1.xml +%%PORTDOCS%%share/examples/Apache-PageKit/Content/restricted.xml +%%PORTDOCS%%share/examples/Apache-PageKit/Model/MyPageKit/Common.pm +%%PORTDOCS%%share/examples/Apache-PageKit/Model/MyPageKit/MyModel.pm +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/begin_cell.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/bottom.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/charset.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/content_loop.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/customize.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/demo_desc.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/end_cell.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/form_validation.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/index.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/language.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/license.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/login1.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/media.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/newacct1.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/restricted.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/simple_page.xsl +%%PORTDOCS%%share/examples/Apache-PageKit/View/Default/top.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/pdf/media.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/pdf/simple_page.xsl +%%PORTDOCS%%share/examples/Apache-PageKit/View/print/bottom.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/print/top.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/wml/media.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/wml/simple_page.xsl +%%PORTDOCS%%share/examples/Apache-PageKit/View/xml/media.tmpl +%%PORTDOCS%%share/examples/Apache-PageKit/View/xml/simple_page.xsl +%%PORTDOCS%%share/examples/Apache-PageKit/README +%%PORTDOCS%%@dirrm share/doc/Apache-PageKit +%%PORTDOCS%%@dirrm share/examples/Apache-PageKit/Config +%%PORTDOCS%%@dirrm share/examples/Apache-PageKit/Content +%%PORTDOCS%%@dirrm share/examples/Apache-PageKit/Model/MyPageKit +%%PORTDOCS%%@dirrm share/examples/Apache-PageKit/Model +%%PORTDOCS%%@dirrm share/examples/Apache-PageKit/View/Default +%%PORTDOCS%%@dirrm share/examples/Apache-PageKit/View/pdf +%%PORTDOCS%%@dirrm share/examples/Apache-PageKit/View/print +%%PORTDOCS%%@dirrm share/examples/Apache-PageKit/View/wml +%%PORTDOCS%%@dirrm share/examples/Apache-PageKit/View/xml +%%PORTDOCS%%@dirrm share/examples/Apache-PageKit/View +%%PORTDOCS%%@dirrm share/examples/Apache-PageKit +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/PageKit +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Apache/PageKit 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Apache 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true |