aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBIx-SearchBuilder/Makefile
blob: 67d1e3aa52b32b2ef29bac316ea9a355dbade700 (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
39
40
41
42
43
44
45
# New ports collection makefile for:    databases/p5-DBIx-SearchBuilder
# Date created:             29 May 2001
# Whom:                 Anton Berezin <tobez@tobez.org>
#
# $FreeBSD$
#

PORTNAME=   DBIx-SearchBuilder
PORTVERSION=    1.15
CATEGORIES= databases perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBIx
PKGNAMEPREFIX=  p5-

MAINTAINER= demon@FreeBSD.org
COMMENT=    Perl extension for easy SQL SELECT Statement generation

BUILD_DEPENDS=  ${SITE_PERL}/Class/ReturnValue.pm:${PORTSDIR}/devel/p5-Class-ReturnValue \
        ${SITE_PERL}/Cache/Simple/TimedExpiry.pm:${PORTSDIR}/devel/p5-Cache-Simple-TimedExpiry \
        ${SITE_PERL}/${PERL_ARCH}/Want.pm:${PORTSDIR}/devel/p5-Want
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=   DBIx::SearchBuilder.3 DBIx::SearchBuilder::Handle.3 \
    DBIx::SearchBuilder::Handle::Informix.3 \
    DBIx::SearchBuilder::Handle::Oracle.3 \
    DBIx::SearchBuilder::Handle::SQLite.3 \
    DBIx::SearchBuilder::Handle::Sybase.3 \
    DBIx::SearchBuilder::Handle::mysql.3 \
    DBIx::SearchBuilder::Handle::mysqlPP.3 \
    DBIx::SearchBuilder::Record.3 \
    DBIx::SearchBuilder::Union.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
.else
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
.endif

.include <bsd.port.post.mk>