freebsd-ports/www/p5-MasonX-WebApp/Makefile
Olli Hauer 346fdfaa76 mod_perl2 was updated, this changes are needet to prevent
dependency loops

- fix mod_perl/mod_perl2 dependency
- p5-Apache-Reload is now included in mod_perl2
- make usage of CPAN author macro
- bump portrevision

commit with hat apache@
2011-05-22 22:23:16 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: p5-MasonX-WebApp
# Date created: 2005.01.08
# Whom: Travis Campbell <hcoyote@ghostar.org>
#
# $FreeBSD$
#
PORTNAME= MasonX-WebApp
PORTVERSION= 0.12
PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Works with HTML::Mason to do processing before Mason is invoked
RUN_DEPENDS= ${SITE_PERL}/HTML/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \
${SITE_PERL}/Apache/Session/Wrapper.pm:${PORTSDIR}/www/p5-Apache-Session-Wrapper \
${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
${SITE_PERL}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
${SITE_PERL}/Class/Factory/Util.pm:${PORTSDIR}/devel/p5-Class-Factory-Util
BUILD_DEPENDS:= ${RUN_DEPENDS}
USE_APACHE_RUN= 13+
.include <bsd.port.pre.mk>
.if defined(WITH_MODPERL2) || ${APACHE_VERSION} > 13
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
.else
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
MAKE_JOBS_SAFE= yes
.endif
PERL_MODBUILD= yes
MAN3= MasonX::WebApp.3
.include <bsd.port.post.mk>