aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-07-08 02:40:07 +0800
committerknu <knu@FreeBSD.org>2002-07-08 02:40:07 +0800
commita89401cf589e31a0f70ef2edaf696f9dd04253b0 (patch)
tree50171dd47d325d5f0e560f7d549ac3f1cbabedb7
parent46b76ebd9561ae699474076d58eac4142efd1ed2 (diff)
downloadfreebsd-ports-gnome-a89401cf589e31a0f70ef2edaf696f9dd04253b0.tar.gz
freebsd-ports-gnome-a89401cf589e31a0f70ef2edaf696f9dd04253b0.tar.zst
freebsd-ports-gnome-a89401cf589e31a0f70ef2edaf696f9dd04253b0.zip
Add ruby-svg, a Ruby library for generating SVG files.
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/ruby-svg/Makefile43
-rw-r--r--graphics/ruby-svg/distinfo1
-rw-r--r--graphics/ruby-svg/pkg-comment1
-rw-r--r--graphics/ruby-svg/pkg-descr4
-rw-r--r--graphics/ruby-svg/pkg-plist18
6 files changed, 68 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index bc64263abdd4..c3dae8aacda2 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -309,6 +309,7 @@
SUBDIR += ruby-opengl
SUBDIR += ruby-pgplot
SUBDIR += ruby-qt2gl
+ SUBDIR += ruby-svg
SUBDIR += ruby-tgif
SUBDIR += s10sh
SUBDIR += sane-backends
diff --git a/graphics/ruby-svg/Makefile b/graphics/ruby-svg/Makefile
new file mode 100644
index 000000000000..e81265f845a0
--- /dev/null
+++ b/graphics/ruby-svg/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: Ruby/SVG
+# Date created: 8 July 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= svg
+PORTVERSION= 1.0.0
+CATEGORIES= graphics ruby
+MASTER_SITES= http://downloads.sourceforge.jp/ruby-svg/509/
+MASTER_SITE_SUBDIR= knu
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/zlib.so:${PORTSDIR}/archivers/ruby-zlib
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+DOCS_EN= doc/README.en.rd
+DOCS_JA= doc/README.ja.rd
+
+do-install:
+ ${MKDIR} ${RUBY_SITELIBDIR}/svg
+ ${INSTALL_DATA} ${WRKSRC}/lib/svg/*.rb ${RUBY_SITELIBDIR}/svg/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/ruby-svg/distinfo b/graphics/ruby-svg/distinfo
new file mode 100644
index 000000000000..ac283ca404a9
--- /dev/null
+++ b/graphics/ruby-svg/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-svg-1.0.0.tar.gz) = 432e5fd2b9d5a47d82b221becb055a87
diff --git a/graphics/ruby-svg/pkg-comment b/graphics/ruby-svg/pkg-comment
new file mode 100644
index 000000000000..b7e0cc26162f
--- /dev/null
+++ b/graphics/ruby-svg/pkg-comment
@@ -0,0 +1 @@
+A Ruby library for generating SVG files
diff --git a/graphics/ruby-svg/pkg-descr b/graphics/ruby-svg/pkg-descr
new file mode 100644
index 000000000000..484824455ec6
--- /dev/null
+++ b/graphics/ruby-svg/pkg-descr
@@ -0,0 +1,4 @@
+This is a Ruby library for generating SVG files.
+
+Author: Yuya <yuya@4th.to>
+WWW: http://sourceforge.jp/projects/ruby-svg/
diff --git a/graphics/ruby-svg/pkg-plist b/graphics/ruby-svg/pkg-plist
new file mode 100644
index 000000000000..4fd5d6362631
--- /dev/null
+++ b/graphics/ruby-svg/pkg-plist
@@ -0,0 +1,18 @@
+%%RUBY_SITELIBDIR%%/svg/core.rb
+%%RUBY_SITELIBDIR%%/svg/element.rb
+%%RUBY_SITELIBDIR%%/svg/misc.rb
+%%RUBY_SITELIBDIR%%/svg/style.rb
+%%RUBY_SITELIBDIR%%/svg/svg.rb
+@dirrm %%RUBY_SITELIBDIR%%/svg
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/svg/sample1.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/svg/sample2.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/svg/sample3.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/svg/sample4.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/svg/sample5.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/svg/sample6.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/svg/sample7.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/svg
+%%PORTDOCS%%%%RUBY_DOCDIR%%/svg/README.en.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/svg/ja/README.ja.rd
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/svg/ja
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/svg