2001-11-30 11:40:02 +01:00
|
|
|
# New ports collection makefile for: p5-DBD-ODBC
|
|
|
|
# Date created: Nov 30 2001
|
|
|
|
# Whom: Clive Lin <clive@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= DBD-ODBC
|
2004-02-24 14:51:50 +01:00
|
|
|
PORTVERSION= 1.07
|
2001-11-30 11:40:02 +01:00
|
|
|
CATEGORIES= databases perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= DBD
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2003-08-16 11:13:44 +02:00
|
|
|
MAINTAINER= mat@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= DBD module interfacing the ODBC databases
|
2001-11-30 11:40:02 +01:00
|
|
|
|
|
|
|
LIB_DEPENDS= iodbc.3:${PORTSDIR}/databases/libiodbc
|
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= -o ${LOCALBASE}
|
2003-11-17 13:03:17 +01:00
|
|
|
USE_REINPLACE= yes
|
2003-05-13 03:47:57 +02:00
|
|
|
|
2001-11-30 11:40:02 +01:00
|
|
|
MAN3= DBD::ODBC.3
|
|
|
|
|
2003-05-13 03:47:57 +02:00
|
|
|
post-patch:
|
2003-06-26 15:23:29 +02:00
|
|
|
@${REINPLACE_CMD} -e 's/[[:<:]]our[[:>:]]/my/g' \
|
|
|
|
-e 's/^ @$$(NOOP)/ @$$(NOOP)/g' ${WRKSRC}/Makefile.PL
|
2003-05-13 03:47:57 +02:00
|
|
|
|
2003-09-16 07:43:52 +02:00
|
|
|
.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>
|