blob: 2bf231327d26f81916b6f1c510d93161fab28b96 (
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
|
# 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-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:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
USES= perl5
USE_PERL5= modbuild
CONFIGURE_ARGS= </dev/null
PLIST_SUB+= WWWDIR=${WWWDIR}
WWWDIR= ${PREFIX}/www/${PORTNAME:tl}
post-patch:
${REINPLACE_CMD} -e 's,/home/httpd/html/gantry,${WWWDIR},g' \
-e 's,\$ENV{'GANTRY_TEMPLATE_PATH'},${WWWDIR},g' \
${WRKSRC}/Build.PL
.include <bsd.port.mk>
|