freebsd-ports/www/p5-HTML-Mason/Makefile
Martin Wilke a3cef47c8f - Update to 1.48
- Merged BUILD_DEPENDS and RUN_DEPENDS as it produces error while building
- Removed APACHE13 based dependancy

PR:		166590
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
2012-05-16 04:09:48 +00:00

75 lines
2.1 KiB
Makefile

# New ports collection makefile for: HTML-Mason
# Date created: 31 May 2000
# Whom: Denis Shaposhnikov <dsh@vlink.ru>
#
# $FreeBSD$
#
PORTNAME= HTML-Mason
PORTVERSION= 1.48
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= dsh@vlink.ru
COMMENT= High-performance, dynamic web site authoring system
BUILD_DEPENDS= p5-Class-Container>=0.7:${PORTSDIR}/devel/p5-Class-Container \
p5-HTML-Parser>0:${PORTSDIR}/www/p5-HTML-Parser \
p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
p5-Exception-Class>=1.15:${PORTSDIR}/devel/p5-Exception-Class \
p5-Log-Any>=0.08:${PORTSDIR}/devel/p5-Log-Any \
p5-Cache-Cache>=1:${PORTSDIR}/devel/p5-Cache-Cache
TEST_DEPENDS= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep
PERL_MODBUILD= yes
MAN3= Bundle::HTML::Mason.3 \
HTML::Mason.3 \
HTML::Mason::Admin.3 \
HTML::Mason::ApacheHandler.3 \
HTML::Mason::CGIHandler.3 \
HTML::Mason::Cache::BaseCache.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::Plugin.3 \
HTML::Mason::Plugin::Context.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
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
.include <bsd.port.pre.mk>
.if defined(WITH_MOD_PERL)
USE_APACHE= 2.0+
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache2/Request.pm:${PORTSDIR}/www/p5-libapreq2
.endif
.include <bsd.port.post.mk>