Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2004 21:47:36 +0200 (CEST)
From:      Lars Thegler <lars@thegler.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65734: [MAINTAINER] www/p5-Maypole: update to 1.4
Message-ID:  <20040418194736.7F90A3EB5@dask.thegler.dk>
Resent-Message-ID: <200404181950.i3IJoOtu091418@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65734
>Category:       ports
>Synopsis:       [MAINTAINER] www/p5-Maypole: update to 1.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 18 12:50:24 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Lars Thegler
>Release:        FreeBSD 4.10-BETA i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.10-BETA FreeBSD 4.10-BETA #3: Mon Apr 12 17:02:50 CEST 2004
>Description:
- Update to 1.4
- Now installs docs, examples and templates

Note to committer: new file pkg-message

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

--- p5-Maypole-1.4.patch begins here ---
diff -ruN --exclude=CVS /usr/home/lth/ports/www/p5-Maypole.orig/Makefile /usr/home/lth/ports/www/p5-Maypole/Makefile
--- /usr/home/lth/ports/www/p5-Maypole.orig/Makefile	Thu Apr  8 20:27:19 2004
+++ /usr/home/lth/ports/www/p5-Maypole/Makefile	Sun Apr 18 19:07:31 2004
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/www/p5-Maypole/Makefile,v 1.1 2004/04/08 18:27:19 erwin Exp $
 
 PORTNAME=	Maypole
-PORTVERSION=	1.3
+PORTVERSION=	1.4
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	../by-authors/id/S/SI/SIMON/
@@ -27,16 +27,78 @@
 		${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
 		${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit
 
+PKGMESSAGE=	${WRKDIR}/pkg-message
+PKGMSG_SUB=	DOCSDIR=${DOCSDIR} \
+		DATADIR=${DATADIR} \
+		EXAMPLESDIR=${EXAMPLESDIR}
+
 PERL_CONFIGURE=	yes
 
 MAN3=		Apache::MVC.3 \
+		CGI::Maypole.3 \
 		Maypole.3 \
+		Maypole::CLI.3 \
 		Maypole::Model::Base.3 \
 		Maypole::Model::CDBI.3 \
+		Maypole::View::Mason.3 \
+		Maypole::View::TT.3 \
 		Maypole::Workflow.3
 
-.include <bsd.port.pre.mk>
+DOCS=		About.pod \
+		Beer.pod \
+		BuySpy.pod \
+		Flox.pod \
+		Model.pod \
+		Overview.pod \
+		Request.pod \
+		StandardTemplates.pod \
+		Templates.pod \
+		View.pod \
+		makedoc.pl
+EXAMPLES=	BeerDB.pm
+TMPL_BEER=	addnew
+TMPL_CUSTOM=	frontpage \
+		header
+TMPL_FACTORY=	addnew \
+		edit \
+		header \
+		list \
+		macros \
+		navbar \
+		pager \
+		search_form \
+		view
+
+pre-patch:
+	@ ${SED} ${PKGMSG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
+		${PKGDIR}/pkg-message > ${PKGMESSAGE}
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@ ${MKDIR} ${DOCSDIR}
+.for FILE in ${DOCS}
+	@ ${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
+.endfor
+	@ ${MKDIR} ${EXAMPLESDIR}
+.for FILE in ${EXAMPLES}
+	@ ${INSTALL_DATA} ${WRKSRC}/ex/${FILE} ${EXAMPLESDIR}
+.endfor
+.endif
+	@ ${MKDIR} ${DATADIR}/templates/beer
+	@ ${MKDIR} ${DATADIR}/templates/custom
+	@ ${MKDIR} ${DATADIR}/templates/factory
+.for FILE in ${TMPL_BEER}
+	@ ${INSTALL_DATA} ${WRKSRC}/templates/beer/${FILE} ${DATADIR}/templates/beer/
+.endfor
+.for FILE in ${TMPL_CUSTOM}
+	@ ${INSTALL_DATA} ${WRKSRC}/templates/custom/${FILE} ${DATADIR}/templates/custom/
+.endfor
+.for FILE in ${TMPL_FACTORY}
+	@ ${INSTALL_DATA} ${WRKSRC}/templates/factory/${FILE} ${DATADIR}/templates/factory/
+.endfor
+	@ ${CAT} ${PKGMESSAGE}
 
+.include <bsd.port.pre.mk>
 .if ${PERL_LEVEL} < 500600
 IGNORE=		"Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
 .endif
diff -ruN --exclude=CVS /usr/home/lth/ports/www/p5-Maypole.orig/distinfo /usr/home/lth/ports/www/p5-Maypole/distinfo
--- /usr/home/lth/ports/www/p5-Maypole.orig/distinfo	Thu Apr  8 20:27:19 2004
+++ /usr/home/lth/ports/www/p5-Maypole/distinfo	Sat Apr 17 21:37:45 2004
@@ -1,2 +1,2 @@
-MD5 (Maypole-1.3.tar.gz) = 541fb9dd1718c8e92c6edec9b1d9bf64
-SIZE (Maypole-1.3.tar.gz) = 22504
+MD5 (Maypole-1.4.tar.gz) = 36467405c225803624808f5b474be55a
+SIZE (Maypole-1.4.tar.gz) = 66852
diff -ruN --exclude=CVS /usr/home/lth/ports/www/p5-Maypole.orig/files/patch-Makefile.PL /usr/home/lth/ports/www/p5-Maypole/files/patch-Makefile.PL
--- /usr/home/lth/ports/www/p5-Maypole.orig/files/patch-Makefile.PL	Thu Apr  8 20:27:19 2004
+++ /usr/home/lth/ports/www/p5-Maypole/files/patch-Makefile.PL	Sat Apr 17 22:15:12 2004
@@ -1,14 +1,6 @@
---- Makefile.PL.orig	Thu Mar 25 13:33:42 2004
-+++ Makefile.PL	Thu Apr  8 18:13:57 2004
-@@ -20,14 +20,17 @@
-         Template => 0,
-     }, # e.g., Module::Name => 1.1
-     ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
--      (ABSTRACT_FROM  => 'lib/Apache/MVC.pm', # retrieve abstract from module
-+      (ABSTRACT_FROM  => 'lib/Maypole.pm', # retrieve abstract from module
-        AUTHOR         => 'Simon Cozens <simon@simon-cozens.org>') : ()),
- );
- 
+--- Makefile.PL.orig	Fri Apr 16 19:16:55 2004
++++ Makefile.PL	Sat Apr 17 22:15:01 2004
+@@ -27,7 +27,10 @@
  if (!-e "t/beerdb.db") {
      print "Making SQLite DB\n";
      eval { require DBD::SQLite };
diff -ruN --exclude=CVS /usr/home/lth/ports/www/p5-Maypole.orig/pkg-descr /usr/home/lth/ports/www/p5-Maypole/pkg-descr
--- /usr/home/lth/ports/www/p5-Maypole.orig/pkg-descr	Thu Apr  8 20:27:19 2004
+++ /usr/home/lth/ports/www/p5-Maypole/pkg-descr	Sat Apr 17 22:05:10 2004
@@ -1,4 +1,6 @@
-Maypole is an MVC-based web application framework, built around
-Class::DBI and Template Toolkit.
+Maypole is a Perl framework for MVC-oriented web applications,
+similar to Jakarta's Struts. Maypole is designed to minimize coding
+requirements for creating simple web interfaces to databases, while
+remaining flexible enough to support enterprise web applications.
 
-WWW: http://search.cpan.org/~simon/Maypole/
+WWW: http://search.cpan.org/dist/Maypole/
diff -ruN --exclude=CVS /usr/home/lth/ports/www/p5-Maypole.orig/pkg-message /usr/home/lth/ports/www/p5-Maypole/pkg-message
--- /usr/home/lth/ports/www/p5-Maypole.orig/pkg-message	Thu Jan  1 01:00:00 1970
+++ /usr/home/lth/ports/www/p5-Maypole/pkg-message	Sun Apr 18 19:03:57 2004
@@ -0,0 +1,11 @@
+========================================================================
+
+Maypole has now been installed.
+
+Documentation:	%%DOCSDIR%%/
+Examples:	%%EXAMPLESDIR%%/
+Templates:	%%DATADIR%%/templates/
+
+Enjoy!
+
+========================================================================
diff -ruN --exclude=CVS /usr/home/lth/ports/www/p5-Maypole.orig/pkg-plist /usr/home/lth/ports/www/p5-Maypole/pkg-plist
--- /usr/home/lth/ports/www/p5-Maypole.orig/pkg-plist	Thu Apr  8 20:27:19 2004
+++ /usr/home/lth/ports/www/p5-Maypole/pkg-plist	Sun Apr 18 19:05:32 2004
@@ -1,11 +1,49 @@
 %%SITE_PERL%%/Apache/MVC.pm
+%%SITE_PERL%%/CGI/Maypole.pm
 %%SITE_PERL%%/Maypole.pm
-%%SITE_PERL%%/Maypole/Workflow.pod
-%%SITE_PERL%%/Maypole/Model/CDBI.pm
+%%SITE_PERL%%/Maypole/CLI.pm
+%%SITE_PERL%%/Maypole/Constants.pm
 %%SITE_PERL%%/Maypole/Model/Base.pm
+%%SITE_PERL%%/Maypole/Model/CDBI.pm
+%%SITE_PERL%%/Maypole/View/Base.pm
+%%SITE_PERL%%/Maypole/View/Mason.pm
 %%SITE_PERL%%/Maypole/View/TT.pm
+%%SITE_PERL%%/Maypole/Workflow.pod
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Maypole/.packlist
+%%PORTDOCS%%%%DOCSDIR%%/About.pod
+%%PORTDOCS%%%%DOCSDIR%%/Beer.pod
+%%PORTDOCS%%%%DOCSDIR%%/BuySpy.pod
+%%PORTDOCS%%%%DOCSDIR%%/Flox.pod
+%%PORTDOCS%%%%DOCSDIR%%/Model.pod
+%%PORTDOCS%%%%DOCSDIR%%/Overview.pod
+%%PORTDOCS%%%%DOCSDIR%%/Request.pod
+%%PORTDOCS%%%%DOCSDIR%%/StandardTemplates.pod
+%%PORTDOCS%%%%DOCSDIR%%/Templates.pod
+%%PORTDOCS%%%%DOCSDIR%%/View.pod
+%%PORTDOCS%%%%DOCSDIR%%/makedoc.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/BeerDB.pm
+%%DATADIR%%/templates/beer/addnew
+%%DATADIR%%/templates/custom/frontpage
+%%DATADIR%%/templates/custom/header
+%%DATADIR%%/templates/factory/addnew
+%%DATADIR%%/templates/factory/edit
+%%DATADIR%%/templates/factory/header
+%%DATADIR%%/templates/factory/list
+%%DATADIR%%/templates/factory/macros
+%%DATADIR%%/templates/factory/navbar
+%%DATADIR%%/templates/factory/pager
+%%DATADIR%%/templates/factory/search_form
+%%DATADIR%%/templates/factory/view
+@dirrm %%DATADIR%%/templates/factory
+@dirrm %%DATADIR%%/templates/custom
+@dirrm %%DATADIR%%/templates/beer
+@dirrm %%DATADIR%%/templates
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Maypole
 @unexec rmdir %D/%%SITE_PERL%%/Maypole/Model 2>/dev/null || true
 @unexec rmdir %D/%%SITE_PERL%%/Maypole/View 2>/dev/null || true
 @unexec rmdir %D/%%SITE_PERL%%/Maypole 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/CGI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Apache 2>/dev/null || true
--- p5-Maypole-1.4.patch ends here ---

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



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