aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Apache-DB/Makefile
blob: 70c6bd41d1a1cebefef74c49e5c4464a44b9f9fd (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
# New ports collection makefile for:    Apache-DB
# Date created:    11 August 2004
# Whom:        Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   Apache-DB
PORTVERSION=    0.13
CATEGORIES= www perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Apache
PKGNAMEPREFIX=  p5-

MAINTAINER= skv@FreeBSD.org
COMMENT=    Debugging and profiling tools for mod_perl

PERL_CONFIGURE= yes
USE_APACHE= yes

MAN3=       Apache::DB.3 Apache::DProf.3 Apache::SmallProf.3

.include <bsd.port.pre.mk>

.if defined(WITH_MODPERL2)
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
.else
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
.endif

.if ${PERL_LEVEL} < 500600
RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/Devel/DProf.pm:${PORTSDIR}/devel/p5-Devel-DProf
.else
MAN3+=      Apache::perl5db.3
.endif

.include <bsd.port.post.mk>