From 57529925554eea1f70fc30b61f7c0d333af45c31 Mon Sep 17 00:00:00 2001
From: jasper
Date: Thu, 16 Dec 2010 12:05:04 +0000
Subject: [PATCH] - update bioperl to 1.6.1
---
biology/bioperl/Makefile | 40 +-
biology/bioperl/distinfo | 10 +-
.../patches/patch-Bio_Graphics_FeatureFile_pm | 12 -
biology/bioperl/patches/patch-INSTALL | 12 -
biology/bioperl/patches/patch-Makefile_PL | 12 -
.../patch-doc_howto_html_Graphics-HOWTO_html | 21 -
.../patch-doc_howto_sgml_Graphics-HOWTO_xml | 14 -
.../patch-doc_howto_txt_Graphics-HOWTO_txt | 13 -
biology/bioperl/patches/patch-t_BioGraphics_t | 18 -
biology/bioperl/pkg/DESCR | 3 +-
biology/bioperl/pkg/PLIST | 1289 +++++++++++++++--
11 files changed, 1180 insertions(+), 264 deletions(-)
delete mode 100644 biology/bioperl/patches/patch-Bio_Graphics_FeatureFile_pm
delete mode 100644 biology/bioperl/patches/patch-INSTALL
delete mode 100644 biology/bioperl/patches/patch-Makefile_PL
delete mode 100644 biology/bioperl/patches/patch-doc_howto_html_Graphics-HOWTO_html
delete mode 100644 biology/bioperl/patches/patch-doc_howto_sgml_Graphics-HOWTO_xml
delete mode 100644 biology/bioperl/patches/patch-doc_howto_txt_Graphics-HOWTO_txt
delete mode 100644 biology/bioperl/patches/patch-t_BioGraphics_t
diff --git a/biology/bioperl/Makefile b/biology/bioperl/Makefile
index a3f8464f723..026fa843b26 100644
--- a/biology/bioperl/Makefile
+++ b/biology/bioperl/Makefile
@@ -1,10 +1,9 @@
-# $OpenBSD: Makefile,v 1.8 2010/12/13 10:26:00 jasper Exp $
+# $OpenBSD: Makefile,v 1.9 2010/12/16 12:05:04 jasper Exp $
COMMENT= perl tools for bioinformatics
-DISTNAME= bioperl-1.5.0
-PKGNAME= ${DISTNAME} # No p5-prefix here.
-REVISION= 1
+DISTNAME= BioPerl-1.6.1
+PKGNAME= ${DISTNAME:L} # No p5-prefix here.
CATEGORIES= biology
HOMEPAGE= http://bioperl.org/
@@ -21,38 +20,47 @@ MODULES= cpan
MODCPAN_EXAMPLES= Yes
MODCPAN_EXAMPLES_DIR= ${PREFIX}/share/examples/bioperl/
+CONFIGURE_STYLE=modbuild
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= biology/AcePerl \
databases/p5-DBD-mysql \
+ converters/p5-Convert-Binary-C \
+ devel/p5-Array-Compare \
devel/p5-Class-AutoClass \
devel/p5-Clone \
+ devel/p5-Data-Stag \
devel/p5-Graph \
devel/p5-IO-String \
devel/p5-IO-stringy \
+ devel/p5-Set-Scalar \
+ devel/p5-Test-Exception \
+ devel/p5-Tree-DAG_Node \
graphics/p5-GD \
graphics/p5-GD-SVG \
- graphics/p5-SVG \
+ graphics/p5-SVG-Graph \
+ math/p5-GraphViz \
+ textproc/p5-XML-DOM \
textproc/p5-Libxml \
textproc/p5-XML-Parser \
- textproc/p5-XML-SAX \
+ textproc/p5-XML-SAX-Writer \
+ textproc/p5-XML-Simple \
textproc/p5-XML-Twig \
textproc/p5-XML-Writer \
www/p5-HTML-Parser \
www/p5-SOAP-Lite \
+ www/p5-URI \
www/p5-libwww
REGRESS_DEPENDS=${RUN_DEPENDS}
-# stuff not yet integrated:
-# SVG::Graph, Generate optional SVG output,
-# (The Bio::TreeIO::svggraph in Bioperl needs it for creating SVG images)
-# XML::SAX::Writer, New style SAX parser,
-# (The Bio::SeqIO::tigrxml,Bio::SeqIO::bsml_sax in Bioperl needs it for Writers)
-# srsperl, Sequence Retrieval System (SRS) perl
-# (needed for API/alternative way of retrieving sequences/Bio::LiveSeq::IO::SRS.pm)
+# Optional (not ported) dependencies:
+# Algorithm-Munkres
+# Postscript-TextBlock
+# Spreadsheet-ParseExcel
+# Tie-Cacher
+# XML-Dom-XPath
CONFIGURE_ENV+= PERL_MM_USE_DEFAULT=Yes
-pre-configure:
- @rm -f ${WRKSRC}/Bio/Graphics/FeatureFile.pm.orig
-
.include
diff --git a/biology/bioperl/distinfo b/biology/bioperl/distinfo
index fad1a9a0994..b0fb2026a89 100644
--- a/biology/bioperl/distinfo
+++ b/biology/bioperl/distinfo
@@ -1,5 +1,5 @@
-MD5 (bioperl-1.5.0.tar.gz) = FyRy8Gdd6aWDQy4hybG1/A==
-RMD160 (bioperl-1.5.0.tar.gz) = ErMn6/EJyE5e9RmQ7YRJuuS2FB4=
-SHA1 (bioperl-1.5.0.tar.gz) = tVzmHV2kS8AwcwebwaWjgyScyN8=
-SHA256 (bioperl-1.5.0.tar.gz) = 835t4S38x7FI0Z2mo/VgkWzufFzNSYN4rlVHMyX+vOo=
-SIZE (bioperl-1.5.0.tar.gz) = 6000924
+MD5 (BioPerl-1.6.1.tar.gz) = qojxIsEHFP0nvupLcLZZrQ==
+RMD160 (BioPerl-1.6.1.tar.gz) = Rq6CqFSllUhVD/vltpHb7KwbXvU=
+SHA1 (BioPerl-1.6.1.tar.gz) = vwjsr6roLCDg4ywTQAUGTpnKQmY=
+SHA256 (BioPerl-1.6.1.tar.gz) = rDbazitN2XNWewLM4pFYvqwF/WcocsqHaeArvd3claM=
+SIZE (BioPerl-1.6.1.tar.gz) = 10462526
diff --git a/biology/bioperl/patches/patch-Bio_Graphics_FeatureFile_pm b/biology/bioperl/patches/patch-Bio_Graphics_FeatureFile_pm
deleted file mode 100644
index 48940aaf354..00000000000
--- a/biology/bioperl/patches/patch-Bio_Graphics_FeatureFile_pm
+++ /dev/null
@@ -1,12 +0,0 @@
-$OpenBSD: patch-Bio_Graphics_FeatureFile_pm,v 1.1.1.1 2005/03/03 01:42:12 espie Exp $
---- Bio/Graphics/FeatureFile.pm.orig Thu Mar 3 01:16:54 2005
-+++ Bio/Graphics/FeatureFile.pm Thu Mar 3 01:17:17 2005
-@@ -120,7 +120,7 @@ use Bio::DB::GFF::Util::Rearrange;
- use Carp;
- use Bio::DB::GFF;
- use IO::File;
--use Text::Shellwords;
-+use Text::ParseWords;
-
- # default colors for unconfigured features
- my @COLORS = qw(cyan blue red yellow green wheat turquoise orange);
diff --git a/biology/bioperl/patches/patch-INSTALL b/biology/bioperl/patches/patch-INSTALL
deleted file mode 100644
index 5c71b8dc783..00000000000
--- a/biology/bioperl/patches/patch-INSTALL
+++ /dev/null
@@ -1,12 +0,0 @@
-$OpenBSD: patch-INSTALL,v 1.1.1.1 2005/03/03 01:42:12 espie Exp $
---- INSTALL.orig Thu Mar 3 01:16:54 2005
-+++ INSTALL Thu Mar 3 01:17:40 2005
-@@ -485,7 +485,7 @@ o DEPENDENCIES AND Bundle::BioPerl
- Storable Persistent object storage & retrieval
- Bio::DB::FileCache
-
-- Text::Shellwords Text parser
-+ Text::ParseWords Text parser
- Bio::Graphics::FeatureFile
-
- XML::DOM XML parser
diff --git a/biology/bioperl/patches/patch-Makefile_PL b/biology/bioperl/patches/patch-Makefile_PL
deleted file mode 100644
index b9a20067c6d..00000000000
--- a/biology/bioperl/patches/patch-Makefile_PL
+++ /dev/null
@@ -1,12 +0,0 @@
-$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2005/03/03 01:42:12 espie Exp $
---- Makefile.PL.orig Thu Mar 3 01:16:54 2005
-+++ Makefile.PL Thu Mar 3 01:17:04 2005
-@@ -29,7 +29,7 @@
- 'HTML::Parser' => '0.0/HTML parsing/HTML parsing of GDB page/Bio::DB::GDB',
- 'DBD::mysql' => '0.0/Mysql driver/loading and querying of Mysql-based GFF feature databases/Bio::DB::GFF',
- 'GD' => '1.3/Graphical Drawing Toolkit/rendering Sequences and Features/Bio::Graphics',
-- 'Text::Shellwords' => '0.0/Execute shell commands/test scripts/Bio::Graphics',
-+ 'Text::ParseWords' => '0.0/Execute shell commands/test scripts/Bio::Graphics',
- 'SVG' => '2.26/Generate optional SVG output/Bio::Graphics/Bio::Graphics::Pictogram',
- 'SVG::Graph' => '0.01/Generate optional SVG output/creating SVG images/Bio::TreeIO::svggraph',
- 'GD::SVG' => '0.0/Generate optional SVG output/creating SVG images/Bio::Graphics::Panel',
diff --git a/biology/bioperl/patches/patch-doc_howto_html_Graphics-HOWTO_html b/biology/bioperl/patches/patch-doc_howto_html_Graphics-HOWTO_html
deleted file mode 100644
index fddc48b16b2..00000000000
--- a/biology/bioperl/patches/patch-doc_howto_html_Graphics-HOWTO_html
+++ /dev/null
@@ -1,21 +0,0 @@
-$OpenBSD: patch-doc_howto_html_Graphics-HOWTO_html,v 1.1.1.1 2005/03/03 01:42:12 espie Exp $
---- doc/howto/html/Graphics-HOWTO.html.orig Thu Mar 3 01:16:54 2005
-+++ doc/howto/html/Graphics-HOWTO.html Thu Mar 3 01:18:04 2005
-@@ -77,9 +77,7 @@ BioPerl DocBook
- around). If you use libgd 2.0.1 or higher, be sure it matches GD
- version 2.0.1 or higher.
-
-- You will also need to install the Text::Shellwords module, which is
-- available from CPAN.
--
- All the code examples and BLAST input files we'll use are available in
- the doc/howto/examples/graphics directory in the BioPerl package.
-
-@@ -865,4 +863,4 @@ PRES1 127 310 700
- "perldoc Bio::Graphics::Glyph::arrow."
-