aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-Tie-DBI/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-06-02 05:27:33 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-06-02 05:27:33 +0000
commit14dc2a08d5a14061b2f78fc8d3b4ef0a9a4cc980 (patch)
treefba88c65e8e5ed74c6d340bed6d94440bc0fd828 /databases/p5-Tie-DBI/Makefile
parentf3c3b9ed06c79fb9284e754c2e3cc5e6d5a29a07 (diff)
downloadports-14dc2a08d5a14061b2f78fc8d3b4ef0a9a4cc980.tar.gz
ports-14dc2a08d5a14061b2f78fc8d3b4ef0a9a4cc980.zip
Notes
Diffstat (limited to 'databases/p5-Tie-DBI/Makefile')
-rw-r--r--databases/p5-Tie-DBI/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/databases/p5-Tie-DBI/Makefile b/databases/p5-Tie-DBI/Makefile
index 93bc7c8668ae..219def829a2c 100644
--- a/databases/p5-Tie-DBI/Makefile
+++ b/databases/p5-Tie-DBI/Makefile
@@ -6,17 +6,27 @@
#
PORTNAME= Tie-DBI
-PORTVERSION= 1.01
+PORTVERSION= 1.02
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Tie
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module implementing Tie hash to a DBI handle
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
PERL_CONFIGURE= yes
MAN3= Tie::RDBM.3 Tie::DBI.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
+.else
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+.endif
+
+.include <bsd.port.post.mk>