summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2005-10-17 14:54:15 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2005-10-17 14:54:15 +0800
commit3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0 (patch)
tree64e65110994f4e28c9a6e6ae5d58b50c5a9376be /graphics
parent7384a925c62bf5ba6f3598d5ec36b0caf4b839c2 (diff)
downloadmarcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar
marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar.gz
marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar.bz2
marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar.lz
marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar.xz
marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.tar.zst
marcuscom-ports-3e8ec4d7db2e6af39c4b7ba6ec9d2d717db46db0.zip
- Add ruby-gtk2/ruby-gnome2 ports, update at 0.14.0. See detail:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?News_20051016_1 - Add two new ports, ruby-cairo (rcairo) and ruby-gtkmozembed. *ruby-cairo: Ruby/Cairo is a Ruby binding for Cairo. WWW: http://cairographics.org/ *ruby-gtkmozembed: Ruby/GtkMozEmbed is a Ruby binding of GtkMozEmbed a widget embedding a Mozilla Gecko renderer. WWW: http://ruby-gnome2.sourceforge.jp/ git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4954 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ruby-cairo/Makefile35
-rw-r--r--graphics/ruby-cairo/distinfo2
-rw-r--r--graphics/ruby-cairo/pkg-descr3
-rw-r--r--graphics/ruby-cairo/pkg-plist16
-rw-r--r--graphics/ruby-gdk_pixbuf2/Makefile44
-rw-r--r--graphics/ruby-gdk_pixbuf2/pkg-descr3
-rw-r--r--graphics/ruby-gdk_pixbuf2/pkg-plist22
-rw-r--r--graphics/ruby-gnomecanvas2/Makefile44
-rw-r--r--graphics/ruby-gnomecanvas2/files/patch-rbgnome-canvas-path-def.c12
-rw-r--r--graphics/ruby-gnomecanvas2/pkg-descr3
-rw-r--r--graphics/ruby-gnomecanvas2/pkg-plist17
-rw-r--r--graphics/ruby-libart2/Makefile44
-rw-r--r--graphics/ruby-libart2/pkg-descr3
-rw-r--r--graphics/ruby-libart2/pkg-plist10
-rw-r--r--graphics/ruby-rsvg2/Makefile43
-rw-r--r--graphics/ruby-rsvg2/pkg-descr3
-rw-r--r--graphics/ruby-rsvg2/pkg-plist8
17 files changed, 312 insertions, 0 deletions
diff --git a/graphics/ruby-cairo/Makefile b/graphics/ruby-cairo/Makefile
new file mode 100644
index 000000000..9ebeec8f4
--- /dev/null
+++ b/graphics/ruby-cairo/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: rcairo
+# Date created: 16 October 2005
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cairo
+PORTVERSION= 1.0.0
+CATEGORIES= graphics ruby
+MASTER_SITES= http://cairographics.org/releases/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= r${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= mezz@FreeBSD.org
+COMMENT= Ruby binding for Cairo
+
+LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
+
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+
+DOCS= AUTHORS COPYING ChangeLog GPL NEWS README
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/
+ @${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/ruby-cairo/distinfo b/graphics/ruby-cairo/distinfo
new file mode 100644
index 000000000..f9900d031
--- /dev/null
+++ b/graphics/ruby-cairo/distinfo
@@ -0,0 +1,2 @@
+MD5 (rcairo-1.0.0.tar.gz) = e6c6442b24155146ba986dc7774e45e3
+SIZE (rcairo-1.0.0.tar.gz) = 42088
diff --git a/graphics/ruby-cairo/pkg-descr b/graphics/ruby-cairo/pkg-descr
new file mode 100644
index 000000000..d8193052e
--- /dev/null
+++ b/graphics/ruby-cairo/pkg-descr
@@ -0,0 +1,3 @@
+Ruby/Cairo is a Ruby binding for Cairo.
+
+WWW: http://cairographics.org/
diff --git a/graphics/ruby-cairo/pkg-plist b/graphics/ruby-cairo/pkg-plist
new file mode 100644
index 000000000..142bf2ce1
--- /dev/null
+++ b/graphics/ruby-cairo/pkg-plist
@@ -0,0 +1,16 @@
+%%RUBY_SITEARCHLIBDIR%%/cairo.so
+%%RUBY_SITEARCHLIBDIR%%/rb_cairo.h
+%%RUBY_SITELIBDIR%%/cairo.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/pdf.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/pdf2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/png.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/ps.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/ps2.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/GPL
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/NEWS
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
diff --git a/graphics/ruby-gdk_pixbuf2/Makefile b/graphics/ruby-gdk_pixbuf2/Makefile
new file mode 100644
index 000000000..7939657f7
--- /dev/null
+++ b/graphics/ruby-gdk_pixbuf2/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: Ruby/GdkPixbuf2
+# Date created: 28 February 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD: ports/graphics/ruby-gdk_pixbuf2/Makefile,v 1.25 2005/08/01 08:52:03 mezz Exp $
+#
+
+PORTNAME= gdk_pixbuf2
+PORTVERSION= ${RUBY_GNOME_PORTVERSION}
+CATEGORIES= graphics ruby gnome
+MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
+MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${RUBY_GNOME_DISTNAME}
+DIST_SUBDIR= ruby
+
+MAINTAINER= mezz@FreeBSD.org
+COMMENT= Ruby binding for GdkPixbuf2
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
+
+USE_RUBY= yes
+USE_GNOME= gtk20
+USE_REINPLACE= yes
+USE_RUBY_EXTCONF= yes
+
+.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
+
+WRKSRC= ${RUBY_GNOME_WRKSRC}/gdkpixbuf
+INSTALL_TARGET= site-install
+
+DOCS= COPYING.LIB ChangeLog README
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
+ @${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/ruby-gdk_pixbuf2/pkg-descr b/graphics/ruby-gdk_pixbuf2/pkg-descr
new file mode 100644
index 000000000..f7cf77564
--- /dev/null
+++ b/graphics/ruby-gdk_pixbuf2/pkg-descr
@@ -0,0 +1,3 @@
+Ruby/GdkPixbuf2 is a Ruby binding for GdkPixbuf2.
+
+WWW: http://ruby-gnome2.sourceforge.jp/
diff --git a/graphics/ruby-gdk_pixbuf2/pkg-plist b/graphics/ruby-gdk_pixbuf2/pkg-plist
new file mode 100644
index 000000000..4715fc61b
--- /dev/null
+++ b/graphics/ruby-gdk_pixbuf2/pkg-plist
@@ -0,0 +1,22 @@
+%%RUBY_SITEARCHLIBDIR%%/gdk_pixbuf2.so
+%%RUBY_SITELIBDIR%%/gdk_pixbuf2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/anim.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/composite.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/flip.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/floppybuddy.gif
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/format.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-foot.png
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/inline.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/loader.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/pixdata.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rotate.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/save.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/scale.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/simpleanim.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/utils.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xpm.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
diff --git a/graphics/ruby-gnomecanvas2/Makefile b/graphics/ruby-gnomecanvas2/Makefile
new file mode 100644
index 000000000..57685b97e
--- /dev/null
+++ b/graphics/ruby-gnomecanvas2/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: Ruby/GnomeCanvas2
+# Date created: 24 November 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD: ports/graphics/ruby-gnomecanvas2/Makefile,v 1.17 2005/07/25 22:24:58 mezz Exp $
+#
+
+PORTNAME= gnomecanvas2
+PORTVERSION= ${RUBY_GNOME_PORTVERSION}
+CATEGORIES= graphics ruby gnome
+MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
+MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${RUBY_GNOME_DISTNAME}
+DIST_SUBDIR= ruby
+
+MAINTAINER= mezz@FreeBSD.org
+COMMENT= Ruby binding for GnomeCanvas2
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \
+ ${RUBY_SITEARCHLIBDIR}/libart2.so:${PORTSDIR}/graphics/ruby-libart2
+
+USE_RUBY= yes
+USE_GNOME= libgnomecanvas
+USE_RUBY_EXTCONF= yes
+
+.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
+
+WRKSRC= ${RUBY_GNOME_WRKSRC}/gnomecanvas
+INSTALL_TARGET= site-install
+
+DOCS= COPYING.LIB ChangeLog README
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
+ @${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/ruby-gnomecanvas2/files/patch-rbgnome-canvas-path-def.c b/graphics/ruby-gnomecanvas2/files/patch-rbgnome-canvas-path-def.c
new file mode 100644
index 000000000..8c8b81596
--- /dev/null
+++ b/graphics/ruby-gnomecanvas2/files/patch-rbgnome-canvas-path-def.c
@@ -0,0 +1,12 @@
+--- src/rbgnome-canvas-path-def.c.orig Sun Oct 16 20:51:48 2005
++++ src/rbgnome-canvas-path-def.c Sun Oct 16 20:53:08 2005
+@@ -72,7 +72,8 @@
+ if (NIL_P(obj)) {
+ path = gnome_canvas_path_def_new();
+ } else if (TYPE(obj) == T_FIXNUM) {
+- gint length = NUM2INT(obj);
++ gint length;
++ length = NUM2INT(obj);
+ if (length > 0) {
+ path = gnome_canvas_path_def_new_sized(length);
+ } else {
diff --git a/graphics/ruby-gnomecanvas2/pkg-descr b/graphics/ruby-gnomecanvas2/pkg-descr
new file mode 100644
index 000000000..d2cffb815
--- /dev/null
+++ b/graphics/ruby-gnomecanvas2/pkg-descr
@@ -0,0 +1,3 @@
+Ruby/GnomeCanvas2 is a Ruby binding for GnomeCanvas2.
+
+WWW: http://ruby-gnome2.sourceforge.jp/
diff --git a/graphics/ruby-gnomecanvas2/pkg-plist b/graphics/ruby-gnomecanvas2/pkg-plist
new file mode 100644
index 000000000..a90ac5b3e
--- /dev/null
+++ b/graphics/ruby-gnomecanvas2/pkg-plist
@@ -0,0 +1,17 @@
+%%RUBY_SITEARCHLIBDIR%%/gnomecanvas2.so
+%%RUBY_SITELIBDIR%%/gnomecanvas2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/README
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/canvas-arrowhead.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/canvas-curve.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/canvas-features.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/canvas-fifteen.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/canvas-primitives.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/canvas-rich-text.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/canvas.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/flower.png
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/toroid.png
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
diff --git a/graphics/ruby-libart2/Makefile b/graphics/ruby-libart2/Makefile
new file mode 100644
index 000000000..3b7822e92
--- /dev/null
+++ b/graphics/ruby-libart2/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: Ruby/libart2
+# Date created: 1 September 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD: ports/graphics/ruby-libart2/Makefile,v 1.9 2004/08/15 07:11:55 mezz Exp $
+#
+
+PORTNAME= libart2
+PORTVERSION= ${RUBY_GNOME_PORTVERSION}
+CATEGORIES= graphics ruby
+MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
+MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${RUBY_GNOME_DISTNAME}
+DIST_SUBDIR= ruby
+
+MAINTAINER= mezz@FreeBSD.org
+COMMENT= Ruby binding for Libart2
+
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
+ png.5:${PORTSDIR}/graphics/png
+
+USE_RUBY= yes
+USE_GNOME= libartlgpl2
+USE_RUBY_EXTCONF= yes
+
+.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
+
+WRKSRC= ${RUBY_GNOME_WRKSRC}/libart
+INSTALL_TARGET= site-install
+
+DOCS= COPYING.LIB ChangeLog README
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
+ @${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/ruby-libart2/pkg-descr b/graphics/ruby-libart2/pkg-descr
new file mode 100644
index 000000000..9644bdb37
--- /dev/null
+++ b/graphics/ruby-libart2/pkg-descr
@@ -0,0 +1,3 @@
+Ruby/Libart2 is a Ruby binding for Libart2.
+
+WWW: http://ruby-gnome2.sourceforge.jp/
diff --git a/graphics/ruby-libart2/pkg-plist b/graphics/ruby-libart2/pkg-plist
new file mode 100644
index 000000000..8c841dbc6
--- /dev/null
+++ b/graphics/ruby-libart2/pkg-plist
@@ -0,0 +1,10 @@
+%%RUBY_SITEARCHLIBDIR%%/libart2.so
+%%RUBY_SITEARCHLIBDIR%%/rbart.h
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-canvas.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rose.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testlibart2.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
diff --git a/graphics/ruby-rsvg2/Makefile b/graphics/ruby-rsvg2/Makefile
new file mode 100644
index 000000000..56e2adacb
--- /dev/null
+++ b/graphics/ruby-rsvg2/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: Ruby/RSVG
+# Date created: 15 November 2004
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD: ports/graphics/ruby-rsvg2/Makefile,v 1.2 2005/03/12 11:05:16 mezz Exp $
+#
+
+PORTNAME= rsvg2
+PORTVERSION= ${RUBY_GNOME_PORTVERSION}
+CATEGORIES= graphics ruby
+MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
+MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${RUBY_GNOME_DISTNAME}
+DIST_SUBDIR= ruby
+
+MAINTAINER= mezz@FreeBSD.org
+COMMENT= Ruby binding for librsvg2
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
+
+USE_RUBY= yes
+USE_GNOME= librsvg2
+USE_RUBY_EXTCONF= yes
+
+.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
+
+WRKSRC= ${RUBY_GNOME_WRKSRC}/rsvg
+INSTALL_TARGET= site-install
+
+DOCS= COPYING.LIB ChangeLog README
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
+ @${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/ruby-rsvg2/pkg-descr b/graphics/ruby-rsvg2/pkg-descr
new file mode 100644
index 000000000..c2b386104
--- /dev/null
+++ b/graphics/ruby-rsvg2/pkg-descr
@@ -0,0 +1,3 @@
+Ruby/RSVG is a Ruby binding of librsvg2.
+
+WWW: http://ruby-gnome2.sourceforge.jp/
diff --git a/graphics/ruby-rsvg2/pkg-plist b/graphics/ruby-rsvg2/pkg-plist
new file mode 100644
index 000000000..3ae7a1fb6
--- /dev/null
+++ b/graphics/ruby-rsvg2/pkg-plist
@@ -0,0 +1,8 @@
+%%RUBY_SITEARCHLIBDIR%%/rsvg2.so
+%%RUBY_SITELIBDIR%%/rsvg2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/svg2.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%