aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-SQLite-Work/Makefile
blob: 8024a9b1615c71bcb0164038a1832366479bfadf (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
# New ports collection makefile for:    p5-SQLite-Work
# Date created:             2005-10-27
# Whom:                 Chris Larsen <darth@vader.dk>
#
# $FreeBSD$
#

PORTNAME=   SQLite-Work
PORTVERSION=    0.10.02
CATEGORIES= databases www perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:RUBYKAT
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}

MAINTAINER= perl@FreeBSD.org
COMMENT=    Report on and update an SQLite database

RUN_DEPENDS=    p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \
        p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
        p5-Text-NeatTemplate>=0:${PORTSDIR}/textproc/p5-Text-NeatTemplate \
        p5-Getopt-ArgvFile>=1.10:${PORTSDIR}/devel/p5-Getopt-ArgvFile
BUILD_DEPENDS:= ${RUN_DEPENDS}

PERL_MODBUILD=  yes

MAN3=       SQLite::Work::Mail.3 \
        SQLite::Work.3 \
        SQLite::Work::CGI.3

MAN1=       sqlw_mail.1 \
        sqlw_import.1 \
        sqlreport.1

post-patch:
        ${CHMOD} u+w ${WRKSRC}/Makefile.PL

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500807
RUN_DEPENDS+=   p5-CGI.pm>=3.10:${PORTSDIR}/www/p5-CGI.pm
.endif

.include <bsd.port.post.mk>