aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Gantry/Makefile
blob: 0586460edb0b91664c922cf4033f79a96acd5c9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=	Gantry
PORTVERSION=	3.64
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Web application framework for mod_perl, cgi, etc

BUILD_DEPENDS=	p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
		p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
		p5-Data-UUID>=0:${PORTSDIR}/devel/p5-Data-UUID \
		p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc \
		p5-CGI-Simple>=0:${PORTSDIR}/www/p5-CGI-Simple \
		p5-Data-FormValidator>=0:${PORTSDIR}/textproc/p5-Data-FormValidator \
		p5-File-Copy-Recursive>=0:${PORTSDIR}/devel/p5-File-Copy-Recursive \
		p5-Hash-Merge>=0:${PORTSDIR}/textproc/p5-Hash-Merge \
		p5-HTML-Prototype>=0:${PORTSDIR}/www/p5-HTML-Prototype \
		p5-HTTP-Server-Simple>=0:${PORTSDIR}/www/p5-HTTP-Server-Simple \
		p5-URI>=0:${PORTSDIR}/net/p5-URI \
		p5-Crypt-CBC>=0:${PORTSDIR}/security/p5-Crypt-CBC \
		p5-Sub-Install>0:${PORTSDIR}/devel/p5-Sub-Install \
		p5-Mail-RFC822-Address>0:${PORTSDIR}/mail/p5-Mail-RFC822-Address \
		p5-Config-General>0:${PORTSDIR}/devel/p5-Config-General \
		p5-JSON>0:${PORTSDIR}/converters/p5-JSON \
		p5-Template-Toolkit>=2.0:${PORTSDIR}/www/p5-Template-Toolkit \
		p5-Template-Plugin-HTML-SuperForm>0:${PORTSDIR}/textproc/p5-Template-Plugin-HTML-SuperForm
RUN_DEPENDS=	p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
		p5-Data-UUID>=0:${PORTSDIR}/devel/p5-Data-UUID \
		p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc \
		p5-CGI-Simple>=0:${PORTSDIR}/www/p5-CGI-Simple \
		p5-Data-FormValidator>=0:${PORTSDIR}/textproc/p5-Data-FormValidator \
		p5-File-Copy-Recursive>=0:${PORTSDIR}/devel/p5-File-Copy-Recursive \
		p5-Hash-Merge>=0:${PORTSDIR}/textproc/p5-Hash-Merge \
		p5-HTML-Prototype>=0:${PORTSDIR}/www/p5-HTML-Prototype \
		p5-HTTP-Server-Simple>=0:${PORTSDIR}/www/p5-HTTP-Server-Simple \
		p5-URI>=0:${PORTSDIR}/net/p5-URI \
		p5-Crypt-CBC>=0:${PORTSDIR}/security/p5-Crypt-CBC \
		p5-Sub-Install>0:${PORTSDIR}/devel/p5-Sub-Install \
		p5-Mail-RFC822-Address>0:${PORTSDIR}/mail/p5-Mail-RFC822-Address \
		p5-Config-General>0:${PORTSDIR}/devel/p5-Config-General \
		p5-JSON>0:${PORTSDIR}/converters/p5-JSON \
		p5-Template-Toolkit>=2.0:${PORTSDIR}/www/p5-Template-Toolkit \
		p5-Template-Plugin-HTML-SuperForm>0:${PORTSDIR}/textproc/p5-Template-Plugin-HTML-SuperForm

IS_INTERACTIVE=	Asks about installation paths

USES=		perl5
USE_PERL5=	modbuild

WWWDIR=		${PREFIX}/www/${PORTNAME:L}

MAN3=		Gantry.3 \
		Gantry::Build.3 \
		Gantry::Conf.3 \
		Gantry::Conf::FAQ.3 \
		Gantry::Conf::Provider.3 \
		Gantry::Conf::Provider::FlatFile::Config::General.3 \
		Gantry::Conf::Provider::FlatFile::Config::Tiny.3 \
		Gantry::Conf::Provider::HTTP.3 \
		Gantry::Conf::Provider::HTTP::Config::General.3 \
		Gantry::Conf::Provider::ParamBuilder.3 \
		Gantry::Conf::Provider::PerlSetVar.3 \
		Gantry::Conf::Provider::SQL::PostgreSQL.3 \
		Gantry::Conf::Tutorial.3 Gantry::Control.3 \
		Gantry::Control::C::Access.3 \
		Gantry::Control::C::AuthenBase.3 \
		Gantry::Control::C::AuthenCDBI.3 \
		Gantry::Control::C::AuthenRegular.3 \
		Gantry::Control::C::Authz::PageBasedBase.3 \
		Gantry::Control::C::Authz::PageBasedCDBI.3 \
		Gantry::Control::C::Authz::PageBasedRegular.3 \
		Gantry::Control::C::AuthzBase.3 \
		Gantry::Control::C::AuthzCDBI.3 \
		Gantry::Control::C::AuthzRegular.3 \
		Gantry::Control::C::Groups.3 Gantry::Control::C::Pages.3 \
		Gantry::Control::C::Users.3 \
		Gantry::Control::Model::GEN::auth_group_members.3 \
		Gantry::Control::Model::GEN::auth_groups.3 \
		Gantry::Control::Model::GEN::auth_pages.3 \
		Gantry::Control::Model::GEN::auth_users.3 \
		Gantry::Control::Model::auth_group_members.3 \
		Gantry::Control::Model::auth_group_members_cdbi.3 \
		Gantry::Control::Model::auth_groups.3 \
		Gantry::Control::Model::auth_groups_cdbi.3 \
		Gantry::Control::Model::auth_pages.3 \
		Gantry::Control::Model::auth_pages_cdbi.3 \
		Gantry::Control::Model::auth_users.3 \
		Gantry::Control::Model::auth_users_cdbi.3 \
		Gantry::Docs.3 Gantry::Docs::Tutorial.3 \
		Gantry::Docs::About.3 Gantry::Docs::DBConn.3 \
		Gantry::Docs::Cookbook.3 \
		Gantry::Docs::FAQ.3 Gantry::Docs::QuickStart.3 \
		Gantry::Docs::Why.3 Gantry::Engine::CGI.3 \
		Gantry::Engine::MP13.3 Gantry::Engine::MP20.3 \
		Gantry::Exception.3 \
		Gantry::Init.3 Gantry::Plugins::AutoCRUD.3 \
		Gantry::Plugins::AjaxCRUD.3 \
		Gantry::Plugins::AjaxFORM.3 \
		Gantry::Plugins::AuthCookie.3 \
		Gantry::Plugins::AutoCRUDHelper::CDBI.3 \
		Gantry::Plugins::AutoCRUDHelper::DBIxClass.3 \
		Gantry::Plugins::CRUD.3 Gantry::Plugins::Calendar.3 \
		Gantry::Plugins::Cache.3 \
		Gantry::Plugins::Cache::FastMmap.3 \
		Gantry::Plugins::Cache::Memcached.3 \
		Gantry::Plugins::Cache::Storable.3 \
		Gantry::Plugins::DBIxClassConn.3 Gantry::Plugins::Static.3 \
		Gantry::Plugins::PageCache.3 \
		Gantry::Plugins::Shibboleth.3 \
		Gantry::Plugins::SOAP::Doc.3 \
		Gantry::Plugins::SOAP::RPC.3 \
		Gantry::Plugins::Validate.3 Gantry::Server.3 Gantry::Stash.3 \
		Gantry::Stash::Controller.3 Gantry::Stash::View.3 \
		Gantry::Stash::View::Form.3 Gantry::State::Simple.3 \
		Gantry::State::Default.3 Gantry::Template::Default.3 \
		Gantry::State::Exceptions.3 \
		Gantry::Template::Framing.3 Gantry::Template::TT.3 \
		Gantry::Utils::AuthCDBI.3 Gantry::Utils::CDBI.3 \
		Gantry::Utils::CRON.3 \
		Gantry::Utils::CRUDHelp.3 Gantry::Utils::Crypt.3 \
		Gantry::Utils::Captcha.3\
		Gantry::Utils::DB.3 \
		Gantry::Utils::DBConnHelper.3 \
		Gantry::Utils::DBConnHelper::MP13.3 \
		Gantry::Utils::DBConnHelper::MP20.3 \
		Gantry::Utils::DBConnHelper::Script.3 \
		Gantry::Utils::DBIxClass.3 Gantry::Utils::FormErrors.3 Gantry::Utils::HTML.3 \
		Gantry::Utils::FormMunger.3 \
		Gantry::Utils::Model.3 Gantry::Utils::Model::Auth.3 \
		Gantry::Utils::Model::Regular.3 Gantry::Utils::ModelHelper.3 \
		Gantry::Utils::PODViewer.3 Gantry::Utils::PerlbalFixup.3 \
		Gantry::Utils::SQL.3 Gantry::Utils::Validate.3 \
		Gantry::Utils::TablePerms.3 \
		Gantry::Utils::Threeway.3 \
		Template::Plugin::GantryAuthCookie.3

post-patch:
	${REINPLACE_CMD} -e 's,/home/httpd/html/gantry,${WWWDIR},g' \
		-e 's,\$ENV{'GANTRY_TEMPLATE_PATH'},${WWWDIR},g' \
	    ${WRKSRC}/Build.PL

pre-su-install:
	@${MKDIR} ${WWWDIR}

.include <bsd.port.mk>