View | Details | Raw Unified | Return to bug 65734
Collapse All | Expand All

(-)/usr/home/lth/ports/www/p5-Maypole/Makefile (-2 / +64 lines)
Lines 5-11 Link Here
5
# $FreeBSD: ports/www/p5-Maypole/Makefile,v 1.1 2004/04/08 18:27:19 erwin Exp $
5
# $FreeBSD: ports/www/p5-Maypole/Makefile,v 1.1 2004/04/08 18:27:19 erwin Exp $
6
6
7
PORTNAME=	Maypole
7
PORTNAME=	Maypole
8
PORTVERSION=	1.3
8
PORTVERSION=	1.4
9
CATEGORIES=	www perl5
9
CATEGORIES=	www perl5
10
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
10
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
11
MASTER_SITE_SUBDIR=	../by-authors/id/S/SI/SIMON/
11
MASTER_SITE_SUBDIR=	../by-authors/id/S/SI/SIMON/
Lines 27-42 Link Here
27
		${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
27
		${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
28
		${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit
28
		${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit
29
29
30
PKGMESSAGE=	${WRKDIR}/pkg-message
31
PKGMSG_SUB=	DOCSDIR=${DOCSDIR} \
32
		DATADIR=${DATADIR} \
33
		EXAMPLESDIR=${EXAMPLESDIR}
34
30
PERL_CONFIGURE=	yes
35
PERL_CONFIGURE=	yes
31
36
32
MAN3=		Apache::MVC.3 \
37
MAN3=		Apache::MVC.3 \
38
		CGI::Maypole.3 \
33
		Maypole.3 \
39
		Maypole.3 \
40
		Maypole::CLI.3 \
34
		Maypole::Model::Base.3 \
41
		Maypole::Model::Base.3 \
35
		Maypole::Model::CDBI.3 \
42
		Maypole::Model::CDBI.3 \
43
		Maypole::View::Mason.3 \
44
		Maypole::View::TT.3 \
36
		Maypole::Workflow.3
45
		Maypole::Workflow.3
37
46
38
.include <bsd.port.pre.mk>
47
DOCS=		About.pod \
48
		Beer.pod \
49
		BuySpy.pod \
50
		Flox.pod \
51
		Model.pod \
52
		Overview.pod \
53
		Request.pod \
54
		StandardTemplates.pod \
55
		Templates.pod \
56
		View.pod \
57
		makedoc.pl
58
EXAMPLES=	BeerDB.pm
59
TMPL_BEER=	addnew
60
TMPL_CUSTOM=	frontpage \
61
		header
62
TMPL_FACTORY=	addnew \
63
		edit \
64
		header \
65
		list \
66
		macros \
67
		navbar \
68
		pager \
69
		search_form \
70
		view
71
72
pre-patch:
73
	@ ${SED} ${PKGMSG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
74
		${PKGDIR}/pkg-message > ${PKGMESSAGE}
75
76
post-install:
77
.if !defined(NOPORTDOCS)
78
	@ ${MKDIR} ${DOCSDIR}
79
.for FILE in ${DOCS}
80
	@ ${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
81
.endfor
82
	@ ${MKDIR} ${EXAMPLESDIR}
83
.for FILE in ${EXAMPLES}
84
	@ ${INSTALL_DATA} ${WRKSRC}/ex/${FILE} ${EXAMPLESDIR}
85
.endfor
86
.endif
87
	@ ${MKDIR} ${DATADIR}/templates/beer
88
	@ ${MKDIR} ${DATADIR}/templates/custom
89
	@ ${MKDIR} ${DATADIR}/templates/factory
90
.for FILE in ${TMPL_BEER}
91
	@ ${INSTALL_DATA} ${WRKSRC}/templates/beer/${FILE} ${DATADIR}/templates/beer/
92
.endfor
93
.for FILE in ${TMPL_CUSTOM}
94
	@ ${INSTALL_DATA} ${WRKSRC}/templates/custom/${FILE} ${DATADIR}/templates/custom/
95
.endfor
96
.for FILE in ${TMPL_FACTORY}
97
	@ ${INSTALL_DATA} ${WRKSRC}/templates/factory/${FILE} ${DATADIR}/templates/factory/
98
.endfor
99
	@ ${CAT} ${PKGMESSAGE}
39
100
101
.include <bsd.port.pre.mk>
40
.if ${PERL_LEVEL} < 500600
102
.if ${PERL_LEVEL} < 500600
41
IGNORE=		"Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
103
IGNORE=		"Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
42
.endif
104
.endif
(-)/usr/home/lth/ports/www/p5-Maypole/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (Maypole-1.3.tar.gz) = 541fb9dd1718c8e92c6edec9b1d9bf64
1
MD5 (Maypole-1.4.tar.gz) = 36467405c225803624808f5b474be55a
2
SIZE (Maypole-1.3.tar.gz) = 22504
2
SIZE (Maypole-1.4.tar.gz) = 66852
(-)/usr/home/lth/ports/www/p5-Maypole/files/patch-Makefile.PL (-11 / +3 lines)
Lines 1-14 Link Here
1
--- Makefile.PL.orig	Thu Mar 25 13:33:42 2004
1
--- Makefile.PL.orig	Fri Apr 16 19:16:55 2004
2
+++ Makefile.PL	Thu Apr  8 18:13:57 2004
2
+++ Makefile.PL	Sat Apr 17 22:15:01 2004
3
@@ -20,14 +20,17 @@
3
@@ -27,7 +27,10 @@
4
         Template => 0,
5
     }, # e.g., Module::Name => 1.1
6
     ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
7
-      (ABSTRACT_FROM  => 'lib/Apache/MVC.pm', # retrieve abstract from module
8
+      (ABSTRACT_FROM  => 'lib/Maypole.pm', # retrieve abstract from module
9
        AUTHOR         => 'Simon Cozens <simon@simon-cozens.org>') : ()),
10
 );
11
 
12
 if (!-e "t/beerdb.db") {
4
 if (!-e "t/beerdb.db") {
13
     print "Making SQLite DB\n";
5
     print "Making SQLite DB\n";
14
     eval { require DBD::SQLite };
6
     eval { require DBD::SQLite };
(-)/usr/home/lth/ports/www/p5-Maypole/pkg-descr (-3 / +5 lines)
Lines 1-4 Link Here
1
Maypole is an MVC-based web application framework, built around
1
Maypole is a Perl framework for MVC-oriented web applications,
2
Class::DBI and Template Toolkit.
2
similar to Jakarta's Struts. Maypole is designed to minimize coding
3
requirements for creating simple web interfaces to databases, while
4
remaining flexible enough to support enterprise web applications.
3
5
4
WWW: http://search.cpan.org/~simon/Maypole/
6
WWW: http://search.cpan.org/dist/Maypole/
(-)/usr/home/lth/ports/www/p5-Maypole/pkg-message (+11 lines)
Line 0 Link Here
1
========================================================================
2
3
Maypole has now been installed.
4
5
Documentation:	%%DOCSDIR%%/
6
Examples:	%%EXAMPLESDIR%%/
7
Templates:	%%DATADIR%%/templates/
8
9
Enjoy!
10
11
========================================================================
(-)/usr/home/lth/ports/www/p5-Maypole/pkg-plist (-2 / +40 lines)
Lines 1-11 Link Here
1
%%SITE_PERL%%/Apache/MVC.pm
1
%%SITE_PERL%%/Apache/MVC.pm
2
%%SITE_PERL%%/CGI/Maypole.pm
2
%%SITE_PERL%%/Maypole.pm
3
%%SITE_PERL%%/Maypole.pm
3
%%SITE_PERL%%/Maypole/Workflow.pod
4
%%SITE_PERL%%/Maypole/CLI.pm
4
%%SITE_PERL%%/Maypole/Model/CDBI.pm
5
%%SITE_PERL%%/Maypole/Constants.pm
5
%%SITE_PERL%%/Maypole/Model/Base.pm
6
%%SITE_PERL%%/Maypole/Model/Base.pm
7
%%SITE_PERL%%/Maypole/Model/CDBI.pm
8
%%SITE_PERL%%/Maypole/View/Base.pm
9
%%SITE_PERL%%/Maypole/View/Mason.pm
6
%%SITE_PERL%%/Maypole/View/TT.pm
10
%%SITE_PERL%%/Maypole/View/TT.pm
11
%%SITE_PERL%%/Maypole/Workflow.pod
7
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Maypole/.packlist
12
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Maypole/.packlist
13
%%PORTDOCS%%%%DOCSDIR%%/About.pod
14
%%PORTDOCS%%%%DOCSDIR%%/Beer.pod
15
%%PORTDOCS%%%%DOCSDIR%%/BuySpy.pod
16
%%PORTDOCS%%%%DOCSDIR%%/Flox.pod
17
%%PORTDOCS%%%%DOCSDIR%%/Model.pod
18
%%PORTDOCS%%%%DOCSDIR%%/Overview.pod
19
%%PORTDOCS%%%%DOCSDIR%%/Request.pod
20
%%PORTDOCS%%%%DOCSDIR%%/StandardTemplates.pod
21
%%PORTDOCS%%%%DOCSDIR%%/Templates.pod
22
%%PORTDOCS%%%%DOCSDIR%%/View.pod
23
%%PORTDOCS%%%%DOCSDIR%%/makedoc.pl
24
%%PORTDOCS%%%%EXAMPLESDIR%%/BeerDB.pm
25
%%DATADIR%%/templates/beer/addnew
26
%%DATADIR%%/templates/custom/frontpage
27
%%DATADIR%%/templates/custom/header
28
%%DATADIR%%/templates/factory/addnew
29
%%DATADIR%%/templates/factory/edit
30
%%DATADIR%%/templates/factory/header
31
%%DATADIR%%/templates/factory/list
32
%%DATADIR%%/templates/factory/macros
33
%%DATADIR%%/templates/factory/navbar
34
%%DATADIR%%/templates/factory/pager
35
%%DATADIR%%/templates/factory/search_form
36
%%DATADIR%%/templates/factory/view
37
@dirrm %%DATADIR%%/templates/factory
38
@dirrm %%DATADIR%%/templates/custom
39
@dirrm %%DATADIR%%/templates/beer
40
@dirrm %%DATADIR%%/templates
41
@dirrm %%DATADIR%%
42
%%PORTDOCS%%@dirrm %%DOCSDIR%%
43
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
8
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Maypole
44
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Maypole
9
@unexec rmdir %D/%%SITE_PERL%%/Maypole/Model 2>/dev/null || true
45
@unexec rmdir %D/%%SITE_PERL%%/Maypole/Model 2>/dev/null || true
10
@unexec rmdir %D/%%SITE_PERL%%/Maypole/View 2>/dev/null || true
46
@unexec rmdir %D/%%SITE_PERL%%/Maypole/View 2>/dev/null || true
11
@unexec rmdir %D/%%SITE_PERL%%/Maypole 2>/dev/null || true
47
@unexec rmdir %D/%%SITE_PERL%%/Maypole 2>/dev/null || true
48
@unexec rmdir %D/%%SITE_PERL%%/CGI 2>/dev/null || true
49
@unexec rmdir %D/%%SITE_PERL%%/Apache 2>/dev/null || true

Return to bug 65734