aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-Class-DBI-Untaint/Makefile
blob: cbac679ddf63616fbe53f78e8f1e88d0a1dcb07c (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
# New ports collection makefile for:    p5-Class-DBI-Untaint
# Date created:             Apr 26 2004
# Whom:                 Lars Thegler <lars@thegler.dk>
#
# $FreeBSD$

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

MAINTAINER= lth@FreeBSD.org
COMMENT=    Class::DBI constraints using CGI::Untaint

BUILD_DEPENDS=  ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \
        ${SITE_PERL}/CGI/Untaint.pm:${PORTSDIR}/www/p5-CGI-Untaint
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Class::DBI::Untaint.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
post-configure:
    ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
.endif

.include <bsd.port.post.mk>