aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ruby-rsvg2
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2004-11-16 03:50:50 +0800
committermezz <mezz@FreeBSD.org>2004-11-16 03:50:50 +0800
commit6ad38abee9b22103475623e4de774a5ae9e1bbe3 (patch)
treeed722f834f1fb6a673f8dc200b14bf240504bbb9 /graphics/ruby-rsvg2
parent109c9159c303d24b381593f1a448be9645aa564d (diff)
downloadfreebsd-ports-gnome-6ad38abee9b22103475623e4de774a5ae9e1bbe3.tar.gz
freebsd-ports-gnome-6ad38abee9b22103475623e4de774a5ae9e1bbe3.tar.zst
freebsd-ports-gnome-6ad38abee9b22103475623e4de774a5ae9e1bbe3.zip
Ruby/RSVG is a Ruby binding of librsvg2.
WWW: http://ruby-gnome2.sourceforge.jp/
Diffstat (limited to 'graphics/ruby-rsvg2')
-rw-r--r--graphics/ruby-rsvg2/Makefile43
-rw-r--r--graphics/ruby-rsvg2/pkg-descr3
-rw-r--r--graphics/ruby-rsvg2/pkg-plist8
3 files changed, 54 insertions, 0 deletions
diff --git a/graphics/ruby-rsvg2/Makefile b/graphics/ruby-rsvg2/Makefile
new file mode 100644
index 000000000000..e5bbcbc27dfa
--- /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$
+#
+
+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}/gdk_pixbuf2.so:${PORTSDIR}/graphics/ruby-gdk_pixbuf2
+
+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 000000000000..c2b386104ab5
--- /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 000000000000..3ae7a1fb6607
--- /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%%