5361678373
Approved by: ahze (mentor)
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: p5-DBD-Google
|
|
# Date created: Apr 7, 2005
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= DBD-Google
|
|
PORTVERSION= 0.11
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= DBD
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= shaun@FreeBSD.org
|
|
COMMENT= Treat Google as a datasource for DBI
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/Net/Google.pm:${PORTSDIR}/net/p5-Net-Google \
|
|
${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
|
|
${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \
|
|
${SITE_PERL}/SQL/Parser.pm:${PORTSDIR}/databases/p5-SQL-Statement
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= DBD::Google.3 SQL::Dialects::Google.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>
|