aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-CPANPLUS/Makefile115
-rw-r--r--devel/p5-CPANPLUS/distinfo2
-rw-r--r--devel/p5-CPANPLUS/files/patch-lib::CPANPLUS::Config.pm-orig26
-rw-r--r--devel/p5-CPANPLUS/files/patch-lib::CPANPLUS::Configure::Setup.pm17
-rw-r--r--devel/p5-CPANPLUS/pkg-descr5
-rw-r--r--devel/p5-CPANPLUS/pkg-plist129
7 files changed, 295 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 4a637b0f263d..ce9ae16a6175 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -648,6 +648,7 @@
SUBDIR += p5-C-Scan
SUBDIR += p5-CPAN-DistnameInfo
SUBDIR += p5-CPAN-Mini
+ SUBDIR += p5-CPANPLUS
SUBDIR += p5-Cache
SUBDIR += p5-Cache-Cache
SUBDIR += p5-Cache-FastMmap
diff --git a/devel/p5-CPANPLUS/Makefile b/devel/p5-CPANPLUS/Makefile
new file mode 100644
index 000000000000..65157463a9b2
--- /dev/null
+++ b/devel/p5-CPANPLUS/Makefile
@@ -0,0 +1,115 @@
+# New ports collection makefile for: devel/p5-CPANPLUS
+# Date created: 2 February 2005
+# Whom: Alex Kapranoff <kappa@rambler-co.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= CPANPLUS
+PORTVERSION= 0.053
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/K/KA/KANE
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kappa@freebsd.org.ua
+COMMENT= Ameliorated interface to the CPAN
+
+PERL_CONFIGURE= yes
+CONFIGURE_ARGS= AUTOINSTALL=1
+INSTALL_TARGET= pure_install
+USE_REINPLACE= yes
+
+MAN1= cpanp.1 cpan2dist.1
+MAN3= CPANPLUS.3 \
+ CPANPLUS::Backend.3 \
+ CPANPLUS::Backend::RV.3 \
+ CPANPLUS::Config.3 \
+ CPANPLUS::Configure.3 \
+ CPANPLUS::Dist.3 \
+ CPANPLUS::Dist::Build.3 \
+ CPANPLUS::Dist::MM.3 \
+ CPANPLUS::Dist::Sample.3 \
+ CPANPLUS::Error.3 \
+ CPANPLUS::FAQ.3 \
+ CPANPLUS::Hacking.3 \
+ CPANPLUS::Internals.3 \
+ CPANPLUS::Internals::Extract.3 \
+ CPANPLUS::Internals::Fetch.3 \
+ CPANPLUS::Internals::Search.3 \
+ CPANPLUS::Internals::Source.3 \
+ CPANPLUS::Internals::Utils.3 \
+ CPANPLUS::Module.3 \
+ CPANPLUS::Module::Author.3 \
+ CPANPLUS::Module::Author::Fake.3 \
+ CPANPLUS::Module::Checksums.3 \
+ CPANPLUS::Module::Fake.3 \
+ CPANPLUS::Shell.3 \
+ CPANPLUS::Shell::Classic.3 \
+ CPANPLUS::Shell::Default.3 \
+ CPANPLUS::inc.3 \
+ CPANPLUS::inc::Archive::Extract.3 \
+ CPANPLUS::inc::Archive::Tar.3 \
+ CPANPLUS::inc::Archive::Tar::File.3 \
+ CPANPLUS::inc::Config::Auto.3 \
+ CPANPLUS::inc::File::Fetch.3 \
+ CPANPLUS::inc::File::Spec.3 \
+ CPANPLUS::inc::File::Spec::Cygwin.3 \
+ CPANPLUS::inc::File::Spec::Epoc.3 \
+ CPANPLUS::inc::File::Spec::Functions.3 \
+ CPANPLUS::inc::File::Spec::Mac.3 \
+ CPANPLUS::inc::File::Spec::OS2.3 \
+ CPANPLUS::inc::File::Spec::Unix.3 \
+ CPANPLUS::inc::File::Spec::VMS.3 \
+ CPANPLUS::inc::File::Spec::Win32.3 \
+ CPANPLUS::inc::IO::String.3 \
+ CPANPLUS::inc::IO::Zlib.3 \
+ CPANPLUS::inc::IPC::Cmd.3 \
+ CPANPLUS::inc::IPC::Run.3 \
+ CPANPLUS::inc::IPC::Run::Debug.3 \
+ CPANPLUS::inc::IPC::Run::IO.3 \
+ CPANPLUS::inc::IPC::Run::Timer.3 \
+ CPANPLUS::inc::IPC::Run::Win32Helper.3 \
+ CPANPLUS::inc::IPC::Run::Win32IO.3 \
+ CPANPLUS::inc::IPC::Run::Win32Pump.3 \
+ CPANPLUS::inc::Locale::Maketext::Simple.3 \
+ CPANPLUS::inc::Log::Message.3 \
+ CPANPLUS::inc::Log::Message::Config.3 \
+ CPANPLUS::inc::Log::Message::Handlers.3 \
+ CPANPLUS::inc::Log::Message::Item.3 \
+ CPANPLUS::inc::Module::CoreList.3 \
+ CPANPLUS::inc::Module::Load.3 \
+ CPANPLUS::inc::Module::Load::Conditional.3 \
+ CPANPLUS::inc::Module::Pluggable.3 \
+ CPANPLUS::inc::Object::Accessor.3 \
+ CPANPLUS::inc::Params::Check.3 \
+ CPANPLUS::inc::Term::UI.3 \
+ CPANPLUS::inc::installers::Module::Build.3 \
+ CPANPLUS::inc::installers::Module::Build::Base.3 \
+ CPANPLUS::inc::installers::Module::Build::Compat.3 \
+ CPANPLUS::inc::installers::Module::Build::Cookbook.3 \
+ CPANPLUS::inc::installers::Module::Build::PPMMaker.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::Amiga.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::Default.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::EBCDIC.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::MPEiX.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::MacOS.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::RiscOS.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::Unix.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::VMS.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::VOS.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::Windows.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::aix.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::cygwin.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::darwin.3 \
+ CPANPLUS::inc::installers::Module::Build::Platform::os2.3
+
+post-patch:
+ @${FIND} ${WRKSRC} -name "*\.orig" -delete
+
+post-configure:
+ @${REINPLACE_CMD} -Ee \
+ "s|('base' => )'.*(/.cpanplus)',|\1\"\$$ENV{'HOME'}\2\",|" \
+ ${WRKSRC}/lib/CPANPLUS/Config.pm
+
+.include <bsd.port.mk>
diff --git a/devel/p5-CPANPLUS/distinfo b/devel/p5-CPANPLUS/distinfo
new file mode 100644
index 000000000000..d9825d06dfba
--- /dev/null
+++ b/devel/p5-CPANPLUS/distinfo
@@ -0,0 +1,2 @@
+MD5 (CPANPLUS-0.053.tar.gz) = a56a8085b5ba2692f91492e8664cb088
+SIZE (CPANPLUS-0.053.tar.gz) = 472631
diff --git a/devel/p5-CPANPLUS/files/patch-lib::CPANPLUS::Config.pm-orig b/devel/p5-CPANPLUS/files/patch-lib::CPANPLUS::Config.pm-orig
new file mode 100644
index 000000000000..1cf595371211
--- /dev/null
+++ b/devel/p5-CPANPLUS/files/patch-lib::CPANPLUS::Config.pm-orig
@@ -0,0 +1,26 @@
+--- lib/CPANPLUS/Config.pm-orig.orig Sat Feb 12 01:06:15 2005
++++ lib/CPANPLUS/Config.pm-orig Sat Feb 12 01:06:32 2005
+@@ -29,6 +29,11 @@
+ 'hosts' => [
+ {
+ 'scheme' => 'ftp',
++ 'path' => '/pub/languages/perl/CPAN/',
++ 'host' => 'ftp.funet.fi'
++ },
++ {
++ 'scheme' => 'ftp',
+ 'path' => '/pub/CPAN/',
+ 'host' => 'ftp.cpan.org'
+ },
+@@ -47,11 +52,6 @@
+ 'path' => '/pub/CPAN/',
+ 'host' => 'cpan.valueclick.com'
+ },
+- {
+- 'scheme' => 'ftp',
+- 'path' => '/pub/languages/perl/CPAN/',
+- 'host' => 'ftp.funet.fi'
+- }
+ ],
+ 'timeout' => 300,
+ 'verbose' => 0,
diff --git a/devel/p5-CPANPLUS/files/patch-lib::CPANPLUS::Configure::Setup.pm b/devel/p5-CPANPLUS/files/patch-lib::CPANPLUS::Configure::Setup.pm
new file mode 100644
index 000000000000..f8f0ef091291
--- /dev/null
+++ b/devel/p5-CPANPLUS/files/patch-lib::CPANPLUS::Configure::Setup.pm
@@ -0,0 +1,17 @@
+--- lib/CPANPLUS/Configure/Setup.pm.orig Sat Feb 12 01:04:03 2005
++++ lib/CPANPLUS/Configure/Setup.pm Sat Feb 12 01:06:04 2005
+@@ -212,11 +212,14 @@
+ $choices = [$default, $other];
+ }
+
++=leeym
+ my $loc = $term->get_reply(
+ prompt => loc("Location of the Configuration file"),
+ default => $default,
+ choices => $choices,
+ );
++=cut
++ my $loc = $default;
+
+
+ $self->custom_config(1) unless $loc eq $default;
diff --git a/devel/p5-CPANPLUS/pkg-descr b/devel/p5-CPANPLUS/pkg-descr
new file mode 100644
index 000000000000..4e161f869472
--- /dev/null
+++ b/devel/p5-CPANPLUS/pkg-descr
@@ -0,0 +1,5 @@
+The "CPANPLUS" library is an API to the "CPAN" mirrors and a
+collection of interactive shells, commandline programs, daemons, etc,
+that use this API.
+
+WWW: http://cpanplus.sourceforge.net/
diff --git a/devel/p5-CPANPLUS/pkg-plist b/devel/p5-CPANPLUS/pkg-plist
new file mode 100644
index 000000000000..9287a3fae55b
--- /dev/null
+++ b/devel/p5-CPANPLUS/pkg-plist
@@ -0,0 +1,129 @@
+bin/cpan2dist
+bin/cpanp
+%%SITE_PERL%%/CPANPLUS.pm
+%%SITE_PERL%%/CPANPLUS/Backend.pm
+%%SITE_PERL%%/CPANPLUS/Backend/RV.pm
+%%SITE_PERL%%/CPANPLUS/Config.pm
+%%SITE_PERL%%/CPANPLUS/Config.pm-orig
+%%SITE_PERL%%/CPANPLUS/Configure.pm
+%%SITE_PERL%%/CPANPLUS/Configure/Setup.pm
+%%SITE_PERL%%/CPANPLUS/Dist.pm
+%%SITE_PERL%%/CPANPLUS/Dist/Build.pm
+%%SITE_PERL%%/CPANPLUS/Dist/MM.pm
+%%SITE_PERL%%/CPANPLUS/Dist/Sample.pm
+%%SITE_PERL%%/CPANPLUS/Error.pm
+%%SITE_PERL%%/CPANPLUS/FAQ.pod
+%%SITE_PERL%%/CPANPLUS/Hacking.pod
+%%SITE_PERL%%/CPANPLUS/Internals.pm
+%%SITE_PERL%%/CPANPLUS/Internals/Constants.pm
+%%SITE_PERL%%/CPANPLUS/Internals/Constants/Report.pm
+%%SITE_PERL%%/CPANPLUS/Internals/Extract.pm
+%%SITE_PERL%%/CPANPLUS/Internals/Fetch.pm
+%%SITE_PERL%%/CPANPLUS/Internals/Report.pm
+%%SITE_PERL%%/CPANPLUS/Internals/Search.pm
+%%SITE_PERL%%/CPANPLUS/Internals/Source.pm
+%%SITE_PERL%%/CPANPLUS/Internals/Utils.pm
+%%SITE_PERL%%/CPANPLUS/Module.pm
+%%SITE_PERL%%/CPANPLUS/Module/Author.pm
+%%SITE_PERL%%/CPANPLUS/Module/Author/Fake.pm
+%%SITE_PERL%%/CPANPLUS/Module/Checksums.pm
+%%SITE_PERL%%/CPANPLUS/Module/Fake.pm
+%%SITE_PERL%%/CPANPLUS/Module/Signature.pm
+%%SITE_PERL%%/CPANPLUS/Shell.pm
+%%SITE_PERL%%/CPANPLUS/Shell/Classic.pm
+%%SITE_PERL%%/CPANPLUS/Shell/Default.pm
+%%SITE_PERL%%/CPANPLUS/inc.pm
+%%SITE_PERL%%/CPANPLUS/inc/.inc
+%%SITE_PERL%%/CPANPLUS/inc/Archive/Extract.pm
+%%SITE_PERL%%/CPANPLUS/inc/Archive/Tar.pm
+%%SITE_PERL%%/CPANPLUS/inc/Archive/Tar/Constant.pm
+%%SITE_PERL%%/CPANPLUS/inc/Archive/Tar/File.pm
+%%SITE_PERL%%/CPANPLUS/inc/Config/Auto.pm
+%%SITE_PERL%%/CPANPLUS/inc/File/Fetch.pm
+%%SITE_PERL%%/CPANPLUS/inc/File/Fetch/Item.pm
+%%SITE_PERL%%/CPANPLUS/inc/File/Spec.pm
+%%SITE_PERL%%/CPANPLUS/inc/File/Spec/Cygwin.pm
+%%SITE_PERL%%/CPANPLUS/inc/File/Spec/Epoc.pm
+%%SITE_PERL%%/CPANPLUS/inc/File/Spec/Functions.pm
+%%SITE_PERL%%/CPANPLUS/inc/File/Spec/Mac.pm
+%%SITE_PERL%%/CPANPLUS/inc/File/Spec/OS2.pm
+%%SITE_PERL%%/CPANPLUS/inc/File/Spec/Unix.pm
+%%SITE_PERL%%/CPANPLUS/inc/File/Spec/VMS.pm
+%%SITE_PERL%%/CPANPLUS/inc/File/Spec/Win32.pm
+%%SITE_PERL%%/CPANPLUS/inc/IO/String.pm
+%%SITE_PERL%%/CPANPLUS/inc/IO/Zlib.pm
+%%SITE_PERL%%/CPANPLUS/inc/IPC/Cmd.pm
+%%SITE_PERL%%/CPANPLUS/inc/IPC/Run.pm
+%%SITE_PERL%%/CPANPLUS/inc/IPC/Run/Debug.pm
+%%SITE_PERL%%/CPANPLUS/inc/IPC/Run/IO.pm
+%%SITE_PERL%%/CPANPLUS/inc/IPC/Run/Timer.pm
+%%SITE_PERL%%/CPANPLUS/inc/IPC/Run/Win32Helper.pm
+%%SITE_PERL%%/CPANPLUS/inc/IPC/Run/Win32IO.pm
+%%SITE_PERL%%/CPANPLUS/inc/IPC/Run/Win32Pump.pm
+%%SITE_PERL%%/CPANPLUS/inc/Locale/Maketext/Simple.pm
+%%SITE_PERL%%/CPANPLUS/inc/Log/Message.pm
+%%SITE_PERL%%/CPANPLUS/inc/Log/Message/Config.pm
+%%SITE_PERL%%/CPANPLUS/inc/Log/Message/Handlers.pm
+%%SITE_PERL%%/CPANPLUS/inc/Log/Message/Item.pm
+%%SITE_PERL%%/CPANPLUS/inc/Module/CoreList.pm
+%%SITE_PERL%%/CPANPLUS/inc/Module/Load.pm
+%%SITE_PERL%%/CPANPLUS/inc/Module/Load/Conditional.pm
+%%SITE_PERL%%/CPANPLUS/inc/Module/Pluggable.pm
+%%SITE_PERL%%/CPANPLUS/inc/Object/Accessor.pm
+%%SITE_PERL%%/CPANPLUS/inc/Params/Check.pm
+%%SITE_PERL%%/CPANPLUS/inc/Term/UI.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/.installers
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Base.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Compat.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Cookbook.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/PPMMaker.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/Amiga.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/Default.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/EBCDIC.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/MPEiX.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/MacOS.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/RiscOS.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/Unix.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/VMS.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/VOS.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/Windows.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/aix.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/cygwin.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/darwin.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform/os2.pm
+%%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/PodParser.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/CPANPLUS/.packlist
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build/Platform
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/installers/Module/Build
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/installers/Module
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/installers
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/Term
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/Params
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/Object
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/Module/Load
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/Module
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/Log/Message
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/Log
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/Locale/Maketext
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/Locale
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/IPC/Run
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/IPC
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/IO
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/File/Spec
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/File/Fetch
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/File
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/Config
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/Archive/Tar
+@dirrm %%SITE_PERL%%/CPANPLUS/inc/Archive
+@dirrm %%SITE_PERL%%/CPANPLUS/inc
+@dirrm %%SITE_PERL%%/CPANPLUS/Module/Author
+@dirrm %%SITE_PERL%%/CPANPLUS/Module
+@dirrm %%SITE_PERL%%/CPANPLUS/Internals/Constants
+@dirrm %%SITE_PERL%%/CPANPLUS/Internals
+@dirrm %%SITE_PERL%%/CPANPLUS/Configure
+@dirrm %%SITE_PERL%%/CPANPLUS/Backend
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CPANPLUS
+@unexec rmdir %D/%%SITE_PERL%%/CPANPLUS/Dist 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/CPANPLUS/Shell 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/CPANPLUS 2>/dev/null || true