1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Update to 1.61

PR:		134002
Submitted by:	Wen heping <wenheping@gmail.com>
Approved by:	maintainer
This commit is contained in:
Martin Wilke 2009-05-01 11:07:48 +00:00
parent 7731ac4b26
commit d81a3fc82b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233038
4 changed files with 8 additions and 34 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= Devel-CheckOS
PORTVERSION= 1.50
PORTVERSION= 1.61
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -14,7 +14,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= cm@therek.net
COMMENT= Perl5 module to check currently running OS
BUILD_DEPENDS= ${SITE_PERL}/File/Find/Rule.pm:${PORTSDIR}/devel/p5-File-Find-Rule
BUILD_DEPENDS= ${SITE_PERL}/File/Find/Rule.pm:${PORTSDIR}/devel/p5-File-Find-Rule \
p5-Data-Compare>=1.21:${PORTSDIR}/devel/p5-Data-Compare
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
@ -47,6 +48,7 @@ MAN3= Devel::AssertOS.3 \
Devel::AssertOS::MacOSclassic.3 \
Devel::AssertOS::MachTen.3 \
Devel::AssertOS::MicrosoftWindows.3 \
Devel::AssertOS::MidnightBSD.3 \
Devel::AssertOS::MirOSBSD.3 \
Devel::AssertOS::NeXT.3 \
Devel::AssertOS::NetBSD.3 \

View File

@ -1,3 +1,3 @@
MD5 (Devel-CheckOS-1.50.tar.gz) = 78f4fb75af0fef9ae7b974285e03f8a3
SHA256 (Devel-CheckOS-1.50.tar.gz) = 0c4a461f21e895ec4373325a10ea5df1df734ad7ba4c261f5a3edb47e10dac77
SIZE (Devel-CheckOS-1.50.tar.gz) = 25326
MD5 (Devel-CheckOS-1.61.tar.gz) = 6ad9266254b370bfe4cccb38675592ef
SHA256 (Devel-CheckOS-1.61.tar.gz) = bbd4053dce05ddf17dd555ecbf00b2ae9397be98c5fda676d397766b19ea507f
SIZE (Devel-CheckOS-1.61.tar.gz) = 29274

View File

@ -1,29 +0,0 @@
--- Makefile.PL.orig 2009-03-06 18:13:08.180626799 +0000
+++ Makefile.PL 2009-03-06 18:31:21.460741171 +0000
@@ -17,10 +17,9 @@
my @OSes = ();
my @notOSes = ();
-print "I will now ask you some questions to make sure I've detected your\n";
-print "system correctly. Most platforms will be detected several times.\n";
-print "This is deliberate. To see an explanation of some of the more\n";
-print "obscure options, hit the question mark key.\n\n";
+print "To make this process automatic answer 'Yes' will be assumed to\n";
+print "all the following questions. If this is not correct break the\n";
+print "process and contact port maintainer.\n\n";
findOSes(File::Spec->catdir(qw(lib Devel AssertOS)));
@@ -44,10 +43,8 @@
}
next if($@);
my $hasexpn = $classname->can('expn') ? '/?' : '';
- ASK: my $answer = prompt(
- "Are you using $prompt_modname? [Y/n$hasexpn]",
- "Y"
- );
+ ASK: my $answer = 'yes';
+ print "Are you using $prompt_modname? [Y/n$hasexpn] Y\n";
if($answer =~ /^y/i) {
push @OSes, $prompt_modname;
} elsif($answer =~ /^\?/) {

View File

@ -26,6 +26,7 @@ bin/use-devel-assertos
%%SITE_PERL%%/Devel/AssertOS/MacOSclassic.pm
%%SITE_PERL%%/Devel/AssertOS/MachTen.pm
%%SITE_PERL%%/Devel/AssertOS/MicrosoftWindows.pm
%%SITE_PERL%%/Devel/AssertOS/MidnightBSD.pm
%%SITE_PERL%%/Devel/AssertOS/MirOSBSD.pm
%%SITE_PERL%%/Devel/AssertOS/NeXT.pm
%%SITE_PERL%%/Devel/AssertOS/NetBSD.pm