aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-Class-DBI/Makefile
blob: 9da3ee9b6a27c7bf0972759c3462ffbe53760a8d (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
# New ports collection makefile for:    Class-DBI
# Date created:     15 Dec 2001
# Whom:         Sergey Skvortsov <skv@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Class-DBI
PORTVERSION=    0.92
CATEGORIES= databases perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX=  p5-

MAINTAINER= skv@FreeBSD.org
COMMENT=    Simple Database Abstraction

BUILD_DEPENDS=  ${SITE_PERL}/Carp/Assert.pm:${PORTSDIR}/devel/p5-Carp-Assert \
        ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \
        ${SITE_PERL}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
        ${SITE_PERL}/DBD/CSV.pm:${PORTSDIR}/databases/p5-DBD-CSV \
        ${SITE_PERL}/Ima/DBI.pm:${PORTSDIR}/databases/p5-Ima-DBI \
        ${SITE_PERL}/protected.pm:${PORTSDIR}/devel/p5-Class-Fields \
        ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
        ${SITE_PERL}/Class/Trigger.pm:${PORTSDIR}/devel/p5-Class-Trigger
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MANPREFIX=  ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=       Class::DBI.3 Class::DBI::ColumnGrouper.3 \
        Class::DBI::Iterator.3 Class::DBI::Query.3

post-configure:
# dirty hack to deceive irritable pod2man
    @${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile

.include <bsd.port.mk>