aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTML-Mason/Makefile
blob: 9f5d0fa1f4fe15eb5f57bb723ad94f438326aa3a (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
# New ports collection makefile for:	HTML-Mason
# Date created:				31 May 2000
# Whom:					Denis Shaposhnikov <dsh@vlink.ru>
#
# $FreeBSD$
#

PORTNAME=	HTML-Mason
PORTVERSION=	1.28
PORTREVISION=	2
CATEGORIES=	www perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	HTML
PKGNAMEPREFIX=	p5-

MAINTAINER=	dsh@vlink.ru
COMMENT=	High-performance, dynamic web site authoring system

BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
		${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
		${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
		${SITE_PERL}/Class/Container.pm:${PORTSDIR}/devel/p5-Class-Container \
		${SITE_PERL}/Cache/Cache.pm:${PORTSDIR}/devel/p5-Cache-Cache
RUN_DEPENDS=	${BUILD_DEPENDS} \
		${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser

PERL_CONFIGURE=	yes
CONFIGURE_ARGS+=	--no-prompts

MAN3=		Bundle::HTML::Mason.3 \
		HTML::Mason.3 \
		HTML::Mason::Admin.3 \
		HTML::Mason::ApacheHandler.3 \
		HTML::Mason::Buffer.3 \
		HTML::Mason::Cache::BaseCache.3 \
		HTML::Mason::CGIHandler.3 \
		HTML::Mason::Compiler.3 \
		HTML::Mason::Compiler::ToObject.3 \
		HTML::Mason::Component.3 \
		HTML::Mason::Component::FileBased.3 \
		HTML::Mason::Component::Subcomponent.3 \
		HTML::Mason::ComponentSource.3 \
		HTML::Mason::Devel.3 \
		HTML::Mason::Escapes.3 \
		HTML::Mason::Exceptions.3 \
		HTML::Mason::FakeApache.3 \
		HTML::Mason::Interp.3 \
		HTML::Mason::Lexer.3 \
		HTML::Mason::MethodMaker.3 \
		HTML::Mason::Params.3 \
		HTML::Mason::Parser.3 \
		HTML::Mason::Request.3 \
		HTML::Mason::Resolver.3 \
		HTML::Mason::Resolver::File.3 \
		HTML::Mason::Resolver::Null.3 \
		HTML::Mason::Subclassing.3 \
		HTML::Mason::Tests.3 \
		HTML::Mason::Tools.3 \
		HTML::Mason::Utils.3

OPTIONS=	MOD_PERL "with mod_perl dependency" off

.include <bsd.port.pre.mk>

.if defined(WITH_MOD_PERL)
.if defined(WITH_APACHE2)
RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Apache2/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq2
.else
RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Apache/libapreq.pm:${PORTSDIR}/www/p5-libapreq
.endif
.endif

.include <bsd.port.post.mk>