aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-SQL-Statement/Makefile
blob: 8ef48add1533e6226e0077736f35b96fda99ddd1 (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
# New ports collection makefile for:    p5-SQL-Statement
# Date created:             August 8th, 1999
# Whom:                     wolman@cs.washington.edu
#
# $FreeBSD$
#

PORTNAME=   SQL-Statement
PORTVERSION=    1.09
CATEGORIES= databases perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= SQL
PKGNAMEPREFIX=  p5-

MAINTAINER= lars@thegler.dk
COMMENT=    A perl5 module for SQL parsing and processing

PERL_CONFIGURE= yes

MAN3=       SQL::Dialects::ANSI.3 SQL::Dialects::AnyData.3 \
        SQL::Dialects::CSV.3 SQL::Eval.3 SQL::Parser.3 SQL::Statement.3

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500503

# make PREFIX-clean under perl 5.005_03
# remove DOS line-endings that confuses poor old pod2man
post-configure:
    ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
    ${PERL} -pi -e 's,\r\n,\n,' `${FIND} ${WRKSRC} -type f`

.endif
.include <bsd.port.post.mk>