2000-06-02 03:26:44 +02:00
|
|
|
# New ports collection makefile for: HTML-Mason
|
|
|
|
# Date created: 31 May 2000
|
|
|
|
# Whom: Denis Shaposhnikov <dsh@vlink.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= HTML-Mason
|
2010-06-06 22:16:27 +02:00
|
|
|
PORTVERSION= 1.45
|
2000-06-02 03:26:44 +02:00
|
|
|
CATEGORIES= www perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2000-06-02 03:26:44 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= dsh@vlink.ru
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= High-performance, dynamic web site authoring system
|
2000-06-02 03:26:44 +02:00
|
|
|
|
2009-06-05 23:36:58 +02:00
|
|
|
BUILD_DEPENDS= p5-Class-Container>=0.7:${PORTSDIR}/devel/p5-Class-Container \
|
|
|
|
p5-HTML-Parser>0:${PORTSDIR}/www/p5-HTML-Parser
|
2008-04-23 12:04:00 +02:00
|
|
|
RUN_DEPENDS= p5-Cache-Cache>=1:${PORTSDIR}/devel/p5-Cache-Cache \
|
|
|
|
p5-Class-Container>=0.7:${PORTSDIR}/devel/p5-Class-Container \
|
|
|
|
p5-Exception-Class>=1.15:${PORTSDIR}/devel/p5-Exception-Class \
|
2010-01-20 10:58:53 +01:00
|
|
|
p5-Log-Any>=0.08:${PORTSDIR}/devel/p5-Log-Any \
|
2008-04-23 12:04:00 +02:00
|
|
|
p5-Params-Validate>=0.07:${PORTSDIR}/devel/p5-Params-Validate \
|
|
|
|
p5-HTML-Parser>0:${PORTSDIR}/www/p5-HTML-Parser
|
2000-06-02 03:26:44 +02:00
|
|
|
|
2008-04-25 00:09:55 +02:00
|
|
|
PERL_MODBUILD= yes
|
2000-06-02 03:26:44 +02:00
|
|
|
|
2002-10-10 12:55:03 +02:00
|
|
|
MAN3= Bundle::HTML::Mason.3 \
|
|
|
|
HTML::Mason.3 \
|
|
|
|
HTML::Mason::Admin.3 \
|
|
|
|
HTML::Mason::ApacheHandler.3 \
|
|
|
|
HTML::Mason::CGIHandler.3 \
|
2006-10-31 02:43:46 +01:00
|
|
|
HTML::Mason::Cache::BaseCache.3 \
|
2002-10-10 12:55:03 +02:00
|
|
|
HTML::Mason::Compiler.3 \
|
|
|
|
HTML::Mason::Compiler::ToObject.3 \
|
|
|
|
HTML::Mason::Component.3 \
|
2003-10-29 21:37:05 +01:00
|
|
|
HTML::Mason::Component::FileBased.3 \
|
2002-10-26 19:29:05 +02:00
|
|
|
HTML::Mason::Component::Subcomponent.3 \
|
2002-10-10 12:55:03 +02:00
|
|
|
HTML::Mason::ComponentSource.3 \
|
|
|
|
HTML::Mason::Devel.3 \
|
|
|
|
HTML::Mason::Escapes.3 \
|
|
|
|
HTML::Mason::Exceptions.3 \
|
2003-10-29 21:37:05 +01:00
|
|
|
HTML::Mason::FakeApache.3 \
|
2002-10-10 12:55:03 +02:00
|
|
|
HTML::Mason::Interp.3 \
|
|
|
|
HTML::Mason::Lexer.3 \
|
|
|
|
HTML::Mason::MethodMaker.3 \
|
|
|
|
HTML::Mason::Params.3 \
|
|
|
|
HTML::Mason::Parser.3 \
|
2005-10-11 14:56:53 +02:00
|
|
|
HTML::Mason::Plugin.3 \
|
|
|
|
HTML::Mason::Plugin::Context.3 \
|
2002-10-10 12:55:03 +02:00
|
|
|
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
|
2000-06-02 03:26:44 +02:00
|
|
|
|
2010-02-12 13:37:06 +01:00
|
|
|
OPTIONS= MOD_PERL "with mod_perl dependency" off \
|
|
|
|
APACHE2 "with mod_perl for Apache 2" off
|
2005-04-15 20:59:29 +02:00
|
|
|
|
2006-05-29 11:34:35 +02:00
|
|
|
post-build:
|
|
|
|
${MV} -f ${WRKSRC}/bin ${WRKSRC}/bin.orig
|
|
|
|
${MV} -f ${WRKSRC}/blib/script ${WRKSRC}/blib/script.orig
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/blib/script.orig/mason.pl ${PREFIX}/bin
|
|
|
|
|
2003-02-05 11:34:06 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-04-15 20:59:29 +02:00
|
|
|
.if defined(WITH_MOD_PERL)
|
2005-04-18 14:51:17 +02:00
|
|
|
.if defined(WITH_APACHE2)
|
2006-03-26 20:00:28 +02:00
|
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache2/Request.pm:${PORTSDIR}/www/p5-libapreq2
|
2005-04-18 14:51:17 +02:00
|
|
|
.else
|
2005-04-15 20:59:29 +02:00
|
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache/libapreq.pm:${PORTSDIR}/www/p5-libapreq
|
|
|
|
.endif
|
2005-04-18 14:51:17 +02:00
|
|
|
.endif
|
2005-04-15 20:59:29 +02:00
|
|
|
|
2003-02-05 11:34:06 +01:00
|
|
|
.include <bsd.port.post.mk>
|