aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-POE-Component-EasyDBI/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-11-19 11:52:54 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-11-19 11:52:54 +0000
commit9041faf0ead2a0ccb9aa65d5386bf8e9947ed9b4 (patch)
tree7fed4df74e947b256635ce11270f01554485bb21 /devel/p5-POE-Component-EasyDBI/Makefile
parent713a93907207996b6fb9b2b071026cd7946e7a64 (diff)
downloadports-9041faf0ead2a0ccb9aa65d5386bf8e9947ed9b4.tar.gz
ports-9041faf0ead2a0ccb9aa65d5386bf8e9947ed9b4.zip
Notes
Diffstat (limited to 'devel/p5-POE-Component-EasyDBI/Makefile')
-rw-r--r--devel/p5-POE-Component-EasyDBI/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/p5-POE-Component-EasyDBI/Makefile b/devel/p5-POE-Component-EasyDBI/Makefile
index a5f3298db08d..17ccc2a3143e 100644
--- a/devel/p5-POE-Component-EasyDBI/Makefile
+++ b/devel/p5-POE-Component-EasyDBI/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= POE-Component-EasyDBI
-PORTVERSION= 0.03
+PORTVERSION= 0.07
CATEGORIES= devel databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= POE
@@ -30,9 +30,10 @@ MAN3= POE::Component::EasyDBI.3 \
.if ${PERL_LEVEL} < 500600
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
post-patch:
- @${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/;' \
+ @${PERL} -pi -e 's/^our\s+(.VERSION).+?Revision:\s+(\S+).+$$/use vars qw($$1);\n$$1 = q($$2);/o;' \
-e '$$_ = "" if /(no|use) warnings/;' \
- ${WRKSRC}/EasyDBI.pm ${WRKSRC}/EasyDBI/SubProcess.pm
+ ${WRKSRC}/lib/POE/Component/EasyDBI.pm \
+ ${WRKSRC}/lib/POE/Component/EasyDBI/SubProcess.pm
.else
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
.endif