aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-12-15 07:28:01 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-12-15 07:28:01 +0000
commit9d1e2418fc70f1401e9867f2ec300f50a29df4d6 (patch)
tree04f9459c706c383d3b53f37140d0b53fc6add7e2
parent6d290d6ccb26531602c834e2c2429ba64cb49ab1 (diff)
downloadports-9d1e2418fc70f1401e9867f2ec300f50a29df4d6.tar.gz
ports-9d1e2418fc70f1401e9867f2ec300f50a29df4d6.zip
Notes
-rw-r--r--textproc/rubygem-spreadsheet/Makefile18
-rw-r--r--textproc/rubygem-spreadsheet/distinfo6
-rw-r--r--textproc/rubygem-spreadsheet/pkg-descr12
-rw-r--r--textproc/rubygem-spreadsheet/pkg-plist160
4 files changed, 23 insertions, 173 deletions
diff --git a/textproc/rubygem-spreadsheet/Makefile b/textproc/rubygem-spreadsheet/Makefile
index 0f4aef20598d..d1379773223f 100644
--- a/textproc/rubygem-spreadsheet/Makefile
+++ b/textproc/rubygem-spreadsheet/Makefile
@@ -5,16 +5,26 @@
# $FreeBSD$
#
-PORTNAME= spreadsheet-excel
-PORTVERSION= 0.3.5.1
+PORTNAME= spreadsheet
+PORTVERSION= 0.6.2
CATEGORIES= textproc rubygems
-MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
-MASTER_SITE_SUBDIR= spreadsheet
+MASTER_SITES= RF
MAINTAINER= ports@logvinov.com
COMMENT= A Ruby module to generate Microsoft Excel compatible files
+RUN_DEPENDS= rubygem-ruby-ole>=1.0.2:${PORTSDIR}/devel/rubygem-ruby-ole
+
USE_RUBY= yes
+USE_RUBY_FEATURES= iconv
USE_RUBYGEMS= yes
+post-install:
+ @${ECHO} ${GEM_CACHE} > ${TMPPLIST}
+ @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
+ @${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
+
.include <bsd.port.mk>
diff --git a/textproc/rubygem-spreadsheet/distinfo b/textproc/rubygem-spreadsheet/distinfo
index 521150a030d3..3270dcb6b617 100644
--- a/textproc/rubygem-spreadsheet/distinfo
+++ b/textproc/rubygem-spreadsheet/distinfo
@@ -1,3 +1,3 @@
-MD5 (rubygem/spreadsheet-excel-0.3.5.1.gem) = 70b41d61918481d839f0e888e11719ad
-SHA256 (rubygem/spreadsheet-excel-0.3.5.1.gem) = aa9cb7f3c9a74625d5c4ca52c33e4f2b9f7039c7a9264fd8c7b005ae17ce5115
-SIZE (rubygem/spreadsheet-excel-0.3.5.1.gem) = 24576
+MD5 (rubygem/spreadsheet-0.6.2.gem) = c776aea958228597b6aa818556233678
+SHA256 (rubygem/spreadsheet-0.6.2.gem) = 8ee7e65a06ff924bef8d2deb57f0e1531f58785e4ddf6dd67737e9340012f22e
+SIZE (rubygem/spreadsheet-0.6.2.gem) = 90112
diff --git a/textproc/rubygem-spreadsheet/pkg-descr b/textproc/rubygem-spreadsheet/pkg-descr
index 4e63e6f810be..a48111c3b8f0 100644
--- a/textproc/rubygem-spreadsheet/pkg-descr
+++ b/textproc/rubygem-spreadsheet/pkg-descr
@@ -1,7 +1,7 @@
-This is Spreadsheet/Excel for Ruby, a module that allows you to
-generate Microsoft Excel compatible files on any platform (also
-readable by Gnumeric). It's a port of John McNamara's
-Spreadsheet::WriteExcel Perl module.
+The Spreadsheet Library is designed to read and write Spreadsheet Documents.
+As of version 0.6.0, only Microsoft Excel compatible spreadsheets are
+supported. Spreadsheet is a combination/complete rewrite of the
+Spreadsheet::Excel Library by Daniel J. Berger and the ParseExcel Library by
+Hannes Wyss. Spreadsheet can read, write and modify Spreadsheet Documents.
-Author: Daniel J. Berger <djberg96@yahoo.com>
-WWW: http://rubyforge.org/projects/spreadsheet
+WWW: http://rubyforge.org/projects/spreadsheet
diff --git a/textproc/rubygem-spreadsheet/pkg-plist b/textproc/rubygem-spreadsheet/pkg-plist
deleted file mode 100644
index a87d2ecaa137..000000000000
--- a/textproc/rubygem-spreadsheet/pkg-plist
+++ /dev/null
@@ -1,160 +0,0 @@
-%%GEM_CACHE%%
-%%GEM_SPEC%%
-%%GEM_LIB_DIR%%/doc/format.txt
-%%GEM_LIB_DIR%%/doc/spreadsheet.txt
-%%GEM_LIB_DIR%%/lib/spreadsheet/biffwriter.rb
-%%GEM_LIB_DIR%%/lib/spreadsheet/excel.rb
-%%GEM_LIB_DIR%%/lib/spreadsheet/format.rb
-%%GEM_LIB_DIR%%/lib/spreadsheet/olewriter.rb
-%%GEM_LIB_DIR%%/lib/spreadsheet/workbook.rb
-%%GEM_LIB_DIR%%/lib/spreadsheet/worksheet.rb
-%%GEM_LIB_DIR%%/examples/example_basic.rb
-%%GEM_LIB_DIR%%/examples/example_format.rb
-%%GEM_LIB_DIR%%/test/tc_all.rb
-%%GEM_LIB_DIR%%/test/tc_biff.rb
-%%GEM_LIB_DIR%%/test/tc_excel.rb
-%%GEM_LIB_DIR%%/test/tc_format.rb
-%%GEM_LIB_DIR%%/test/tc_ole.rb
-%%GEM_LIB_DIR%%/test/tc_workbook.rb
-%%GEM_LIB_DIR%%/test/tc_worksheet.rb
-%%GEM_LIB_DIR%%/test/ts_all.rb
-%%GEM_LIB_DIR%%/test/perl_output/f_font_biff
-%%GEM_LIB_DIR%%/test/perl_output/README
-%%GEM_LIB_DIR%%/test/perl_output/f_font_key
-%%GEM_LIB_DIR%%/test/perl_output/f_xf_biff
-%%GEM_LIB_DIR%%/test/perl_output/ole_write_header
-%%GEM_LIB_DIR%%/test/perl_output/ws_colinfo
-%%GEM_LIB_DIR%%/test/perl_output/ws_store_dimensions
-%%GEM_LIB_DIR%%/test/perl_output/ws_store_selection
-%%GEM_LIB_DIR%%/test/perl_output/ws_store_window2
-%%GEM_LIB_DIR%%/README
-%%GEM_LIB_DIR%%/CHANGES
-%%GEM_DOC_DIR%%/rdoc/rdoc-style.css
-%%GEM_DOC_DIR%%/rdoc/files/lib/spreadsheet/biffwriter_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/spreadsheet/excel_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/spreadsheet/format_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/spreadsheet/olewriter_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/spreadsheet/workbook_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/lib/spreadsheet/worksheet_rb.html
-%%GEM_DOC_DIR%%/rdoc/files/README.html
-%%GEM_DOC_DIR%%/rdoc/files/CHANGES.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000001.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000002.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000003.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000004.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000005.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000006.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000007.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000008.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000009.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000010.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000011.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000012.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000013.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000014.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000015.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000016.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000017.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000018.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000019.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000020.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000021.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000022.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000023.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000024.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000025.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000026.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000027.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000028.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000029.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000030.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000031.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.src/M000032.html
-%%GEM_DOC_DIR%%/rdoc/classes/BIFFWriter.src/M000033.html
-%%GEM_DOC_DIR%%/rdoc/classes/BIFFWriter.src/M000034.html
-%%GEM_DOC_DIR%%/rdoc/classes/BIFFWriter.src/M000035.html
-%%GEM_DOC_DIR%%/rdoc/classes/BIFFWriter.src/M000036.html
-%%GEM_DOC_DIR%%/rdoc/classes/BIFFWriter.src/M000037.html
-%%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.src/M000038.html
-%%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.src/M000039.html
-%%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.src/M000040.html
-%%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.src/M000041.html
-%%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.src/M000042.html
-%%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.src/M000043.html
-%%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.src/M000044.html
-%%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.src/M000045.html
-%%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.src/M000046.html
-%%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.src/M000047.html
-%%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.src/M000048.html
-%%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.src/M000049.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000050.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000051.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000052.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000053.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000054.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000055.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000056.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000057.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000058.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000059.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000060.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000061.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000062.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000063.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000064.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000065.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000066.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000067.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000068.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000069.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000070.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000071.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src/M000072.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000073.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000074.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000075.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000076.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000077.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000078.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000079.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000080.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000081.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000082.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000083.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000084.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000085.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000087.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000088.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.src/M000089.html
-%%GEM_DOC_DIR%%/rdoc/classes/Format.html
-%%GEM_DOC_DIR%%/rdoc/classes/MaxSizeError.html
-%%GEM_DOC_DIR%%/rdoc/classes/BIFFWriter.html
-%%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.html
-%%GEM_DOC_DIR%%/rdoc/classes/Worksheet.html
-%%GEM_DOC_DIR%%/rdoc/classes/Workbook.html
-%%GEM_DOC_DIR%%/rdoc/classes/Spreadsheet.html
-%%GEM_DOC_DIR%%/rdoc/classes/Spreadsheet/Excel.html
-%%GEM_DOC_DIR%%/rdoc/fr_file_index.html
-%%GEM_DOC_DIR%%/rdoc/fr_class_index.html
-%%GEM_DOC_DIR%%/rdoc/fr_method_index.html
-%%GEM_DOC_DIR%%/rdoc/index.html
-%%GEM_DOC_DIR%%/rdoc/created.rid
-@dirrm %%GEM_LIB_DIR%%/test/perl_output
-@dirrm %%GEM_LIB_DIR%%/test
-@dirrm %%GEM_LIB_DIR%%/examples
-@dirrm %%GEM_LIB_DIR%%/lib/spreadsheet
-@dirrm %%GEM_LIB_DIR%%/lib
-@dirrm %%GEM_LIB_DIR%%/doc
-@dirrm %%GEM_LIB_DIR%%
-@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Spreadsheet
-@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Workbook.src
-@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Worksheet.src
-@dirrm %%GEM_DOC_DIR%%/rdoc/classes/OLEWriter.src
-@dirrm %%GEM_DOC_DIR%%/rdoc/classes/BIFFWriter.src
-@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Format.src
-@dirrm %%GEM_DOC_DIR%%/rdoc/classes
-@dirrm %%GEM_DOC_DIR%%/rdoc/files/lib/spreadsheet
-@dirrm %%GEM_DOC_DIR%%/rdoc/files/lib
-@dirrm %%GEM_DOC_DIR%%/rdoc/files
-@dirrm %%GEM_DOC_DIR%%/rdoc
-@dirrm %%GEM_DOC_DIR%%