aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBD-SQLite2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-DBD-SQLite2/Makefile')
-rw-r--r--databases/p5-DBD-SQLite2/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/databases/p5-DBD-SQLite2/Makefile b/databases/p5-DBD-SQLite2/Makefile
index 24afada953df..4c81957a92ef 100644
--- a/databases/p5-DBD-SQLite2/Makefile
+++ b/databases/p5-DBD-SQLite2/Makefile
@@ -7,7 +7,6 @@
PORTNAME= DBD-SQLite2
PORTVERSION= 0.33
-PORTREVISION= 0
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
@@ -16,21 +15,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Provides access to SQLite2 databases through the DBI
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+
PERL_CONFIGURE= yes
MAN3= DBD::SQLite2.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
-
post-extract:
${RM} -f ${WRKSRC}/getsqlite.pl
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>