aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/rubygem-spreadsheet-excel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-01-02 04:02:42 +0800
committerknu <knu@FreeBSD.org>2003-01-02 04:02:42 +0800
commit10a1abd9c7e26684a695b43ce65da8eccbd52181 (patch)
treec4aa4267fcb5724b3ef6494b4bdf261eb98cc14b /textproc/rubygem-spreadsheet-excel
parentf5bddd456ca6b8ad83b19bf366a333f32f84670a (diff)
downloadfreebsd-ports-gnome-10a1abd9c7e26684a695b43ce65da8eccbd52181.tar.gz
freebsd-ports-gnome-10a1abd9c7e26684a695b43ce65da8eccbd52181.tar.zst
freebsd-ports-gnome-10a1abd9c7e26684a695b43ce65da8eccbd52181.zip
Add ruby-spreadsheet-excel, a Ruby module to generate Microsoft Excel
compatible files.
Diffstat (limited to 'textproc/rubygem-spreadsheet-excel')
-rw-r--r--textproc/rubygem-spreadsheet-excel/Makefile42
-rw-r--r--textproc/rubygem-spreadsheet-excel/distinfo1
-rw-r--r--textproc/rubygem-spreadsheet-excel/pkg-comment1
-rw-r--r--textproc/rubygem-spreadsheet-excel/pkg-descr7
-rw-r--r--textproc/rubygem-spreadsheet-excel/pkg-plist14
5 files changed, 65 insertions, 0 deletions
diff --git a/textproc/rubygem-spreadsheet-excel/Makefile b/textproc/rubygem-spreadsheet-excel/Makefile
new file mode 100644
index 000000000000..a0299e26e822
--- /dev/null
+++ b/textproc/rubygem-spreadsheet-excel/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: Spreadsheet/Excel for Ruby
+# Date created: 8 December 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= spreadsheet-excel
+PORTVERSION= 0.2.2
+CATEGORIES= textproc ruby
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= rubyspreadsheet
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= spreadsheet-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+INSTALL_TARGET= site-install
+
+DOCS= CHANGES doc/*
+EXAMPLES= test.rb
+
+do-install:
+ ${MKDIR} ${RUBY_SITELIBDIR}/spreadsheet
+ ${INSTALL_DATA} ${WRKSRC}/spreadsheet/*.rb ${RUBY_SITELIBDIR}/spreadsheet/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
+.endfor
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-spreadsheet-excel/distinfo b/textproc/rubygem-spreadsheet-excel/distinfo
new file mode 100644
index 000000000000..6a0b1319a552
--- /dev/null
+++ b/textproc/rubygem-spreadsheet-excel/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/spreadsheet-0.2.2.tar.gz) = 48766fb6142082262445c040f9135407
diff --git a/textproc/rubygem-spreadsheet-excel/pkg-comment b/textproc/rubygem-spreadsheet-excel/pkg-comment
new file mode 100644
index 000000000000..8f5f76121878
--- /dev/null
+++ b/textproc/rubygem-spreadsheet-excel/pkg-comment
@@ -0,0 +1 @@
+A Ruby module to generate Microsoft Excel compatible files
diff --git a/textproc/rubygem-spreadsheet-excel/pkg-descr b/textproc/rubygem-spreadsheet-excel/pkg-descr
new file mode 100644
index 000000000000..3db2e2c34623
--- /dev/null
+++ b/textproc/rubygem-spreadsheet-excel/pkg-descr
@@ -0,0 +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.
+
+Author: Daniel J. Berger <djberg96@yahoo.com>
+WWW: http://rubyspreadsheet.sourceforge.net/
diff --git a/textproc/rubygem-spreadsheet-excel/pkg-plist b/textproc/rubygem-spreadsheet-excel/pkg-plist
new file mode 100644
index 000000000000..a92b9346a3f5
--- /dev/null
+++ b/textproc/rubygem-spreadsheet-excel/pkg-plist
@@ -0,0 +1,14 @@
+%%RUBY_SITELIBDIR%%/spreadsheet/format.rb
+%%RUBY_SITELIBDIR%%/spreadsheet/olewriter.rb
+%%RUBY_SITELIBDIR%%/spreadsheet/biffwriter.rb
+%%RUBY_SITELIBDIR%%/spreadsheet/workbook.rb
+%%RUBY_SITELIBDIR%%/spreadsheet/worksheet.rb
+%%RUBY_SITELIBDIR%%/spreadsheet/excel.rb
+@dirrm %%RUBY_SITELIBDIR%%/spreadsheet
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGES
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/format.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/spreadsheet.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/spreadsheet.txt
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%