ports/65328: [NEW PORT] www/p5-Maypole: MVC web application framework

Lars Thegler lars at thegler.dk
Thu Apr 8 16:30:20 UTC 2004


>Number:         65328
>Category:       ports
>Synopsis:       [NEW PORT] www/p5-Maypole: MVC web application framework
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 08 09:30:20 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Lars Thegler
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Nov  5 11:25:36 CET
>Description:
Maypole is an MVC-based web application framework, built around
Class::DBI and Template Toolkit.

WWW: http://search.cpan.org/~simon/Maypole/

Note to committer: This port depends on
databases/p5-Class-DBI-Loader-Relationship which was only recently
(less than one hour ago) committed to the ports tree. Please make
sure your ports tree is updated before testing. Thanks!

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- p5-Maypole-1.3.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Maypole
#	p5-Maypole/Makefile
#	p5-Maypole/distinfo
#	p5-Maypole/pkg-descr
#	p5-Maypole/pkg-plist
#	p5-Maypole/files
#	p5-Maypole/files/patch-Makefile.PL
#
echo c - p5-Maypole
mkdir -p p5-Maypole > /dev/null 2>&1
echo x - p5-Maypole/Makefile
sed 's/^X//' >p5-Maypole/Makefile << 'END-of-p5-Maypole/Makefile'
X# New ports collection makefile for:	p5-Maypole
X# Date created:				Apr 2 2004
X# Whom:					Lars Thegler <lars at thegler.dk>
X#
X# $FreeBSD$
X
XPORTNAME=	Maypole
XPORTVERSION=	1.3
XCATEGORIES=	www perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	../by-authors/id/S/SI/SIMON/
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	lars at thegler.dk
XCOMMENT=	MVC web application framework
X
XBUILD_DEPENDS=	${SITE_PERL}/Class/DBI/Loader.pm:${PORTSDIR}/databases/p5-Class-DBI-Loader \
X		${SITE_PERL}/Class/DBI/AbstractSearch.pm:${PORTSDIR}/databases/p5-Class-DBI-AbstractSearch \
X		${SITE_PERL}/Class/DBI/Pager.pm:${PORTSDIR}/databases/p5-Class-DBI-Pager \
X		${SITE_PERL}/Class/DBI/Plugin/RetrieveAll.pm:${PORTSDIR}/databases/p5-Class-DBI-Plugin-RetrieveAll \
X		${SITE_PERL}/Class/DBI/AsForm.pm:${PORTSDIR}/databases/p5-Class-DBI-AsForm \
X		${SITE_PERL}/Class/DBI/FromCGI.pm:${PORTSDIR}/databases/p5-Class-DBI-FromCGI \
X		${SITE_PERL}/Class/DBI/Loader/Relationship.pm:${PORTSDIR}/databases/p5-Class-DBI-Loader-Relationship \
X		${SITE_PERL}/CGI/Untaint.pm:${PORTSDIR}/www/p5-CGI-Untaint \
X		${SITE_PERL}/UNIVERSAL/moniker.pm:${PORTSDIR}/devel/p5-UNIVERSAL-moniker \
X		${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-exports \
X		${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
X		${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Apache::MVC.3 \
X		Maypole.3 \
X		Maypole::Model::Base.3 \
X		Maypole::Model::CDBI.3 \
X		Maypole::Workflow.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
XIGNORE=		"Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Maypole/Makefile
echo x - p5-Maypole/distinfo
sed 's/^X//' >p5-Maypole/distinfo << 'END-of-p5-Maypole/distinfo'
XMD5 (Maypole-1.3.tar.gz) = 541fb9dd1718c8e92c6edec9b1d9bf64
XSIZE (Maypole-1.3.tar.gz) = 22504
END-of-p5-Maypole/distinfo
echo x - p5-Maypole/pkg-descr
sed 's/^X//' >p5-Maypole/pkg-descr << 'END-of-p5-Maypole/pkg-descr'
XMaypole is an MVC-based web application framework, built around
XClass::DBI and Template Toolkit.
X
XWWW: http://search.cpan.org/~simon/Maypole/
END-of-p5-Maypole/pkg-descr
echo x - p5-Maypole/pkg-plist
sed 's/^X//' >p5-Maypole/pkg-plist << 'END-of-p5-Maypole/pkg-plist'
X%%SITE_PERL%%/Apache/MVC.pm
X%%SITE_PERL%%/Maypole.pm
X%%SITE_PERL%%/Maypole/Workflow.pod
X%%SITE_PERL%%/Maypole/Model/CDBI.pm
X%%SITE_PERL%%/Maypole/Model/Base.pm
X%%SITE_PERL%%/Maypole/View/TT.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Maypole/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Maypole
X at unexec rmdir %D/%%SITE_PERL%%/Maypole/Model 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/Maypole/View 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/Maypole 2>/dev/null || true
END-of-p5-Maypole/pkg-plist
echo c - p5-Maypole/files
mkdir -p p5-Maypole/files > /dev/null 2>&1
echo x - p5-Maypole/files/patch-Makefile.PL
sed 's/^X//' >p5-Maypole/files/patch-Makefile.PL << 'END-of-p5-Maypole/files/patch-Makefile.PL'
X--- Makefile.PL.orig	Thu Mar 25 13:33:42 2004
X+++ Makefile.PL	Thu Apr  8 18:13:57 2004
X@@ -20,14 +20,17 @@
X         Template => 0,
X     }, # e.g., Module::Name => 1.1
X     ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
X-      (ABSTRACT_FROM  => 'lib/Apache/MVC.pm', # retrieve abstract from module
X+      (ABSTRACT_FROM  => 'lib/Maypole.pm', # retrieve abstract from module
X        AUTHOR         => 'Simon Cozens <simon at simon-cozens.org>') : ()),
X );
X 
X if (!-e "t/beerdb.db") {
X     print "Making SQLite DB\n";
X     eval { require DBD::SQLite };
X-    die "No, wait, we don't have SQLite installed. Never mind\n" if $@;
X+    if ($@) {
X+        warn "No, wait, we don't have SQLite installed. Never mind\n";
X+        exit;
X+    }
X     require DBI;
X     my $dbh = DBI->connect("dbi:SQLite:dbname=t/beerdb.db");
X 
END-of-p5-Maypole/files/patch-Makefile.PL
exit
--- p5-Maypole-1.3.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list