aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2011-11-22 03:46:13 +0800
committerlth <lth@FreeBSD.org>2011-11-22 03:46:13 +0800
commit283f40aed4a2b1ebdc471e296af2b189ad0aa9b1 (patch)
tree3d2f816e05bfbac40babb5a7c1474daa934e0c00 /devel
parent01b180f382cc59b121d3605c8c0331ba3f0e3aea (diff)
downloadfreebsd-ports-graphics-283f40aed4a2b1ebdc471e296af2b189ad0aa9b1.tar.gz
freebsd-ports-graphics-283f40aed4a2b1ebdc471e296af2b189ad0aa9b1.tar.zst
freebsd-ports-graphics-283f40aed4a2b1ebdc471e296af2b189ad0aa9b1.zip
Update to 0.99.7001 (distversion 0.997001)
Feature safe: yes
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-IO-Prompt/Makefile17
-rw-r--r--devel/p5-IO-Prompt/distinfo4
-rw-r--r--devel/p5-IO-Prompt/files/patch-Prompt.pm10
3 files changed, 10 insertions, 21 deletions
diff --git a/devel/p5-IO-Prompt/Makefile b/devel/p5-IO-Prompt/Makefile
index 4cc1fa10065..1dfcb3dc42b 100644
--- a/devel/p5-IO-Prompt/Makefile
+++ b/devel/p5-IO-Prompt/Makefile
@@ -6,26 +6,25 @@
#
PORTNAME= IO-Prompt
-PORTVERSION= 0.99.4
-DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTVERSION= 0.99.7001
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/(\..+)\./\1/}
MAINTAINER= lth@FreeBSD.org
COMMENT= Interactively prompt for user input
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \
- ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
- ${SITE_PERL}/${PERL_ARCH}/Want.pm:${PORTSDIR}/devel/p5-Want
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= p5-version>0:${PORTSDIR}/devel/p5-version \
+ p5-Term-ReadKey>0:${PORTSDIR}/devel/p5-Term-ReadKey \
+ p5-Want>0:${PORTSDIR}/devel/p5-Want
+RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= IO::Prompt.3
-post-patch:
- @${FIND} ${WRKSRC} -name "*.orig" -delete
+regression-test: build
+ cd ${WRKSRC}/ && ${MAKE} test
.include <bsd.port.mk>
diff --git a/devel/p5-IO-Prompt/distinfo b/devel/p5-IO-Prompt/distinfo
index 67e1db8596d..369021ea31d 100644
--- a/devel/p5-IO-Prompt/distinfo
+++ b/devel/p5-IO-Prompt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (IO-Prompt-v0.99.4.tar.gz) = 78973e8ffd49ba8906b6d7915e42008683b5dd41ae30987d8b3ceb3b59b52ec9
-SIZE (IO-Prompt-v0.99.4.tar.gz) = 14164
+SHA256 (IO-Prompt-0.997001.tar.gz) = df11b63240b98de3987fb3989722dc99fd1bf33af7a0325801597d517c5b05d5
+SIZE (IO-Prompt-0.997001.tar.gz) = 14938
diff --git a/devel/p5-IO-Prompt/files/patch-Prompt.pm b/devel/p5-IO-Prompt/files/patch-Prompt.pm
deleted file mode 100644
index 93d2c26380c..00000000000
--- a/devel/p5-IO-Prompt/files/patch-Prompt.pm
+++ /dev/null
@@ -1,10 +0,0 @@
---- lib/IO/Prompt.pm
-+++ lib/IO/Prompt.pm
-@@ -88,6 +88,7 @@
- @data = map { $flags_alias{$_} || $_ } @data;
- for (my $i = 0 ; $i < @data ; $i++) {
- local *_ = \($data[$i]);
-+ next unless defined $_;
- if (ref eq 'HASH') {
- splice @data, $i + 1, 0, %$_;
- }