aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-02-24 00:40:25 +0800
committerknu <knu@FreeBSD.org>2001-02-24 00:40:25 +0800
commit977b56c162941dd0116cff9f3071e9018fe6544c (patch)
treef1429907ef57bb30c6ca8ac298efdfe741957ae6 /textproc
parenta3b59cd511005f60a2dd607877cc12f205dd9af0 (diff)
downloadfreebsd-ports-gnome-977b56c162941dd0116cff9f3071e9018fe6544c.tar.gz
freebsd-ports-gnome-977b56c162941dd0116cff9f3071e9018fe6544c.tar.zst
freebsd-ports-gnome-977b56c162941dd0116cff9f3071e9018fe6544c.zip
Add ruby-csv, Ruby library to parse or generate data in CSV format.
Submitted by: Yarema <yds@dppl.com>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/ruby-csv/Makefile32
-rw-r--r--textproc/ruby-csv/distinfo1
-rw-r--r--textproc/ruby-csv/pkg-comment1
-rw-r--r--textproc/ruby-csv/pkg-descr4
-rw-r--r--textproc/ruby-csv/pkg-plist3
6 files changed, 42 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 9fb0be6dd040..a9b7289f05aa 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -119,6 +119,7 @@
SUBDIR += py-xml
SUBDIR += rand
SUBDIR += rman
+ SUBDIR += ruby-csv
SUBDIR += ruby-erb
SUBDIR += ruby-html-parser
SUBDIR += ruby-qt2xml
diff --git a/textproc/ruby-csv/Makefile b/textproc/ruby-csv/Makefile
new file mode 100644
index 000000000000..3f26dfc49b06
--- /dev/null
+++ b/textproc/ruby-csv/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: ruby-csv
+# Date created: 18 Feb 2001
+# Whom: Yarema <yds@dppl.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= csv
+PORTVERSION= 1.0.0
+CATEGORIES= textproc ruby
+MASTER_SITES= http://www.jin.gr.jp/~nahi/Ruby/CSV/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+MODULES= csv.rb
+
+do-install:
+.for f in ${MODULES}
+ ${INSTALL_DATA} ${WRKSRC}/lib/${f} ${RUBY_SITELIBDIR}
+.endfor
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_DOCDIR}/csv
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${RUBY_DOCDIR}/csv
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/ruby-csv/distinfo b/textproc/ruby-csv/distinfo
new file mode 100644
index 000000000000..7dc0a692160a
--- /dev/null
+++ b/textproc/ruby-csv/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/csv-1.0.0.tar.gz) = ed8700463207c63a37ae79396ff1e7fd
diff --git a/textproc/ruby-csv/pkg-comment b/textproc/ruby-csv/pkg-comment
new file mode 100644
index 000000000000..0fe6142d2333
--- /dev/null
+++ b/textproc/ruby-csv/pkg-comment
@@ -0,0 +1 @@
+Ruby library to parse or generate data in CSV format
diff --git a/textproc/ruby-csv/pkg-descr b/textproc/ruby-csv/pkg-descr
new file mode 100644
index 000000000000..eb17ec3c6ada
--- /dev/null
+++ b/textproc/ruby-csv/pkg-descr
@@ -0,0 +1,4 @@
+Ruby library to parse or generate data in CSV format.
+
+Author: NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
+WWW: http://www.jin.gr.jp/~nahi/Ruby/CSV/README.txt
diff --git a/textproc/ruby-csv/pkg-plist b/textproc/ruby-csv/pkg-plist
new file mode 100644
index 000000000000..0ac7fc9ab700
--- /dev/null
+++ b/textproc/ruby-csv/pkg-plist
@@ -0,0 +1,3 @@
+%%RUBY_SITELIBDIR%%/csv.rb
+%%PORTDOCS%%%%RUBY_DOCDIR%%/csv/README.txt
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/csv